C# Class Jurassic.Compiler.FieldSetterBinder

Sets the value of a field.
Inheritance: FieldBinder
Mostrar archivo Open project: paulbartrum/jurassic

Public Methods

Method Description
FieldSetterBinder ( FieldInfo field ) : System

Creates a new FieldSetterBinder 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

FieldSetterBinder() public method

Creates a new FieldSetterBinder instance.
public FieldSetterBinder ( 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