C# Class Yea.Reflection.Emit.LocalBuilder

Helper class for defining a local variable
Inheritance: Yea.Reflection.Emit.BaseClasses.VariableBase
显示文件 Open project: OxPatient/Rule-Engine

Public Methods

Method Description
Load ( ILGenerator generator ) : void

Loads the local object

LocalBuilder ( IMethodBuilder methodBuilder, string name, Type localType ) : System

Constructor

Save ( ILGenerator generator ) : void

Saves the local object

ToString ( ) : string

The local item as a string

operator ( ) : LocalBuilder

Increments the local object by one

Method Details

Load() public method

Loads the local object
public Load ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
return void

LocalBuilder() public method

Constructor
public LocalBuilder ( IMethodBuilder methodBuilder, string name, Type localType ) : System
methodBuilder IMethodBuilder Method builder
name string Name of the local
localType System.Type Type of the local
return System

Save() public method

Saves the local object
public Save ( ILGenerator generator ) : void
generator System.Reflection.Emit.ILGenerator IL Generator
return void

ToString() public method

The local item as a string
public ToString ( ) : string
return string

operator() public static method

Increments the local object by one
public static operator ( ) : LocalBuilder
return LocalBuilder