PostSharp4.3//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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public Type UsedType { get; }

Property Value

Type: Type
See Also