public override void WriteTo(ITextOutput output, ILAstWritingOptions options) { ILRange.WriteTo(output, options); output.Write(OpCode); output.Write("." + BinaryNumericInstruction.GetOperatorName(Operator)); if (CompoundAssignmentType == CompoundAssignmentType.EvaluatesToNewValue) { output.Write(".new"); } else { output.Write(".old"); } if (CheckForOverflow) { output.Write(".ovf"); } if (Sign == Sign.Unsigned) { output.Write(".unsigned"); } else if (Sign == Sign.Signed) { output.Write(".signed"); } output.Write('('); Target.WriteTo(output, options); output.Write(", "); Value.WriteTo(output, options); output.Write(')'); }
public override void WriteTo(ITextOutput output, ILAstWritingOptions options) { WriteILRange(output, options); output.Write(OpCode); output.Write("." + BinaryNumericInstruction.GetOperatorName(Operator)); if (CheckForOverflow) { output.Write(".ovf"); } if (Sign == Sign.Unsigned) { output.Write(".unsigned"); } else if (Sign == Sign.Signed) { output.Write(".signed"); } output.Write('.'); output.Write(UnderlyingResultType.ToString().ToLowerInvariant()); if (IsLifted) { output.Write(".lifted"); } base.WriteSuffix(output); output.Write('('); Target.WriteTo(output, options); output.Write(", "); Value.WriteTo(output, options); output.Write(')'); }