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: 0x020001C2 RID: 450
|
|
[Token(Token = "0x20001C2")]
|
|
[Serializable]
|
|
public sealed class DecoderFallbackException : ArgumentException
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallbackException" /> class.</summary>
|
|
// Token: 0x06001109 RID: 4361 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001109")]
|
|
[Address(RVA = "0x2F18790", Offset = "0x2F17590", VA = "0x182F18790")]
|
|
public DecoderFallbackException()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600110A RID: 4362 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600110A")]
|
|
[Address(RVA = "0x4EF7B0", Offset = "0x4EE5B0", VA = "0x1804EF7B0")]
|
|
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: 0x0600110B RID: 4363 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600110B")]
|
|
[Address(RVA = "0x2F187F0", Offset = "0x2F175F0", VA = "0x182F187F0")]
|
|
public DecoderFallbackException(string message, byte[] bytesUnknown, int index)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040008E0 RID: 2272
|
|
[FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x40008E0")]
|
|
private byte[] bytesUnknown;
|
|
|
|
// Token: 0x040008E1 RID: 2273
|
|
[FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x40008E1")]
|
|
private int index;
|
|
}
|
|
}
|