C# Class PEAPI.FieldDef

Descriptor for a field defined in a class of THIS assembly/module
Inheritance: Field
Exibir arquivo Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
AddDataValue ( DataConstant val ) : void

Add an initial value for this field (at dataLabel) (.data)

AddFieldAttr ( FieldAttr fa ) : void

Add an attribute(s) to this field

AddValue ( Constant val ) : void

Add a value for this field

SetMarshalInfo ( NativeType marshallType ) : void

Set the marshalling info for a field

SetOffset ( uint offs ) : void

Set the offset of the field. Used for sequential or explicit classes. (.field [offs])

Private Methods

Method Description
BuildTables ( MetaData md ) : void
FieldDef ( FieldAttr attrSet, string name, Type fType ) : System
FieldDef ( string name, Type fType ) : System
GetCodedIx ( CIx code ) : uint
Size ( MetaData md ) : uint
Write ( PEAPI.FileImage output ) : void

Method Details

AddDataValue() public method

Add an initial value for this field (at dataLabel) (.data)
public AddDataValue ( DataConstant val ) : void
val DataConstant the value for the field
return void

AddFieldAttr() public method

Add an attribute(s) to this field
public AddFieldAttr ( FieldAttr fa ) : void
fa FieldAttr the attribute(s) to be added
return void

AddValue() public method

Add a value for this field
public AddValue ( Constant val ) : void
val Constant the value for the field
return void

SetMarshalInfo() public method

Set the marshalling info for a field
public SetMarshalInfo ( NativeType marshallType ) : void
marshallType NativeType
return void

SetOffset() public method

Set the offset of the field. Used for sequential or explicit classes. (.field [offs])
public SetOffset ( uint offs ) : void
offs uint field offset
return void