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/EncoderExceptionFallback.cs')
-rw-r--r--src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs b/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs
index 66de1940f..92afcf701 100644
--- a/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs
+++ b/src/System.Private.CoreLib/shared/System/Text/EncoderExceptionFallback.cs
@@ -28,7 +28,7 @@ namespace System.Text
}
}
- public override bool Equals(Object value)
+ public override bool Equals(object value)
{
EncoderExceptionFallback that = value as EncoderExceptionFallback;
if (that != null)
@@ -57,18 +57,18 @@ namespace System.Text
public override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
{
- if (!Char.IsHighSurrogate(charUnknownHigh))
+ if (!char.IsHighSurrogate(charUnknownHigh))
{
throw new ArgumentOutOfRangeException(nameof(charUnknownHigh),
SR.Format(SR.ArgumentOutOfRange_Range, 0xD800, 0xDBFF));
}
- if (!Char.IsLowSurrogate(charUnknownLow))
+ if (!char.IsLowSurrogate(charUnknownLow))
{
throw new ArgumentOutOfRangeException(nameof(charUnknownLow),
SR.Format(SR.ArgumentOutOfRange_Range, 0xDC00, 0xDFFF));
}
- int iTemp = Char.ConvertToUtf32(charUnknownHigh, charUnknownLow);
+ int iTemp = char.ConvertToUtf32(charUnknownHigh, charUnknownLow);
// Fall back our char
throw new EncoderFallbackException(
@@ -111,34 +111,34 @@ namespace System.Text
HResult = HResults.COR_E_ARGUMENT;
}
- public EncoderFallbackException(String message)
+ public EncoderFallbackException(string message)
: base(message)
{
HResult = HResults.COR_E_ARGUMENT;
}
- public EncoderFallbackException(String message, Exception innerException)
+ public EncoderFallbackException(string message, Exception innerException)
: base(message, innerException)
{
HResult = HResults.COR_E_ARGUMENT;
}
internal EncoderFallbackException(
- String message, char charUnknown, int index) : base(message)
+ string message, char charUnknown, int index) : base(message)
{
_charUnknown = charUnknown;
_index = index;
}
internal EncoderFallbackException(
- String message, char charUnknownHigh, char charUnknownLow, int index) : base(message)
+ string message, char charUnknownHigh, char charUnknownLow, int index) : base(message)
{
- if (!Char.IsHighSurrogate(charUnknownHigh))
+ if (!char.IsHighSurrogate(charUnknownHigh))
{
throw new ArgumentOutOfRangeException(nameof(charUnknownHigh),
SR.Format(SR.ArgumentOutOfRange_Range, 0xD800, 0xDBFF));
}
- if (!Char.IsLowSurrogate(charUnknownLow))
+ if (!char.IsLowSurrogate(charUnknownLow))
{
throw new ArgumentOutOfRangeException(nameof(CharUnknownLow),
SR.Format(SR.ArgumentOutOfRange_Range, 0xDC00, 0xDFFF));