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: 0x020001C1 RID: 449
|
|
[Token(Token = "0x20001C1")]
|
|
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: 0x06001104 RID: 4356 RVA: 0x0000D698 File Offset: 0x0000B898
|
|
[Token(Token = "0x6001104")]
|
|
[Address(RVA = "0x2F17E60", Offset = "0x2F16C60", VA = "0x182F17E60", 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: 0x06001105 RID: 4357 RVA: 0x0000D6B0 File Offset: 0x0000B8B0
|
|
[Token(Token = "0x6001105")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", 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: 0x1700019E RID: 414
|
|
// (get) Token: 0x06001106 RID: 4358 RVA: 0x0000D6C8 File Offset: 0x0000B8C8
|
|
[Token(Token = "0x1700019E")]
|
|
public override int Remaining
|
|
{
|
|
[Token(Token = "0x6001106")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "6")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001107 RID: 4359 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001107")]
|
|
[Address(RVA = "0x2F17E70", Offset = "0x2F16C70", VA = "0x182F17E70")]
|
|
private void Throw(byte[] bytesUnknown, int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> class.</summary>
|
|
// Token: 0x06001108 RID: 4360 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001108")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
public DecoderExceptionFallbackBuffer()
|
|
{
|
|
}
|
|
}
|
|
}
|