public override void EmitStatement(EmitContext ec) { var call = new CallEmitter(); call.InstanceExpression = InstanceExpr; call.EmitStatement(ec, method, arguments, loc); }
public override void EmitStatement(EmitContext ec) { if (conditionalAccessReceiver) { ec.ConditionalAccess = new ConditionalAccessContext(type, ec.DefineLabel()) { Statement = true }; } var call = new CallEmitter(); call.InstanceExpression = InstanceExpr; call.EmitStatement(ec, method, arguments, loc); if (conditionalAccessReceiver) { ec.CloseConditionalAccess(null); } }
public override void EmitStatement (EmitContext ec) { if (conditionalAccessReceiver) { ec.ConditionalAccess = new ConditionalAccessContext (type, ec.DefineLabel ()) { Statement = true }; } var call = new CallEmitter (); call.InstanceExpression = InstanceExpr; call.EmitStatement (ec, method, arguments, loc); if (conditionalAccessReceiver) ec.CloseConditionalAccess (null); }
public override void EmitStatement (EmitContext ec) { var call = new CallEmitter (); call.InstanceExpression = InstanceExpr; call.EmitStatement (ec, method, arguments, loc); }