August 2003
Intermediate to advanced
928 pages
32h 1m
English
LocalBuilder
This class represents a dynamically
created local variable.
Local variables are created for methods and constructors through the
ILGenerator object, using the
ILGenerator.DeclareLocal( ).
public sealed class LocalBuilder { // Public Instance Properties public Type LocalType{get; } // Public Instance Methods public void SetLocalSymInfo(stringname); public void SetLocalSymInfo(stringname, intstartOffset, intendOffset); }
ILGenerator.DeclareLocal( )
ILGenerator.{Emit( ), EmitWriteLine( )}