Header menu logo fantomas

ILTypeDef Type

Represents IL Type Definitions.

Constructors

Constructor Description

ILTypeDef(name, attributes, layout, implements, genericParams, extends, methods, nestedTypes, fields, methodImpls, events, properties, isKnownToBeAttribute, securityDecls, customAttrs)

Full Usage: ILTypeDef(name, attributes, layout, implements, genericParams, extends, methods, nestedTypes, fields, methodImpls, events, properties, isKnownToBeAttribute, securityDecls, customAttrs)

Parameters:
Returns: ILTypeDef

Functional creation of a value, immediate

name : string
attributes : TypeAttributes
layout : ILTypeDefLayout
implements : ILTypes
genericParams : ILGenericParameterDefs
extends : ILType option
methods : ILMethodDefs
nestedTypes : ILTypeDefs
fields : ILFieldDefs
methodImpls : ILMethodImplDefs
events : ILEventDefs
properties : ILPropertyDefs
isKnownToBeAttribute : bool
securityDecls : ILSecurityDecls
customAttrs : ILAttributes
Returns: ILTypeDef

ILTypeDef(name, attributes, layout, implements, genericParams, extends, methods, nestedTypes, fields, methodImpls, events, properties, isKnownToBeAttribute, securityDeclsStored, customAttrsStored, metadataIndex)

Full Usage: ILTypeDef(name, attributes, layout, implements, genericParams, extends, methods, nestedTypes, fields, methodImpls, events, properties, isKnownToBeAttribute, securityDeclsStored, customAttrsStored, metadataIndex)

Parameters:
Returns: ILTypeDef

Functional creation of a value, using delayed reading via a metadata index, for ilread.fs

name : string
attributes : TypeAttributes
layout : ILTypeDefLayout
implements : ILTypes
genericParams : ILGenericParameterDefs
extends : ILType option
methods : ILMethodDefs
nestedTypes : ILTypeDefs
fields : ILFieldDefs
methodImpls : ILMethodImplDefs
events : ILEventDefs
properties : ILPropertyDefs
isKnownToBeAttribute : bool
securityDeclsStored : ILSecurityDeclsStored
customAttrsStored : ILAttributesStored
metadataIndex : int32
Returns: ILTypeDef

Instance members

Instance member Description

this.Access

Full Usage: this.Access

Returns: ILTypeDefAccess

this.Attributes

Full Usage: this.Attributes

Returns: TypeAttributes
Returns: TypeAttributes

this.CustomAttrs

Full Usage: this.CustomAttrs

Returns: ILAttributes
Returns: ILAttributes

this.Encoding

Full Usage: this.Encoding

Returns: ILDefaultPInvokeEncoding

this.Events

Full Usage: this.Events

Returns: ILEventDefs
Returns: ILEventDefs

this.Extends

Full Usage: this.Extends

Returns: ILType option
Returns: ILType option

this.Fields

Full Usage: this.Fields

Returns: ILFieldDefs
Returns: ILFieldDefs

this.GenericParams

Full Usage: this.GenericParams

Returns: ILGenericParameterDefs

this.HasSecurity

Full Usage: this.HasSecurity

Returns: bool

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

Returns: bool

this.Implements

Full Usage: this.Implements

Returns: ILTypes
Returns: ILTypes

this.IsAbstract

Full Usage: this.IsAbstract

Returns: bool
Returns: bool

this.IsClass

Full Usage: this.IsClass

Returns: bool
Returns: bool

this.IsComInterop

Full Usage: this.IsComInterop

Returns: bool

Class or interface generated for COM interop.

Returns: bool

this.IsDelegate

Full Usage: this.IsDelegate

Returns: bool
Returns: bool

this.IsEnum

Full Usage: this.IsEnum

Returns: bool
Returns: bool

this.IsInterface

Full Usage: this.IsInterface

Returns: bool
Returns: bool

this.IsKnownToBeAttribute

Full Usage: this.IsKnownToBeAttribute

Returns: bool
Returns: bool

this.IsSealed

Full Usage: this.IsSealed

Returns: bool
Returns: bool

this.IsSerializable

Full Usage: this.IsSerializable

Returns: bool
Returns: bool

this.IsSpecialName

Full Usage: this.IsSpecialName

Returns: bool
Returns: bool

this.IsStruct

Full Usage: this.IsStruct

Returns: bool
Returns: bool

this.IsStructOrEnum

Full Usage: this.IsStructOrEnum

Returns: bool
Returns: bool

this.Layout

Full Usage: this.Layout

Returns: ILTypeDefLayout

this.MethodImpls

Full Usage: this.MethodImpls

Returns: ILMethodImplDefs

this.Methods

Full Usage: this.Methods

Returns: ILMethodDefs
Returns: ILMethodDefs

this.Name

Full Usage: this.Name

Returns: string
Returns: string

this.NestedTypes

Full Usage: this.NestedTypes

Returns: ILTypeDefs
Returns: ILTypeDefs

this.Properties

Full Usage: this.Properties

Returns: ILPropertyDefs
Returns: ILPropertyDefs

this.SecurityDecls

Full Usage: this.SecurityDecls

Returns: ILSecurityDecls

this.With

Full Usage: this.With

Parameters:
Returns: ILTypeDef

Functional update

?name : string
?attributes : TypeAttributes
?layout : ILTypeDefLayout
?implements : ILTypes
?genericParams : ILGenericParameterDefs
?extends : ILType option
?methods : ILMethodDefs
?nestedTypes : ILTypeDefs
?fields : ILFieldDefs
?methodImpls : ILMethodImplDefs
?events : ILEventDefs
?properties : ILPropertyDefs
?isKnownToBeAttribute : bool
?customAttrs : ILAttributes
?securityDecls : ILSecurityDecls
Returns: ILTypeDef

this.WithAbstract

Full Usage: this.WithAbstract

Parameters:
    arg0 : bool

Returns: ILTypeDef
arg0 : bool
Returns: ILTypeDef

this.WithAccess

Full Usage: this.WithAccess

Parameters:
Returns: ILTypeDef
arg0 : ILTypeDefAccess
Returns: ILTypeDef

this.WithEncoding

Full Usage: this.WithEncoding

Parameters:
Returns: ILTypeDef

this.WithHasSecurity

Full Usage: this.WithHasSecurity

Parameters:
    arg0 : bool

Returns: ILTypeDef
arg0 : bool
Returns: ILTypeDef

this.WithImport

Full Usage: this.WithImport

Parameters:
    arg0 : bool

Returns: ILTypeDef
arg0 : bool
Returns: ILTypeDef

this.WithInitSemantics

Full Usage: this.WithInitSemantics

Parameters:
Returns: ILTypeDef
arg0 : ILTypeInit
Returns: ILTypeDef

this.WithKind

Full Usage: this.WithKind

Parameters:
Returns: ILTypeDef
arg0 : ILTypeDefKind
Returns: ILTypeDef

this.WithLayout

Full Usage: this.WithLayout

Parameters:
Returns: ILTypeDef
arg0 : ILTypeDefLayout
Returns: ILTypeDef

this.WithNestedAccess

Full Usage: this.WithNestedAccess

Parameters:
Returns: ILTypeDef
arg0 : ILMemberAccess
Returns: ILTypeDef

this.WithSealed

Full Usage: this.WithSealed

Parameters:
    arg0 : bool

Returns: ILTypeDef
arg0 : bool
Returns: ILTypeDef

this.WithSerializable

Full Usage: this.WithSerializable

Parameters:
    arg0 : bool

Returns: ILTypeDef
arg0 : bool
Returns: ILTypeDef

this.WithSpecialName

Full Usage: this.WithSpecialName

Parameters:
    arg0 : bool

Returns: ILTypeDef
arg0 : bool
Returns: ILTypeDef

Type something to start searching.