March 2002
Intermediate to advanced
864 pages
31h 8m
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 field Type LocalType{get; } // Public Instance Methods public method void SetLocalSymInfo(string name); public method void SetLocalSymInfo(string name, int startOffset, int endOffset); }
ILGenerator.DeclareLocal()
ILGenerator.{Emit(), EmitWriteLine()}