summaryrefslogtreecommitdiff
path: root/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2018-06-24 08:22:35 -0400
committerGitHub <noreply@github.com>2018-06-24 08:22:35 -0400
commit0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6 (patch)
treed2e491bcc12be107d00e496171274c7c180b6013 /src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
parenteb31c358b27182dae487406a3247dfe995beb40f (diff)
downloadcoreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.tar.gz
coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.tar.bz2
coreclr-0fbd855e38bc3ec269479b5f6bf561dcfd67cbb6.zip
Simply type names in Corelib (#18623)
Diffstat (limited to 'src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs b/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
index bd49a337b9..736fff5d26 100644
--- a/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/Latin1Encoding.cs
@@ -42,7 +42,7 @@ namespace System.Text
if (encoder != null)
{
charLeftOver = encoder._charLeftOver;
- Debug.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver),
+ Debug.Assert(charLeftOver == 0 || char.IsHighSurrogate(charLeftOver),
"[Latin1Encoding.GetByteCount]leftover character should be high surrogate");
fallback = encoder.Fallback as EncoderReplacementFallback;
@@ -164,7 +164,7 @@ namespace System.Text
{
charLeftOver = encoder._charLeftOver;
fallback = encoder.Fallback as EncoderReplacementFallback;
- Debug.Assert(charLeftOver == 0 || Char.IsHighSurrogate(charLeftOver),
+ Debug.Assert(charLeftOver == 0 || char.IsHighSurrogate(charLeftOver),
"[Latin1Encoding.GetBytes]leftover character should be high surrogate");
// Verify that we have no fallbackbuffer, for ASCII its always empty, so just assert