C# Class Jurassic.Compiler.FieldGetterBinder

Retrieves the value of a field.
Inheritance: FieldBinder
Show file Open project: paulbartrum/jurassic

Public Methods

Method Description
FieldGetterBinder ( FieldInfo field ) : System

Creates a new FieldGetterBinder instance.

Protected Methods

Method Description
GenerateStub ( ILGenerator generator, int argumentCount ) : void

Generates a method that does type conversion and calls the bound method.

Method Details

FieldGetterBinder() public method

Creates a new FieldGetterBinder instance.
public FieldGetterBinder ( FieldInfo field ) : System
field System.Reflection.FieldInfo The field.
return System

GenerateStub() protected method

Generates a method that does type conversion and calls the bound method.
protected GenerateStub ( ILGenerator generator, int argumentCount ) : void
generator ILGenerator The ILGenerator used to output the body of the method.
argumentCount int The number of arguments that will be passed to the delegate.
return void