PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Reflection Namespace / Reflection­Search Class / Reflection­Search Methods / Reflection­Search.​Get­Declarations­Used­By­Method Method

ReflectionSearch.GetDeclarationsUsedByMethod Method

Overload List
  NameDescription
Public methodStatic memberGetDeclarationsUsedByMethod(MethodBase)
Gets all declarations (Type, FieldInfo, MethodInfo or ConstructorInfo) used by the body of a given method or constructor.
Public methodStatic memberGetDeclarationsUsedByMethod(MethodBase, ReflectionSearchOptions)
Gets all declarations (Type, FieldInfo, MethodInfo or ConstructorInfo) used by the body of a given method or constructor and specifies additional options.
See Also