提交 8e7e8b63 编写于 作者: A Adam Speight 提交者: Jason Malinowski

Update VirtualTreePoint.cs (#11584)

* Update VirtualTreePoint.cs

Correct the braces so that they are escaped.

* Update VirtualTreePoint.cs

Convert the `String.Format` to an Interpolation String.

* Update VirtualTreePoint.cs

Correct the variable.
上级 0410d194
......@@ -125,7 +125,7 @@ public override int GetHashCode()
public override string ToString()
{
return string.Format("VirtualTreePoint { Tree: '{0}', Text: '{1}', Position: '{2}', VirtualSpaces '{3}' }", Tree, Text, Position, VirtualSpaces);
return $"VirtualTreePoint {{ Tree: '{Tree}', Text: '{Text}', Position: '{Position}', VirtualSpaces '{VirtualSpaces}' }}";
}
public TextLine GetContainingLine()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册