ILMethodDef Type
IL Method definitions.
Constructors
Constructor |
Description
|
Full Usage:
ILMethodDef(name, attributes, implAttributes, callingConv, parameters, ret, body, isEntryPoint, genericParams, securityDecls, customAttrs)
Parameters:
string
attributes : MethodAttributes
implAttributes : MethodImplAttributes
callingConv : ILCallingConv
parameters : ILParameters
ret : ILReturn
body : InterruptibleLazy<MethodBody>
isEntryPoint : bool
genericParams : ILGenericParameterDefs
securityDecls : ILSecurityDecls
customAttrs : ILAttributes
Returns: ILMethodDef
|
Functional creation of a value, immediate
|
Full Usage:
ILMethodDef(name, attributes, implAttributes, callingConv, parameters, ret, body, isEntryPoint, genericParams, securityDeclsStored, customAttrsStored, metadataIndex)
Parameters:
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
|
Functional creation of a value, with delayed reading of some elements via a metadata index
|
Instance members
Instance member |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.HasSecurity
Returns: bool
|
Some methods are marked "HasSecurity" even if there are no permissions attached, e.g. if they use SuppressUnmanagedCodeSecurityAttribute
|
|
|
Full Usage:
this.IsAbstract
Returns: bool
|
|
Full Usage:
this.IsAggressiveInline
Returns: bool
|
|
Full Usage:
this.IsCheckAccessOnOverride
Returns: bool
|
|
Full Usage:
this.IsClassInitializer
Returns: bool
|
Indicates a .cctor method.
|
Full Usage:
this.IsConstructor
Returns: bool
|
Indicates a .ctor method.
|
Full Usage:
this.IsEntryPoint
Returns: bool
|
|
Full Usage:
this.IsFinal
Returns: bool
|
|
Full Usage:
this.IsForwardRef
Returns: bool
|
|
Full Usage:
this.IsHideBySig
Returns: bool
|
|
Full Usage:
this.IsIL
Returns: bool
|
|
Full Usage:
this.IsInternalCall
Returns: bool
|
|
Full Usage:
this.IsManaged
Returns: bool
|
|
Full Usage:
this.IsMustRun
Returns: bool
|
SafeHandle finalizer must be run.
|
Full Usage:
this.IsNewSlot
Returns: bool
|
|
Full Usage:
this.IsNoInline
Returns: bool
|
|
Full Usage:
this.IsNonVirtualInstance
Returns: bool
|
Indicates this is an instance methods that is not virtual.
|
Full Usage:
this.IsPreserveSig
Returns: bool
|
|
Full Usage:
this.IsReqSecObj
Returns: bool
|
|
Full Usage:
this.IsSpecialName
Returns: bool
|
|
Full Usage:
this.IsStatic
Returns: bool
|
Indicates a static method.
|
Full Usage:
this.IsSynchronized
Returns: bool
|
|
Full Usage:
this.IsUnmanagedExport
Returns: bool
|
The method is exported to unmanaged code using COM interop.
|
Full Usage:
this.IsVirtual
Returns: bool
|
Indicates an instance methods that is virtual or abstract or implements an interface slot.
|
Full Usage:
this.IsZeroInit
Returns: bool
|
|
|
|
Full Usage:
this.MaxStack
Returns: int32
|
|
|
|
Full Usage:
this.Name
Returns: string
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.With
Parameters:
string
?attributes : MethodAttributes
?implAttributes : MethodImplAttributes
?callingConv : ILCallingConv
?parameters : ILParameters
?ret : ILReturn
?body : InterruptibleLazy<MethodBody>
?securityDecls : ILSecurityDecls
?isEntryPoint : bool
?genericParams : ILGenericParameterDefs
?customAttrs : ILAttributes
Returns: ILMethodDef
|
Functional update of the value
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|