C# Класс 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.
Наследование: TableBase
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Parent int
Type byte
Value int

Открытые методы

Метод Описание
ConstantTable ( ) : System
GetInfos ( StringBuilder sb ) : void
ReadData ( byte data, int offset ) : void

Описание методов

ConstantTable() публичный Метод

public ConstantTable ( ) : System
Результат System

GetInfos() публичный Метод

public GetInfos ( StringBuilder sb ) : void
sb StringBuilder
Результат void

ReadData() публичный Метод

public ReadData ( byte data, int offset ) : void
data byte
offset int
Результат void

Описание свойств

Parent публичное свойство

index into the Param or Field or Property table; more precisely, a HasConstant coded index
public int Parent
Результат int

Type публичное свойство

a 1 byte constant, followed by a 1-byte padding zero
public byte Type
Результат byte

Value публичное свойство

index into Blob heap
public int Value
Результат int