ILTypeDef Type
Represents IL Type Definitions.
Constructors
Constructor |
Description
|
Full Usage:
ILTypeDef(name, attributes, layout, implements, genericParams, extends, methods, nestedTypes, fields, methodImpls, events, properties, securityDecls, customAttrs)
Parameters:
string
attributes : TypeAttributes
layout : ILTypeDefLayout
implements : InterfaceImpl list
genericParams : ILGenericParameterDefs
extends : ILType option
methods : ILMethodDefs
nestedTypes : ILTypeDefs
fields : ILFieldDefs
methodImpls : ILMethodImplDefs
events : ILEventDefs
properties : ILPropertyDefs
securityDecls : ILSecurityDecls
customAttrs : ILAttributesStored
Returns: ILTypeDef
|
Functional creation of a value, immediate
|
Full Usage:
ILTypeDef(name, attributes, layout, implements, genericParams, extends, methods, nestedTypes, fields, methodImpls, events, properties, additionalFlags, securityDecls, customAttrs)
Parameters:
string
attributes : TypeAttributes
layout : ILTypeDefLayout
implements : InterruptibleLazy<InterfaceImpl list>
genericParams : ILGenericParameterDefs
extends : InterruptibleLazy<ILType option>
methods : ILMethodDefs
nestedTypes : ILTypeDefs
fields : ILFieldDefs
methodImpls : ILMethodImplDefs
events : ILEventDefs
properties : ILPropertyDefs
additionalFlags : ILTypeDefAdditionalFlags
securityDecls : ILSecurityDecls
customAttrs : ILAttributesStored
Returns: ILTypeDef
|
Functional creation of a value with lazy calculated data
|
Instance members
Instance member |
Description
|
|
|
|
|
Full Usage:
this.CanContainExtensionMethods
Returns: bool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.HasSecurity
Returns: bool
|
Some classes 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.IsClass
Returns: bool
|
|
Full Usage:
this.IsComInterop
Returns: bool
|
Class or interface generated for COM interop.
|
Full Usage:
this.IsDelegate
Returns: bool
|
|
Full Usage:
this.IsEnum
Returns: bool
|
|
Full Usage:
this.IsInterface
Returns: bool
|
|
Full Usage:
this.IsKnownToBeAttribute
Returns: bool
|
|
Full Usage:
this.IsSealed
Returns: bool
|
|
Full Usage:
this.IsSerializable
Returns: bool
|
|
Full Usage:
this.IsSpecialName
Returns: bool
|
|
Full Usage:
this.IsStruct
Returns: bool
|
|
Full Usage:
this.IsStructOrEnum
Returns: bool
|
|
|
|
Full Usage:
this.MetadataIndex
Returns: int32
|
|
|
|
|
|
Full Usage:
this.Name
Returns: string
|
|
|
|
|
|
|
|
Full Usage:
this.With
Parameters:
string
?attributes : TypeAttributes
?layout : ILTypeDefLayout
?implements : InterruptibleLazy<InterfaceImpl list>
?genericParams : ILGenericParameterDefs
?extends : InterruptibleLazy<ILType option>
?methods : ILMethodDefs
?nestedTypes : ILTypeDefs
?fields : ILFieldDefs
?methodImpls : ILMethodImplDefs
?events : ILEventDefs
?properties : ILPropertyDefs
?newAdditionalFlags : ILTypeDefAdditionalFlags
?customAttrs : ILAttributesStored
?securityDecls : ILSecurityDecls
Returns: ILTypeDef
|
Functional update
|