IMethodDefinition Interface

Discovers the attributes of a method and provides access to method metadata

Namespace: JustDecompile.API.Core
Assembly: JustDecompile.API (in JustDecompile.API.dll) Version: 1.0.0.3 (1.0.0.0)

Syntax

C#
public interface IMethodDefinition : IMemberDefinition, 
    IMethodReference, IGenericParameterProvider, IMetadataTokenProvider, IMethodSignature, IVisibilityDefinition

TheIMethodDefinitiontype exposes the following members.

Properties

Name Description
Public property Attributes Gets the attributes of the method.
Public property Body Gets the body of the method.
Public property CallingConvention Gets the calling convention of the method. (Inherited from IMethodSignature.)
Public property CustomAttributes Gets the custom attributes of the method.
Public property DeclaringType Gets the type that contains this method.
Public property ExplicitThis (Inherited from IMethodSignature .)
Public property FullName Gets the full name of the method. (Inherited from IMethodReference.)
Public property GenericParameters Gets the generic parameters of the member. (Inherited from IGenericParameterProvider.)
Public property GenericParameterType Gets a value indicating the type of the generic parameter provider. (Inherited from IGenericParameterProvider.)
Public property HasBody Gets a value indicating whether the method has a body.
Public property HasCustomAttributes Gets a value indicating whether the method has custom attributes.
Public property HasGenericParameters Gets a value indicating whether the member has generic parameters. (Inherited from IGenericParameterProvider.)
Public property HasOverrides Gets a value indicating whether the method overrides an inherited method, or implements an interface method.
Public property HasParameters Gets a value indicating whether the method has parameters. (Inherited from IMethodSignature.)
Public property HasSecurity
Public property HasSecurityDeclarations Gets a value indicating whether the method has security declarations.
Public property HasThis Gets a value indicating whether the method is an instance method. (Inherited from IMethodSignature.)
Public property ImplAttributes Gets the implementation attributes of the method.
Public property IsAbstract Gets a value indicating whether the method is abstarct and must be implemented.
Public property IsAddOn Gets a value indicating whether the method is AddOn method of an event.
Public property IsAssembly Gets a value indicating whether the member is visible only to the types in the current assembly. (Inherited from IVisibilityDefinition.)
Public property IsCheckAccessOnOverride
Public property IsCompilerControlled
Public property IsConstructor Gets a value indicating whether the method is a constructor.
Public property IsDefinition Gets a value indicating whether this object is a definition of a member. (Inherited from IGenericParameterProvider.)
Public property IsFamily Gets a value indicating whether the member is visible only to its owner and to the descendents of its owner. (Inherited from IVisibilityDefinition.)
Public property IsFamilyAndAssembly Gets a value indicating whether the member is visible only to its owner and to the descendents of its owner,
that are defined in the current assembly. (Inherited from IVisibilityDefinition.)
Public property IsFamilyOrAssembly Gets a value indicating whether the member is visible only to its owner and to the descendants of its owner or
to the types in the current assembly. (Inherited from IVisibilityDefinition.)
Public property IsFinal Gets a value indicating whether the method is final and cannot be overrided.
Public property IsFire Gets a value indicating whether the method is fire method of an event.
Public property IsForwardRef
Public property IsGenericInstance Gets a value indicating whether the method is a generic instance method. (Inherited from IMethodReference.)
Public property IsGetter Gets a value indicating whether the method is getter of a property.
Public property IsHideBySig Gets a value indicating whether the method hides all methods of the parent classes that have a matching signature and name.
Public property IsInternalCall
Public property IsManaged Gets a value indicating whether the implementation of the method is managed.
Public property IsNative
Public property IsNewSlot Gets a value indicating whether the method gets a new slot in the v-table.
Public property IsOther Gets a value indicating whether the method is other method of a property or an event.
Public property IsPInvokeImpl
Public property IsPreserveSig
Public property IsPrivate Gets a value indicating whether the member is visible only to its owner and to its owner's nested types. (Inherited from IVisibilityDefinition.)
Public property IsPublic Gets a value indicating whether the member is visible to any type. (Inherited from IVisibilityDefinition.)
Public property IsRemoveOn Gets a value indicating whether the method is RemoveOn method of an event.
Public property IsReuseSlot Gets a value indicating whether the method reuses existing slot in the v-table.
Public property IsRuntime Gets a value indicating whether the implementation of the method is provided by the runtime.
Public property IsRuntimeSpecialName Gets a value indicating whether the name of the member is special for the runtime. (Inherited from IMemberDefinition.)
Public property IsSetter Gets a value indicating whether the method is setter of a property.
Public property IsSpecialName Gets a value indicating whether the member has a special name. (Inherited from IMemberDefinition.)
Public property IsStatic Gets a value indicating whether the method is static.
Public property IsSynchronized
Public property IsUnmanaged Gets a value indicating whether the implementation of the method is unmanaged.
Public property IsUnmanagedExport Gets a value indicating whether the method is unmanaged export.
Public property IsVirtual Gets a value indicating whether the method is virtual and can be overrided.
Public property MetadataToken Gets the IMetadataToken of the IMetadataTokenProvider. (Inherited from IMetadataTokenProvider.)
Public property MethodReturnType Gets information about the method's return type. (Inherited from IMethodSignature.)
Public property Module Gets the module in which the member resides. (Inherited from IGenericParameterProvider.)
Public property NoInlining Gets a value indicating whether the JIT should skip inlining this method.
Public property NoOptimization Gets a value indicating whether the JIT should skip optimizing this method.
Public property Overrides Gets the methods that this method overrides.
Public property Parameters Gets the parameters of the method. (Inherited from IMethodSignature.)
Public property ReturnType Gets the return type of the method. (Inherited from IMethodSignature.)
Public property RVA Gets the RVA (relative virtual address) of the method.
Public property SecurityDeclarations Gets the security declarations of the method.
Public property SemanticsAttributes Gets the semantics of the method.

Methods

Name Description
Public method Resolve Resolves the definition of the method. (Inherited from IMethodReference.)

See Also

JustDecompile.API.Core Namespace

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy