GetMethodsUsingDeclaration(MemberInfo)
In Metalama, the feature is not exposed on the code model, but it is a part of the validation feature thanks to the
Metalama.Extensions.Validation.ReferenceValidationQueryExtensions.ValidateInboundReferences method.
Declaration
public static MethodUsageCodeReference[] GetMethodsUsingDeclaration(MemberInfo declaration)Parameters
| Type | Name | Description |
|---|---|---|
| MemberInfo | declaration |
Returns
| Type | Description |
|---|---|
| MethodUsageCodeReference[] |
See Also
GetMethodsUsingDeclaration(MemberInfo, ReflectionSearchOptions)
In Metalama, the feature is not exposed on the code model, but it is a part of the validation feature thanks to the
Metalama.Extensions.Validation.ReferenceValidationQueryExtensions.ValidateInboundReferences method.
Declaration
public static MethodUsageCodeReference[] GetMethodsUsingDeclaration(MemberInfo declaration, ReflectionSearchOptions options)Parameters
| Type | Name | Description |
|---|---|---|
| MemberInfo | declaration | |
| ReflectionSearchOptions | options |
Returns
| Type | Description |
|---|---|
| MethodUsageCodeReference[] |