Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/tools/Common/Internal/Text/Utf8StringBuilder.cs')
-rw-r--r--src/coreclr/tools/Common/Internal/Text/Utf8StringBuilder.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coreclr/tools/Common/Internal/Text/Utf8StringBuilder.cs b/src/coreclr/tools/Common/Internal/Text/Utf8StringBuilder.cs
index a2144946a08..edf5b185b3c 100644
--- a/src/coreclr/tools/Common/Internal/Text/Utf8StringBuilder.cs
+++ b/src/coreclr/tools/Common/Internal/Text/Utf8StringBuilder.cs
@@ -10,7 +10,7 @@ namespace Internal.Text
public class Utf8StringBuilder
{
private byte[] _buffer = Array.Empty<byte>();
- private int _length = 0;
+ private int _length;
public Utf8StringBuilder()
{
@@ -103,7 +103,7 @@ namespace Internal.Text
_buffer = newBuffer;
}
- // Find the boundary of the last character prior to a position
+ // Find the boundary of the last character prior to a position
// If pos points to the last byte of a char, then return pos; Otherwise,
// return the position of the last byte of the preceding char.
public int LastCharBoundary(int pos)