diff --git a/Mono.Cecil.Cil/Instruction.cs b/Mono.Cecil.Cil/Instruction.cs index 5fb36049b..b381674bd 100644 --- a/Mono.Cecil.Cil/Instruction.cs +++ b/Mono.Cecil.Cil/Instruction.cs @@ -9,6 +9,7 @@ // using System; +using System.Globalization; using System.Text; namespace Mono.Cecil.Cil { @@ -126,7 +127,7 @@ public override string ToString () instruction.Append ('\"'); break; default: - instruction.Append (operand); + instruction.Append (Convert.ToString(operand, CultureInfo.InvariantCulture)); break; }