LocalBuilder

LocalBuilder

System.Reflection.Emit (mscorlib.dll) sealed class

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  (string   name   );    public void  SetLocalSymInfo  (string   name   , int   startOffset   , int   endOffset   ); } 

Returned By

ILGenerator.DeclareLocal( )

Passed To

ILGenerator.{Emit( ) , EmitWriteLine( )}



C# in a Nutshell
C # in a Nutshell, Second Edition
ISBN: 0596005261
EAN: 2147483647
Year: 2005
Pages: 963

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net