MethodSpecDeclaration Methods |
The MethodSpecDeclaration type exposes the following members.
Name | Description | |
---|---|---|
ClearCache |
Clear the cache (typically mapping to System.Reflection or,
if the current element is a reference, to the related definition)
of the current Element and all its children.
(Inherited from Element.) | |
ContainsGenericArguments | ||
Dispose | Obsolete. (Inherited from MetadataDeclaration.) | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Equals(IMethod) | Indicates whether the current object is equal to another object of the same type. | |
Equals(IMethodSignature) | Indicates whether the current object is equal to another object of the same type. | |
GetGenericContext |
Gets the generic context inside the scope of the generic instance.
| |
GetGenericMethod | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMethodDefinition() |
Finds in the current domain the MethodDefDeclaration corresponding
to the current method with default BindingOptions.
| |
GetMethodDefinition(BindingOptions) |
Finds in the current domain the MethodDefDeclaration corresponding
to the current method and specifies BindingOptions.
| |
GetParameterType |
Gets the type of a parameter given its position.
| |
GetSystemMethod(Type[], Type[]) |
Gets the system runtime method corresponding to the current method.
| |
GetSystemMethod(Type[], Type[], BindingOptions) |
Gets the system runtime method corresponding to the current method.
| |
GetTag<T> |
Gets a tag associated with the current declaration.
(Inherited from MetadataDeclaration.) | |
GetTokenType |
Gets the TokenType of the derived declaration.
(Overrides MetadataDeclaration.GetTokenType().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ReferencesAnyGenericArgument |
Determines whether generic arguments are used in the current signature.
| |
SetTag<T> |
Set a tag to the current declaration.
(Inherited from MetadataDeclaration.) | |
ToString | (Inherited from MetadataDeclaration.) | |
Translate | ||
TranslateMethodSignature |
Translates the current method signature so that it is meaningful in another
module than the one to which it primarily belong.
| |
WriteReflectionName(StringBuilder, ReflectionNameOptions) |
Writes the name of the current declaration to a StringBuilder.
| |
WriteReflectionName(StringBuilder, ReflectionNameOptions, NameMapper) |
Writes the name of the current declaration to a StringBuilder and
specifies a NameMapper.
|
Name | Description | |
---|---|---|
DefinitionMatchesReference(IMethod, BindingOptions) | Overloaded. (Defined by CompareExtensions.) | |
DefinitionMatchesReference(IMethodSignature, BindingOptions) | Overloaded. (Defined by CompareExtensions.) | |
FindOverride | (Defined by MethodExtensions.) | |
GetCallOpCode | (Defined by MethodExtensions.) | |
GetDisplayName |
Gets the name of a given declaration as it should be displayed to the user.
(Defined by WriteReflectionNameExtensions.) | |
GetReflectionName() | Overloaded.
Gets the name of a given declaration and returns a string that is compatible with the result of the ToString
method of system reflection objects.
(Defined by WriteReflectionNameExtensions.) | |
GetReflectionName(ReflectionNameOptions) | Overloaded.
Gets the name of a given declaration and returns a string that is compatible with the result of the ToString
method of system reflection objects.
(Defined by WriteReflectionNameExtensions.) | |
GetReflectionName(ReflectionNameOptions, NameMapper) | Overloaded.
Gets the name of a given declaration, constructed using given options.
(Defined by WriteReflectionNameExtensions.) | |
IsExternallyVisible |
Determines whether a member is visible outside its assembly.
(Defined by VisibilityHelper.) | |
IsPublic |
Determines whether a member is visible outside its assembly.
(Defined by VisibilityHelper.) | |
IsVisible |
Determines whether a member is visible from a given scope.
(Defined by VisibilityHelper.) |