C# Class PEAPI.FieldDef

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

Méthodes publiques

Méthode 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

Méthode 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 méthode

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

AddFieldAttr() public méthode

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

AddValue() public méthode

Add a value for this field
public AddValue ( Constant val ) : void
val Constant the value for the field
Résultat void

SetMarshalInfo() public méthode

Set the marshalling info for a field
public SetMarshalInfo ( NativeType marshallType ) : void
marshallType NativeType
Résultat void

SetOffset() public méthode

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