16 public override bool Fallback(
char charUnknown,
int index)
28 public override bool Fallback(
char charUnknownHigh,
char charUnknownLow,
int index)
30 if (!
char.IsHighSurrogate(charUnknownHigh))
34 if (!
char.IsLowSurrogate(charUnknownLow))
38 int num =
char.ConvertToUtf32(charUnknownHigh, charUnknownLow);
override char GetNextChar()
Retrieves the next character in the exception fallback buffer.
The exception that is thrown when the value of an argument is outside the allowable range of values a...
The exception that is thrown when an encoder fallback operation fails. This class cannot be inherited...
override int Remaining
Gets the number of characters in the current T:System.Text.EncoderExceptionFallbackBuffer object that...
Provides information about, and means to manipulate, the current environment and platform....
override bool Fallback(char charUnknown, int index)
Throws an exception because the input character cannot be encoded. Parameters specify the value and i...
override bool MovePrevious()
Causes the next call to the M:System.Text.EncoderExceptionFallbackBuffer.GetNextChar method to access...
override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
Throws an exception because the input character cannot be encoded. Parameters specify the value and i...
Provides a buffer that allows a fallback handler to return an alternate string to an encoder when it ...
Throws T:System.Text.EncoderFallbackException when an input character cannot be converted to an encod...