Header menu logo fantomas

ILMethodDef Type

IL Method definitions.

Constructors

Constructor Description

ILMethodDef(name, attributes, implAttributes, callingConv, parameters, ret, body, isEntryPoint, genericParams, securityDecls, customAttrs)

Full Usage: ILMethodDef(name, attributes, implAttributes, callingConv, parameters, ret, body, isEntryPoint, genericParams, securityDecls, customAttrs)

Parameters:
Returns: ILMethodDef

Functional creation of a value, immediate

name : string
attributes : MethodAttributes
implAttributes : MethodImplAttributes
callingConv : ILCallingConv
parameters : ILParameters
ret : ILReturn
body : InterruptibleLazy<MethodBody>
isEntryPoint : bool
genericParams : ILGenericParameterDefs
securityDecls : ILSecurityDecls
customAttrs : ILAttributes
Returns: ILMethodDef

ILMethodDef(name, attributes, implAttributes, callingConv, parameters, ret, body, isEntryPoint, genericParams, securityDeclsStored, customAttrsStored, metadataIndex)

Full Usage: ILMethodDef(name, attributes, implAttributes, callingConv, parameters, ret, body, isEntryPoint, genericParams, securityDeclsStored, customAttrsStored, metadataIndex)

Parameters:
Returns: ILMethodDef

Functional creation of a value, with delayed reading of some elements via a metadata index

name : string
attributes : MethodAttributes
implAttributes : MethodImplAttributes
callingConv : ILCallingConv
parameters : ILParameters
ret : ILReturn
body : InterruptibleLazy<MethodBody>
isEntryPoint : bool
genericParams : ILGenericParameterDefs
securityDeclsStored : ILSecurityDeclsStored
customAttrsStored : ILAttributesStored
metadataIndex : int32
Returns: ILMethodDef

Instance members

Instance member Description

this.Access

Full Usage: this.Access

Returns: ILMemberAccess
Returns: ILMemberAccess

this.Attributes

Full Usage: this.Attributes

Returns: MethodAttributes

this.Body

Full Usage: this.Body

Returns: MethodBody
Returns: MethodBody

this.CallingConv

Full Usage: this.CallingConv

Returns: ILCallingConv
Returns: ILCallingConv

this.Code

Full Usage: this.Code

Returns: ILCode option
Returns: ILCode option

this.CustomAttrs

Full Usage: this.CustomAttrs

Returns: ILAttributes
Returns: ILAttributes

this.GenericParams

Full Usage: this.GenericParams

Returns: ILGenericParameterDefs

this.GetCallingSignature

Full Usage: this.GetCallingSignature

Returns: ILCallingSignature

this.HasSecurity

Full Usage: this.HasSecurity

Returns: bool

Some methods are marked "HasSecurity" even if there are no permissions attached, e.g. if they use SuppressUnmanagedCodeSecurityAttribute

Returns: bool

this.ImplAttributes

Full Usage: this.ImplAttributes

Returns: MethodImplAttributes

this.IsAbstract

Full Usage: this.IsAbstract

Returns: bool
Returns: bool

this.IsAggressiveInline

Full Usage: this.IsAggressiveInline

Returns: bool
Returns: bool

this.IsCheckAccessOnOverride

Full Usage: this.IsCheckAccessOnOverride

Returns: bool
Returns: bool

this.IsClassInitializer

Full Usage: this.IsClassInitializer

Returns: bool

Indicates a .cctor method.

Returns: bool

this.IsConstructor

Full Usage: this.IsConstructor

Returns: bool

Indicates a .ctor method.

Returns: bool

this.IsEntryPoint

Full Usage: this.IsEntryPoint

Returns: bool
Returns: bool

this.IsFinal

Full Usage: this.IsFinal

Returns: bool
Returns: bool

this.IsForwardRef

Full Usage: this.IsForwardRef

Returns: bool
Returns: bool

this.IsHideBySig

Full Usage: this.IsHideBySig

Returns: bool
Returns: bool

this.IsIL

Full Usage: this.IsIL

Returns: bool
Returns: bool

this.IsInternalCall

Full Usage: this.IsInternalCall

Returns: bool
Returns: bool

this.IsManaged

Full Usage: this.IsManaged

Returns: bool
Returns: bool

this.IsMustRun

Full Usage: this.IsMustRun

Returns: bool

SafeHandle finalizer must be run.

Returns: bool

this.IsNewSlot

Full Usage: this.IsNewSlot

Returns: bool
Returns: bool

this.IsNoInline

Full Usage: this.IsNoInline

Returns: bool
Returns: bool

this.IsNonVirtualInstance

Full Usage: this.IsNonVirtualInstance

Returns: bool

Indicates this is an instance methods that is not virtual.

Returns: bool

this.IsPreserveSig

Full Usage: this.IsPreserveSig

Returns: bool
Returns: bool

this.IsReqSecObj

Full Usage: this.IsReqSecObj

Returns: bool
Returns: bool

this.IsSpecialName

Full Usage: this.IsSpecialName

Returns: bool
Returns: bool

this.IsStatic

Full Usage: this.IsStatic

Returns: bool

Indicates a static method.

Returns: bool

this.IsSynchronized

Full Usage: this.IsSynchronized

Returns: bool
Returns: bool

this.IsUnmanagedExport

Full Usage: this.IsUnmanagedExport

Returns: bool

The method is exported to unmanaged code using COM interop.

Returns: bool

this.IsVirtual

Full Usage: this.IsVirtual

Returns: bool

Indicates an instance methods that is virtual or abstract or implements an interface slot.

Returns: bool

this.IsZeroInit

Full Usage: this.IsZeroInit

Returns: bool
Returns: bool

this.Locals

Full Usage: this.Locals

Returns: ILLocals
Returns: ILLocals

this.MaxStack

Full Usage: this.MaxStack

Returns: int32
Returns: int32

this.MethodBody

Full Usage: this.MethodBody

Returns: ILMethodBody
Returns: ILMethodBody

this.Name

Full Usage: this.Name

Returns: string
Returns: string

this.ParameterTypes

Full Usage: this.ParameterTypes

Returns: ILTypes
Returns: ILTypes

this.Parameters

Full Usage: this.Parameters

Returns: ILParameters
Returns: ILParameters

this.Return

Full Usage: this.Return

Returns: ILReturn
Returns: ILReturn

this.SecurityDecls

Full Usage: this.SecurityDecls

Returns: ILSecurityDecls

this.With

Full Usage: this.With

Parameters:
Returns: ILMethodDef

Functional update of the value

?name : string
?attributes : MethodAttributes
?implAttributes : MethodImplAttributes
?callingConv : ILCallingConv
?parameters : ILParameters
?ret : ILReturn
?body : InterruptibleLazy<MethodBody>
?securityDecls : ILSecurityDecls
?isEntryPoint : bool
?genericParams : ILGenericParameterDefs
?customAttrs : ILAttributes
Returns: ILMethodDef

this.WithAbstract

Full Usage: this.WithAbstract

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithAccess

Full Usage: this.WithAccess

Parameters:
Returns: ILMethodDef
arg0 : ILMemberAccess
Returns: ILMethodDef

this.WithAggressiveInlining

Full Usage: this.WithAggressiveInlining

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithFinal

Full Usage: this.WithFinal

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithHideBySig

Full Usage: this.WithHideBySig

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithHideBySig

Full Usage: this.WithHideBySig

Returns: ILMethodDef
Returns: ILMethodDef

this.WithNewSlot

Full Usage: this.WithNewSlot

Returns: ILMethodDef
Returns: ILMethodDef

this.WithNoInlining

Full Usage: this.WithNoInlining

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithPInvoke

Full Usage: this.WithPInvoke

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithPreserveSig

Full Usage: this.WithPreserveSig

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithRuntime

Full Usage: this.WithRuntime

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithSecurity

Full Usage: this.WithSecurity

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithSpecialName

Full Usage: this.WithSpecialName

Returns: ILMethodDef
Returns: ILMethodDef

this.WithSynchronized

Full Usage: this.WithSynchronized

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

this.WithVirtual

Full Usage: this.WithVirtual

Parameters:
    arg0 : bool

Returns: ILMethodDef
arg0 : bool
Returns: ILMethodDef

Type something to start searching.