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/text/encoding.cs')
-rw-r--r--mcs/class/referencesource/mscorlib/system/text/encoding.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/mscorlib/system/text/encoding.cs b/mcs/class/referencesource/mscorlib/system/text/encoding.cs
index 5e9d2201696..e77a190caca 100644
--- a/mcs/class/referencesource/mscorlib/system/text/encoding.cs
+++ b/mcs/class/referencesource/mscorlib/system/text/encoding.cs
@@ -109,7 +109,7 @@ namespace System.Text
//
// The following values are from mlang.idl. These values
- // should be in sync with those in mlang.idl.
+ // should be in [....] with those in mlang.idl.
//
private const int MIMECONTF_MAILNEWS = 0x00000001;
private const int MIMECONTF_BROWSER = 0x00000002;
@@ -1155,7 +1155,7 @@ namespace System.Text
// Do the work
int result = GetBytes(arrChar, 0, charCount, arrByte, 0);
- // The only way this could fail is a
+ // The only way this could fail is a bug in GetBytes
Contract.Assert(result <= byteCount, "[Encoding.GetBytes]Returned more bytes than we have space for");
// Copy the byte array
@@ -1315,7 +1315,7 @@ namespace System.Text
// Do the work
int result = GetChars(arrByte, 0, byteCount, arrChar, 0);
- // The only way this could fail is a
+ // The only way this could fail is a bug in GetChars
Contract.Assert(result <= charCount, "[Encoding.GetChars]Returned more chars than we have space for");
// Copy the char array