Header menu logo F# Compiler Guide

ILFieldDef Type

Field definitions.

Constructors

Constructor Description

ILFieldDef(name, fieldType, attributes, data, literalValue, offset, marshal, customAttrs)

Full Usage: ILFieldDef(name, fieldType, attributes, data, literalValue, offset, marshal, customAttrs)

Parameters:
Returns: ILFieldDef

Functional creation of a value, immediate

name : string
fieldType : ILType
attributes : FieldAttributes
data : byte[] option
literalValue : ILFieldInit option
offset : int32 option
marshal : ILNativeType option
customAttrs : ILAttributes
Returns: ILFieldDef

Instance members

Instance member Description

this.Access

Full Usage: this.Access

Returns: ILMemberAccess
Returns: ILMemberAccess

this.Attributes

Full Usage: this.Attributes

Returns: FieldAttributes
Returns: FieldAttributes

this.CustomAttrs

Full Usage: this.CustomAttrs

Returns: ILAttributes
Returns: ILAttributes

this.Data

Full Usage: this.Data

Returns: byte[] option
Returns: byte[] option

this.FieldType

Full Usage: this.FieldType

Returns: ILType
Returns: ILType

this.IsInitOnly

Full Usage: this.IsInitOnly

Returns: bool
Returns: bool

this.IsLiteral

Full Usage: this.IsLiteral

Returns: bool
Returns: bool

this.IsSpecialName

Full Usage: this.IsSpecialName

Returns: bool
Returns: bool

this.IsStatic

Full Usage: this.IsStatic

Returns: bool
Returns: bool

this.LiteralValue

Full Usage: this.LiteralValue

Returns: ILFieldInit option
Returns: ILFieldInit option

this.Marshal

Full Usage: this.Marshal

Returns: ILNativeType option
Returns: ILNativeType option

this.Name

Full Usage: this.Name

Returns: string
Returns: string

this.NotSerialized

Full Usage: this.NotSerialized

Returns: bool
Returns: bool

this.Offset

Full Usage: this.Offset

Returns: int32 option

The explicit offset in bytes when explicit layout is used.

Returns: int32 option

Type something to start searching.