Ejemplo n.º 1
0
        public override void EmitStatement(EmitContext ec)
        {
            var call = new CallEmitter();

            call.InstanceExpression = InstanceExpr;
            call.EmitStatement(ec, method, arguments, loc);
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
		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);
		}
Ejemplo n.º 4
0
		public override void EmitStatement (EmitContext ec)
		{
			var call = new CallEmitter ();
			call.InstanceExpression = InstanceExpr;
			call.EmitStatement (ec, method, arguments, loc);
		}