Ejemplo n.º 1
0
        public static void AreEqual(this ILGenerator il, ILPointer left, ILPointer right)
        {
            if (left == null)
            {
                left = ILPointer.Null;
            }
            if (right == null)
            {
                right = ILPointer.Null;
            }

            il.Load(left.Equal(right));
        }
Ejemplo n.º 2
0
 public static ILChainIfCondition IfNotEqual(this ILGenerator il, ILPointer left, ILPointer right)
 {
     return(new ILChainIfCondition(il, () => {
         il.Load(left.Equal(right).Negate());
     }));
 }