ReflectionSearch.GetMethodsUsingDeclaration Method (MemberInfo) |
Gets the set of methods and constructors whose body references a given (Type,
FieldInfo, MethodInfo or ConstructorInfo).
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 6.6.14.0 (6.6.14.0)

C#
public static MethodUsageCodeReference[] GetMethodsUsingDeclaration( MemberInfo declaration )
Parameters
- declaration
- Type: System.Reflection.MemberInfo
The Type, FieldInfo, MethodInfo or ConstructorInfo whose references are requested.
Return Value
Type: MethodUsageCodeReference[]An array of MethodUsageCodeReference containing one item for each method or constructor whose body references declaration.

![]() |
---|
This feature is available only at build time. |
