PostSharp6.5//API Reference/Post­Sharp.​Reflection Namespace/Method­Usage­Code­Reference Class/Method­Usage­Code­Reference Properties/Method­Usage­Code­Reference.​Used­Type Property

MethodUsageCodeReference.UsedType Property

Gets the Type used by the method. If the current object represents a reference to a MethodInfo or ConstructorInfo, this property returns the declaring type of the method or constructor.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: (
public Type UsedType { get; }

Property Value

Type: Type
See Also