50 lines
1.9 KiB
C#
50 lines
1.9 KiB
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Text
|
|
{
|
|
/// <summary>The exception that is thrown when a decoder fallback operation fails. This class cannot be inherited.</summary>
|
|
// Token: 0x020001C9 RID: 457
|
|
[Token(Token = "0x20001C9")]
|
|
[Serializable]
|
|
public sealed class DecoderFallbackException : ArgumentException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallbackException" /> class.</summary>
|
|
// 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)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallbackException" /> class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.</summary>
|
|
/// <param name="message">An error message.</param>
|
|
/// <param name="bytesUnknown">The input byte array.</param>
|
|
/// <param name="index">The index position in <paramref name="bytesUnknown" /> of the byte that cannot be decoded.</param>
|
|
// 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;
|
|
}
|
|
}
|