C# Class Girl.PEAnalyzer.EventTable

Events are treated within metadata much like Properties -- a way to associate a collection of methods defined on given class. There are two required methods -- add_ and remove_, plus optional raise_ and others. All of the methods gathered together as an Event shall be defined on the class. Note that Event information does not directly influence runtime behavior; what counts is the information stored for each method that the event comprises. The EventMap and Event tables result from putting the .event directive on a class (see Chapter 17).
Inheritance: TableBase
ファイルを表示 Open project: higepon/mona

Public Properties

Property Type Description
EventFlags short
EventType int
Name int

Public Methods

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

Method Details

EventTable() public method

public EventTable ( ) : 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

EventFlags public_oe property

a 2 byte bitmask of type EventAttribute, clause 22.1.4
public short EventFlags
return short

EventType public_oe property

index into TypeDef, TypeRef or TypeSpec tables; more precisely, a TypeDefOrRef coded index
public int EventType
return int

Name public_oe property

index into String heap
public int Name
return int