using System;
namespace System.Text
{
/// Throws when an input character cannot be converted to an encoded output byte sequence. This class cannot be inherited.
/// 2
// Token: 0x020005EB RID: 1515
public sealed class EncoderExceptionFallbackBuffer : EncoderFallbackBuffer
{
/// Gets the number of characters in the current object that remain to be processed.
/// The return value is always zero.A return value is defined, although it is unchanging, because this method implements an abstract method.
/// 1
// Token: 0x17000AC6 RID: 2758
// (get) Token: 0x0600371C RID: 14108 RVA: 0x000BCD44 File Offset: 0x000BAF44
public override int Remaining
{
get
{
return 0;
}
}
/// Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the character that cannot be converted.
/// None. No value is returned because the method always throws an exception.
/// An input character.
/// The index position of the character in the input buffer.
///
/// cannot be encoded. This method always throws an exception that reports the value of the and parameters.
/// 1
// Token: 0x0600371D RID: 14109 RVA: 0x000BCD48 File Offset: 0x000BAF48
public override bool Fallback(char charUnknown, int index)
{
throw new EncoderFallbackException(charUnknown, index);
}
/// Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the surrogate pair in the input, and the nominal return value is not used.
/// None. No value is returned because the method always throws an exception.
/// The high surrogate of the input pair.
/// The low surrogate of the input pair.
/// The index position of the surrogate pair in the input buffer.
/// The character represented by and cannot be encoded.
/// Either or is invalid. is not between U+D800 and U+DBFF, inclusive, or is not between U+DC00 and U+DFFF, inclusive.
/// 1
// Token: 0x0600371E RID: 14110 RVA: 0x000BCD54 File Offset: 0x000BAF54
public override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
{
throw new EncoderFallbackException(charUnknownHigh, charUnknownLow, index);
}
/// Retrieves the next character in the exception fallback buffer.
/// The return value is always the Unicode character, NULL (U+0000). A return value is defined, although it is unchanging, because this method implements an abstract method.
/// 2
// Token: 0x0600371F RID: 14111 RVA: 0x000BCD60 File Offset: 0x000BAF60
public override char GetNextChar()
{
return '\0';
}
/// Causes the next call to the method to access the exception data buffer character position that is prior to the current position.
/// The return value is always false.A return value is defined, although it is unchanging, because this method implements an abstract method.
/// 1
// Token: 0x06003720 RID: 14112 RVA: 0x000BCD64 File Offset: 0x000BAF64
public override bool MovePrevious()
{
return false;
}
}
}