public static AllOperatorsWithFriendly Plus(AllOperatorsWithFriendly c1) { return(new AllOperatorsWithFriendly(+c1.Value)); }
public static AllOperatorsWithFriendly Negate(AllOperatorsWithFriendly c1) { return(new AllOperatorsWithFriendly(-c1.Value)); }
public static AllOperatorsWithFriendly LeftShift(AllOperatorsWithFriendly c1, int a) { return(new AllOperatorsWithFriendly(c1.Value << a)); }
public static AllOperatorsWithFriendly OnesComplement(AllOperatorsWithFriendly c1) { return(new AllOperatorsWithFriendly(~c1.Value)); }
public static AllOperatorsWithFriendly Decrement(AllOperatorsWithFriendly c1) { return(new AllOperatorsWithFriendly(c1.Value - 1)); }
public static AllOperatorsWithFriendly RightShift(AllOperatorsWithFriendly c1, int a) { return(new AllOperatorsWithFriendly(c1.Value >> a)); }
public static AllOperatorsWithFriendly BitwiseAnd(AllOperatorsWithFriendly c1, AllOperatorsWithFriendly c2) { return(new AllOperatorsWithFriendly(c1.Value & c2.Value)); }
public static AllOperatorsWithFriendly Xor(AllOperatorsWithFriendly c1, AllOperatorsWithFriendly c2) { return(new AllOperatorsWithFriendly(c1.Value ^ c2.Value)); }
public static AllOperatorsWithFriendly Divide(AllOperatorsWithFriendly c1, AllOperatorsWithFriendly c2) { return(new AllOperatorsWithFriendly(c1.Value / c2.Value)); }
public static AllOperatorsWithFriendly Multiply(AllOperatorsWithFriendly c1, AllOperatorsWithFriendly c2) { return(new AllOperatorsWithFriendly(c1.Value * c2.Value)); }
public static AllOperatorsWithFriendly Subtract(AllOperatorsWithFriendly c1, AllOperatorsWithFriendly c2) { return(new AllOperatorsWithFriendly(c1.Value - c2.Value)); }