示例#1
0
        // ReSharper disable InconsistentNaming
        public DynamicMethodBody Ifeq()
        // ReSharper restore InconsistentNaming
        {
            var emitter = new IfEmitter(this);

            ifEmittersField.Push(emitter);
            emitter.EmitIf(OpCodes.Ceq);
            return(this);
        }
示例#2
0
        // ReSharper disable InconsistentNaming
        public DynamicMethodBody IfNotlt_Un()
        // ReSharper restore InconsistentNaming
        {
            var emitter = new IfEmitter(this);

            ifEmitters.Push(emitter);
            emitter.EmitIf(OpCodes.Clt_Un, true);
            return(this);
        }
示例#3
0
        // ReSharper disable InconsistentNaming
        public DynamicMethodBody Iflt_Un(int right)
        // ReSharper restore InconsistentNaming
        {
            var emitter = new IfEmitter(this);

            ifEmittersField.Push(emitter);
            preEmitActionsField.Push(() =>
            {
                LdcI4(right);
                emitter.EmitIf(OpCodes.Clt_Un);
            }
                                     );
            return(this);
        }
		// ReSharper disable InconsistentNaming
		public DynamicMethodBody Ifeq()
		// ReSharper restore InconsistentNaming
		{
			var emitter = new IfEmitter(this);
			ifEmitters.Push(emitter);
			emitter.EmitIf(OpCodes.Ceq);
			return this;
		}
		// ReSharper disable InconsistentNaming
		public DynamicMethodBody Iflt_Un(int right)
		// ReSharper restore InconsistentNaming
		{
			var emitter = new IfEmitter(this);
			ifEmitters.Push(emitter);
			preEmitActions.Push( () => 
				{
					LdcI4(right);
					emitter.EmitIf(OpCodes.Clt_Un);
				}
				);
			return this; 
		}
		// ReSharper disable InconsistentNaming
		public DynamicMethodBody IfNotlt_Un()
		// ReSharper restore InconsistentNaming
		{
			var emitter = new IfEmitter(this);
			ifEmittersField.Push(emitter);
			emitter.EmitIf(OpCodes.Clt_Un, true);
			return this;
		}