예제 #1
0
        internal ContextualOperand LocalInitedFromStack(Type type)
        {
            var l = new _Local(this, type);

            l.EmitSetFromStack(this);
            return(new ContextualOperand(l, TypeMapper));
        }
예제 #2
0
 public Operand this[string localName, Type type] // Named local typed declaration without initialization
 {
     get
     {
         Operand target = new _Local(this, IL.DeclareLocal(type));
         NamedLocals.Add(localName, target);
         return(target);
     }
 }
예제 #3
0
 internal ContextualOperand LocalInitedFromStack(Type type)
 {
     var l = new _Local(this, type);
     l.EmitSetFromStack(this);
     return new ContextualOperand(l, TypeMapper);
 }