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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/mscorlib/system/stubhelpers.cs')
-rw-r--r--mcs/class/referencesource/mscorlib/system/stubhelpers.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/referencesource/mscorlib/system/stubhelpers.cs b/mcs/class/referencesource/mscorlib/system/stubhelpers.cs
index 909502dc4f1..3f6f6fcfbdf 100644
--- a/mcs/class/referencesource/mscorlib/system/stubhelpers.cs
+++ b/mcs/class/referencesource/mscorlib/system/stubhelpers.cs
@@ -147,7 +147,7 @@ namespace System.StubHelpers {
if (hasTrailByte)
{
- // this is an odd-sized string with a trailing byte stored in its sync block
+ // this is an odd-sized string with a trailing byte stored in its [....] block
lengthInBytes++;
}
@@ -231,7 +231,7 @@ namespace System.StubHelpers {
if ((length & 1) == 1)
{
- // odd-sized strings need to have the trailing byte saved in their sync block
+ // odd-sized strings need to have the trailing byte saved in their [....] block
ret.SetTrailByte(((byte *)bstr.ToPointer())[length - 1]);
}