C# Class PEAPI.Param

Descriptor for a parameter of a method defined in this assembly/module
Inheritance: MetaDataElement
Datei anzeigen Open project: kumpera/mono Class Usage Examples

Public Methods

Method Description
AddDefaultValue ( Constant cVal ) : void

Add a default value to this parameter

AddMarshallInfo ( NativeType marshallType ) : void

Add marshalling information about this parameter

Param ( ParamAttr mode, string parName, Type parType ) : System

Create a new parameter for a method

Private Methods

Method Description
BuildTables ( MetaData md ) : void
GetCodedIx ( CIx code ) : uint
GetParType ( ) : Type
Size ( MetaData md ) : uint
TypeSig ( MemoryStream str ) : void
Write ( PEAPI.FileImage output ) : void

Method Details

AddDefaultValue() public method

Add a default value to this parameter
public AddDefaultValue ( Constant cVal ) : void
cVal Constant
return void

AddMarshallInfo() public method

Add marshalling information about this parameter
public AddMarshallInfo ( NativeType marshallType ) : void
marshallType NativeType
return void

Param() public method

Create a new parameter for a method
public Param ( ParamAttr mode, string parName, Type parType ) : System
mode ParamAttr param mode (in, out, opt)
parName string parameter name
parType Type parameter type
return System