using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// The exception that is thrown when a decoder fallback operation fails. This class cannot be inherited.
// Token: 0x020001C9 RID: 457
[Token(Token = "0x20001C9")]
[Serializable]
public sealed class DecoderFallbackException : ArgumentException
{
/// Initializes a new instance of the class.
// Token: 0x0600113F RID: 4415 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600113F")]
[Address(RVA = "0xD22730", Offset = "0xD21730", VA = "0x180D22730")]
public DecoderFallbackException()
{
}
// Token: 0x06001140 RID: 4416 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001140")]
[Address(RVA = "0x71BEB0", Offset = "0x71AEB0", VA = "0x18071BEB0")]
internal DecoderFallbackException(SerializationInfo info, StreamingContext context)
{
}
/// Initializes a new instance of the class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.
/// An error message.
/// The input byte array.
/// The index position in of the byte that cannot be decoded.
// Token: 0x06001141 RID: 4417 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001141")]
[Address(RVA = "0xD22790", Offset = "0xD21790", VA = "0x180D22790")]
public DecoderFallbackException(string message, byte[] bytesUnknown, int index)
{
}
// Token: 0x040008EA RID: 2282
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x40008EA")]
private byte[] bytesUnknown;
// Token: 0x040008EB RID: 2283
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x40008EB")]
private int index;
}
}