7 [__DynamicallyInvokable]
10 private char charUnknown;
12 private char charUnknownHigh;
14 private char charUnknownLow;
20 [__DynamicallyInvokable]
23 [__DynamicallyInvokable]
32 [__DynamicallyInvokable]
35 [__DynamicallyInvokable]
38 return charUnknownHigh;
44 [__DynamicallyInvokable]
47 [__DynamicallyInvokable]
50 return charUnknownLow;
56 [__DynamicallyInvokable]
59 [__DynamicallyInvokable]
67 [__DynamicallyInvokable]
69 : base(
Environment.GetResourceString(
"Arg_ArgumentException"))
71 SetErrorCode(-2147024809);
76 [__DynamicallyInvokable]
80 SetErrorCode(-2147024809);
86 [__DynamicallyInvokable]
88 : base(message, innerException)
90 SetErrorCode(-2147024809);
101 this.charUnknown = charUnknown;
108 if (!
char.IsHighSurrogate(charUnknownHigh))
110 throw new ArgumentOutOfRangeException(
"charUnknownHigh", Environment.GetResourceString(
"ArgumentOutOfRange_Range", 55296, 56319));
112 if (!
char.IsLowSurrogate(charUnknownLow))
114 throw new ArgumentOutOfRangeException(
"CharUnknownLow", Environment.GetResourceString(
"ArgumentOutOfRange_Range", 56320, 57343));
116 this.charUnknownHigh = charUnknownHigh;
117 this.charUnknownLow = charUnknownLow;
124 [__DynamicallyInvokable]
127 return charUnknownHigh !=
'\0';
char CharUnknownHigh
Gets the high component character of the surrogate pair that caused the exception.
int Index
Gets the index position in the input buffer of the character that caused the exception.
EncoderFallbackException()
Initializes a new instance of the T:System.Text.EncoderFallbackException class.
The exception that is thrown when an encoder fallback operation fails. This class cannot be inherited...
Describes the source and destination of a given serialized stream, and provides an additional caller-...
Provides information about, and means to manipulate, the current environment and platform....
char CharUnknown
Gets the input character that caused the exception.
EncoderFallbackException(string message)
Initializes a new instance of the T:System.Text.EncoderFallbackException class. A parameter specifies...
char CharUnknownLow
Gets the low component character of the surrogate pair that caused the exception.
bool IsUnknownSurrogate()
Indicates whether the input that caused the exception is a surrogate pair.
EncoderFallbackException(string message, Exception innerException)
Initializes a new instance of the T:System.Text.EncoderFallbackException class. Parameters specify th...
Stores all the data needed to serialize or deserialize an object. This class cannot be inherited.
The exception that is thrown when one of the arguments provided to a method is not valid.
Represents errors that occur during application execution.To browse the .NET Framework source code fo...
Specifies that the class can be serialized.