Example #1
0
 private void EmitQuote(EmitContext ec)
 {
     ec.EmitScope();
     ec.EmitReadGlobal(operand, typeof(Expression));
     if (ec.HasHoistedLocals)
     {
         ec.EmitLoadHoistedLocalsStore();
     }
     else
     {
         ec.ig.Emit(OpCodes.Ldnull);
     }
     ec.EmitIsolateExpression();
 }