68 lines
3.3 KiB
C#
68 lines
3.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Text
|
|
{
|
|
/// <summary>Throws <see cref="T:System.Text.DecoderFallbackException" /> when an encoded input byte sequence cannot be converted to a decoded output character. This class cannot be inherited.</summary>
|
|
// Token: 0x020001C8 RID: 456
|
|
[Token(Token = "0x20001C8")]
|
|
public sealed class DecoderExceptionFallbackBuffer : DecoderFallbackBuffer
|
|
{
|
|
/// <summary>Throws <see cref="T:System.Text.DecoderFallbackException" /> when the input byte sequence cannot be decoded. The nominal return value is not used.</summary>
|
|
/// <param name="bytesUnknown">An input array of bytes.</param>
|
|
/// <param name="index">The index position of a byte in the input.</param>
|
|
/// <returns>None. No value is returned because the <see cref="M:System.Text.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> method always throws an exception.
|
|
/// The nominal return value is <see langword="true" />. A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
|
|
/// <exception cref="T:System.Text.DecoderFallbackException">This method always throws an exception that reports the value and index position of the input byte that cannot be decoded.</exception>
|
|
// Token: 0x0600113A RID: 4410 RVA: 0x0000D9B0 File Offset: 0x0000BBB0
|
|
[Token(Token = "0x600113A")]
|
|
[Address(RVA = "0xD21DF0", Offset = "0xD20DF0", VA = "0x180D21DF0", Slot = "4")]
|
|
public override bool Fallback(byte[] bytesUnknown, int index)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Retrieves the next character in the exception data buffer.</summary>
|
|
/// <returns>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.</returns>
|
|
// Token: 0x0600113B RID: 4411 RVA: 0x0000D9C8 File Offset: 0x0000BBC8
|
|
[Token(Token = "0x600113B")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "5")]
|
|
public override char GetNextChar()
|
|
{
|
|
return '\0';
|
|
}
|
|
|
|
/// <summary>Gets the number of characters in the current <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> object that remain to be processed.</summary>
|
|
/// <returns>The return value is always zero.
|
|
/// A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
|
|
// Token: 0x170001A5 RID: 421
|
|
// (get) Token: 0x0600113C RID: 4412 RVA: 0x0000D9E0 File Offset: 0x0000BBE0
|
|
[Token(Token = "0x170001A5")]
|
|
public override int Remaining
|
|
{
|
|
[Token(Token = "0x600113C")]
|
|
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "6")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600113D RID: 4413 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600113D")]
|
|
[Address(RVA = "0xD21E00", Offset = "0xD20E00", VA = "0x180D21E00")]
|
|
private void Throw(byte[] bytesUnknown, int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> class.</summary>
|
|
// Token: 0x0600113E RID: 4414 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600113E")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
public DecoderExceptionFallbackBuffer()
|
|
{
|
|
}
|
|
}
|
|
}
|