PostSharp / / API Reference / Post­Sharp.​Reflection / Reflection­Search / Get­Declarations­Used­By­Method

Method GetDeclarationsUsedByMethod

GetDeclarationsUsedByMethod(MethodBase)

Declaration
public static MethodUsageCodeReference[] GetDeclarationsUsedByMethod(MethodBase method)
Parameters
Type Name Description
MethodBase method
Returns
Type Description
MethodUsageCodeReference[]

GetDeclarationsUsedByMethod(MethodBase, ReflectionSearchOptions)

Declaration
public static MethodUsageCodeReference[] GetDeclarationsUsedByMethod(MethodBase method, ReflectionSearchOptions options)
Parameters
Type Name Description
MethodBase method
ReflectionSearchOptions options
Returns
Type Description
MethodUsageCodeReference[]