Click or drag to resize

MethodDefinition Class

Inheritance Hierarchy

Namespace:  Mono.Cecil
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public sealed class MethodDefinition : MethodReference, 
	IMemberDefinition, ICustomAttributeProvider, IMetadataTokenProvider, ISecurityDeclarationProvider

The MethodDefinition type exposes the following members.

Constructors
  NameDescription
Public methodMethodDefinition
Initializes a new instance of the MethodDefinition class
Top
Properties
  NameDescription
Public propertyAttributes
Public propertyBody
Public propertyCallingConvention (Inherited from MethodReference.)
Public propertyCustomAttributes
Public propertyDeclaringType
Public propertyExplicitThis (Inherited from MethodReference.)
Public propertyFullName (Inherited from MethodReference.)
Public propertyGenericParameters (Overrides MethodReferenceGenericParameters.)
Public propertyHasBody
Public propertyHasCustomAttributes
Public propertyHasGenericParameters (Overrides MethodReferenceHasGenericParameters.)
Public propertyHasOverrides
Public propertyHasParameters (Inherited from MethodReference.)
Public propertyHasPInvokeInfo
Public propertyHasSecurity
Public propertyHasSecurityDeclarations
Public propertyHasThis (Inherited from MethodReference.)
Public propertyImplAttributes
Public propertyIsAbstract
Public propertyIsAddOn
Public propertyIsAssembly
Public propertyIsCheckAccessOnOverride
Public propertyIsCompilerControlled
Public propertyIsConstructor
Public propertyIsDefinition (Overrides MemberReferenceIsDefinition.)
Public propertyIsFamily
Public propertyIsFamilyAndAssembly
Public propertyIsFamilyOrAssembly
Public propertyIsFinal
Public propertyIsFire
Public propertyIsForwardRef
Public propertyIsGenericInstance (Inherited from MethodReference.)
Public propertyIsGetter
Public propertyIsHideBySig
Public propertyIsIL
Public propertyIsInternalCall
Public propertyIsManaged
Public propertyIsNative
Public propertyIsNewSlot
Public propertyIsOther
Public propertyIsPInvokeImpl
Public propertyIsPreserveSig
Public propertyIsPrivate
Public propertyIsPublic
Public propertyIsRemoveOn
Public propertyIsReuseSlot
Public propertyIsRuntime
Public propertyIsRuntimeSpecialName
Public propertyIsSetter
Public propertyIsSpecialName
Public propertyIsStatic
Public propertyIsSynchronized
Public propertyIsUnmanaged
Public propertyIsUnmanagedExport
Public propertyIsVirtual
Public propertyMetadataToken (Inherited from MemberReference.)
Public propertyMethodReturnType (Inherited from MethodReference.)
Public propertyModule (Inherited from MemberReference.)
Public propertyName (Inherited from MemberReference.)
Public propertyNoInlining
Public propertyNoOptimization
Public propertyOverrides
Public propertyParameters (Inherited from MethodReference.)
Public propertyPInvokeInfo
Public propertyReturnType (Inherited from MethodReference.)
Public propertyRVA
Public propertySecurityDeclarations
Public propertySemanticsAttributes
Top
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