C# Class PRI.ProductivityExtensions.ReflectionExtensions.ILGeneratorable

Datei anzeigen Open project: peteraritchie/ProductivityExtensions

Public Methods

Method Description
EmitBackingFieldGetter ( this generator, FieldInfo field ) : void

Emit code that will get the value from field

EmitBackingFieldSetter ( this generator, FieldInfo field ) : void

Emit code that will set the value field based argument on stack

Method Details

EmitBackingFieldGetter() public static method

Emit code that will get the value from field
public static EmitBackingFieldGetter ( this generator, FieldInfo field ) : void
generator this Generator that will emit the instructions
field System.Reflection.FieldInfo Field to read
return void

EmitBackingFieldSetter() public static method

Emit code that will set the value field based argument on stack
public static EmitBackingFieldSetter ( this generator, FieldInfo field ) : void
generator this Generator that will emit the instructions
field System.Reflection.FieldInfo Field to write
return void