C# Class Girl.PEAnalyzer.ConstantTable

The Constant table is used to store compile-time, constant values for fields, parameters and properties. Note that Constant information does not directly influence runtime behavior, although it is visible via Reflection (and hence may be used to implement functionality such as that provided by System.Enum.ToString). Compilers inspect this information, at compile time, when importing metadata; but the value of the constant itself, if used, becomes embedded into the CIL stream the compiler emits. There are no CIL instructions to access the Constant table at runtime. A row in the Constant table for a parent is created whenever a compile-time value is specified for that parent, for an example see Section 15.2.
Inheritance: TableBase
ファイルを表示 Open project: higepon/mona

Public Properties

Property Type Description
Parent int
Type byte
Value int

Public Methods

Method Description
ConstantTable ( ) : System
GetInfos ( StringBuilder sb ) : void
ReadData ( byte data, int offset ) : void

Method Details

ConstantTable() public method

public ConstantTable ( ) : System
return System

GetInfos() public method

public GetInfos ( StringBuilder sb ) : void
sb StringBuilder
return void

ReadData() public method

public ReadData ( byte data, int offset ) : void
data byte
offset int
return void

Property Details

Parent public_oe property

index into the Param or Field or Property table; more precisely, a HasConstant coded index
public int Parent
return int

Type public_oe property

a 1 byte constant, followed by a 1-byte padding zero
public byte Type
return byte

Value public_oe property

index into Blob heap
public int Value
return int