C# Class PERWAPI.MetaDataElement

Base class for all Meta Data table elements
Inheritance: TableRow, IComparable
Mostrar archivo Open project: xored/f4 Class Usage Examples

Protected Properties

Property Type Description
customAttributes System.Collections.ArrayList
done bool
sortTable bool

Public Methods

Method Description
AddCustomAttribute ( CustomAttribute ca ) : void

Associate a custom attribute with this meta data element

AddCustomAttribute ( Method ctorMeth, Constant cVals ) : void

Add a custom attribute to this item

AddCustomAttribute ( Method ctorMeth, byte val ) : void

Add a custom attribute to this item

CompareTo ( object obj ) : int
GetCustomAttributes ( ) : PERWAPI.CustomAttribute[]

Get any custom attributes associated with this meta data element

SetCustomAttributes ( CustomAttribute cas ) : void

Associate some custom attribute(s) with this meta data element

Private Methods

Method Description
AddToTable ( MetaDataOut md ) : void
BuildCILInfo ( CILWriter output ) : void
BuildMDTables ( MetaDataOut md ) : void
BuildSignatures ( MetaDataOut md ) : void
BuildTables ( MetaDataOut md ) : void
DescriptorError ( MetaDataElement elem ) : void
GetCodedIx ( CIx code ) : uint
MetaDataElement ( ) : System
NameString ( ) : string
NeedToSort ( ) : bool
Resolve ( PEReader buff ) : void
ResolveDetails ( PEReader buff ) : void
SortKey ( ) : uint
Token ( ) : uint
Write ( CILWriter output ) : void
Write ( PEWriter output ) : void
isDef ( ) : bool

Method Details

AddCustomAttribute() public method

Associate a custom attribute with this meta data element
public AddCustomAttribute ( CustomAttribute ca ) : void
ca CustomAttribute
return void

AddCustomAttribute() public method

Add a custom attribute to this item
public AddCustomAttribute ( Method ctorMeth, Constant cVals ) : void
ctorMeth Method the constructor method for this attribute
cVals Constant the constant values of the parameters
return void

AddCustomAttribute() public method

Add a custom attribute to this item
public AddCustomAttribute ( Method ctorMeth, byte val ) : void
ctorMeth Method the constructor method for this attribute
val byte the byte value of the parameters
return void

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

GetCustomAttributes() public method

Get any custom attributes associated with this meta data element
public GetCustomAttributes ( ) : PERWAPI.CustomAttribute[]
return PERWAPI.CustomAttribute[]

SetCustomAttributes() public method

Associate some custom attribute(s) with this meta data element
public SetCustomAttributes ( CustomAttribute cas ) : void
cas CustomAttribute list of custom attributes
return void

Property Details

customAttributes protected_oe property

The list of custom attributes associated with this meta data element
protected ArrayList,System.Collections customAttributes
return System.Collections.ArrayList

done protected_oe property

protected bool done
return bool

sortTable protected_oe property

protected bool sortTable
return bool