C# Class PERWAPI.Local

Descriptor for a local of a method
Show file Open project: xored/f4 Class Usage Examples

Public Properties

Property Type Description
type Type

Public Methods

Method Description
GetIndex ( ) : int
GetSig ( ) : byte[]

Gets the signature for this local variable.

Local ( string lName, Type lType ) : System

Create a new local variable

Local ( string lName, Type lType, bool isPinned ) : System

Create a new local variable that is byref and/or pinned

Private Methods

Method Description
BuildCILInfo ( CILWriter output ) : void
BuildTables ( MetaDataOut md ) : void
SetIndex ( int ix ) : void
TypeSig ( MemoryStream str ) : void
Write ( CILWriter output ) : void

Method Details

GetIndex() public method

public GetIndex ( ) : int
return int

GetSig() public method

Gets the signature for this local variable.
public GetSig ( ) : byte[]
return byte[]

Local() public method

Create a new local variable
public Local ( string lName, Type lType ) : System
lName string name of the local variable
lType Type type of the local variable
return System

Local() public method

Create a new local variable that is byref and/or pinned
public Local ( string lName, Type lType, bool isPinned ) : System
lName string local name
lType Type local type
isPinned bool has pinned attribute
return System

Property Details

type public property

public Type type
return Type