C# Class Girl.PEAnalyzer.CustomAttributeTable

The CustomAttribute table stores data that can be used to instantiate a Custom Attribute (more precisely, an object of the specified Custom Attribute class) at runtime. The column called Type is slightly misleading -- it actually indexes a constructor method -- the owner of that constructor method is the Type of the Custom Attribute. A row in the CustomAttribute table for a parent is created by the .custom attribute, which gives the value of the Type column and optionally that of the Value column (see Chapter 20)
Inheritance: TableBase
显示文件 Open project: higepon/mona

Public Properties

Property Type Description
Parent int
Type int
Value int

Public Methods

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

Method Details

CustomAttributeTable() public method

public CustomAttributeTable ( ) : 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 any metadata table, except the CustomAttribute table itself; more precisely, a HasCustomAttribute coded index
public int Parent
return int

Type public_oe property

index into the MethodDef or MethodRef table; more precisely, a CustomAttributeType coded index
public int Type
return int

Value public_oe property

index into Blob heap
public int Value
return int