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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs
index d860a02a7..f98b15e07 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderFallback.cs
@@ -142,7 +142,7 @@ namespace System.Text
int index = (int)(chars - charStart) - 1;
// See if it was a high surrogate
- if (Char.IsHighSurrogate(ch))
+ if (char.IsHighSurrogate(ch))
{
// See if there's a low surrogate to go with it
if (chars >= this.charEnd)
@@ -165,11 +165,11 @@ namespace System.Text
{
// Might have a low surrogate
char cNext = *chars;
- if (Char.IsLowSurrogate(cNext))
+ if (char.IsLowSurrogate(cNext))
{
// If already falling back then fail
if (bFallingBack && iRecursionCount++ > iMaxRecursion)
- ThrowLastCharRecursive(Char.ConvertToUtf32(ch, cNext));
+ ThrowLastCharRecursive(char.ConvertToUtf32(ch, cNext));
// Next is a surrogate, add it as surrogate pair, and increment chars
chars++;