public bool ToBool() { NumberOnStack numberOnStack = this.typeStack; bool result; if (numberOnStack != NumberOnStack.Int32) { result = (numberOnStack == NumberOnStack.Int64 && this.v64 > 0L); } else { result = (this.v32 > 0); } return(result); }
public void Not() { NumberOnStack numberOnStack = this.typeStack; if (numberOnStack != NumberOnStack.Int32) { if (numberOnStack == NumberOnStack.Int64) { this.v64 = ~this.v64; } } else { this.v32 = ~this.v32; } }
public void Xor(VBox right) { NumberOnStack numberOnStack = this.typeStack; if (numberOnStack != NumberOnStack.Int32) { if (numberOnStack == NumberOnStack.Int64) { this.v64 ^= right.v64; } } else { this.v32 ^= right.v32; } }
public VBox(NumberOnStack typeStack, NumberType thistype) { this.typeStack = typeStack; this.type = thistype; }