Click or drag to resize

MethodDefinition Methods

The MethodDefinition type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBaseMethod
Public methodGetElementMethod (Inherited from MethodReference.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOriginalBaseMethod
Public methodGetSemantics
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodResolve (Overrides MethodReferenceResolve.)
Public methodSetSemantics
Public methodToString (Inherited from MemberReference.)
Top
Extension Methods
  NameDescription
Public Extension MethodFindBaseMethod
Find the base virtual method for this method if it's an override.
(Defined by MethodDefinitionUtil.)
Public Extension MethodFindTypeArgument
Find the type argument for the specified type parameter.
(Defined by MethodDefinitionUtil.)
Public Extension MethodFindTypeParameterIndex
Find the index of the specified type parameter.
(Defined by MethodDefinitionUtil.)
Public Extension MethodGetCategory
Get the category name (field, method, etc).
(Defined by MemberReferenceUtil.)
Public Extension MethodGetCustomAttribute
Get the custom attribute with the specified name from the ICustomAttributeProvider. If there are multiple attributes with the name, the first one is returned.
(Defined by ICustomAttributeProviderUtil.)
Public Extension MethodGetCustomAttributes
Get all custom attributes with the specified name from the ICustomAttributeProvider.
(Defined by ICustomAttributeProviderUtil.)
Public Extension MethodGetFullName
Get the full name of the type or member, including the namespace name.
(Defined by MemberReferenceUtil.)
Public Extension MethodGetParameter
Find the parameter with the specified name.
(Defined by MethodDefinitionUtil.)
Public Extension MethodGetTypeParameter
Get the type parameter at the specified index.
(Defined by MethodDefinitionUtil.)
Public Extension MethodHasCustomAttribute
Determine if the ICustomAttributeProvider has a custom attribute.
(Defined by ICustomAttributeProviderUtil.)
Public Extension MethodHasDynamicType
Determine if the member has a dynamic type.
(Defined by ICustomAttributeProviderUtil.)
Public Extension MethodIsComImport
True if the method is a COM Import.
(Defined by MethodDefinitionUtil.)
Public Extension MethodIsExtensionMethod
Check if the method is an extension method.
(Defined by MethodDefinitionUtil.)
Public Extension MethodIsOverride
Check if the method is an override.
(Defined by MethodDefinitionUtil.)
Top
See Also