Browse Source

Fix EndLocation of double-typed PrimitiveExpression

pull/1937/head
Siegfried Pammer 5 years ago
parent
commit
7d1d7b2563
  1. 1
      ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs

1
ICSharpCode.Decompiler/CSharp/OutputVisitor/TextWriterTokenWriter.cs

@ -336,6 +336,7 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor @@ -336,6 +336,7 @@ namespace ICSharpCode.Decompiler.CSharp.OutputVisitor
number += ".0";
}
textWriter.Write(number);
column += number.Length;
Length += number.Length;
} else if (value is IFormattable) {
StringBuilder b = new StringBuilder();

Loading…
Cancel
Save