Files
2026-04-10 22:50:51 +02:00

68 lines
3.0 KiB
C#

using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an input character. The fallback throws an exception instead of decoding the input byte sequence. This class cannot be inherited.</summary>
// Token: 0x020001C0 RID: 448
[Token(Token = "0x20001C0")]
[Serializable]
public sealed class DecoderExceptionFallback : DecoderFallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderExceptionFallback" /> class.</summary>
// Token: 0x060010FF RID: 4351 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010FF")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public DecoderExceptionFallback()
{
}
/// <summary>Returns a decoder fallback buffer that throws an exception if it cannot convert a sequence of bytes to a character.</summary>
/// <returns>A decoder fallback buffer that throws an exception when it cannot decode a byte sequence.</returns>
// Token: 0x06001100 RID: 4352 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001100")]
[Address(RVA = "0x2F18070", Offset = "0x2F16E70", VA = "0x182F18070", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
/// <summary>Gets the maximum number of characters this instance can return.</summary>
/// <returns>The return value is always zero.</returns>
// Token: 0x1700019D RID: 413
// (get) Token: 0x06001101 RID: 4353 RVA: 0x0000D650 File Offset: 0x0000B850
[Token(Token = "0x1700019D")]
public override int MaxCharCount
{
[Token(Token = "0x6001101")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Indicates whether the current <see cref="T:System.Text.DecoderExceptionFallback" /> object and a specified object are equal.</summary>
/// <param name="value">An object that derives from the <see cref="T:System.Text.DecoderExceptionFallback" /> class.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is not <see langword="null" /> and is a <see cref="T:System.Text.DecoderExceptionFallback" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06001102 RID: 4354 RVA: 0x0000D668 File Offset: 0x0000B868
[Token(Token = "0x6001102")]
[Address(RVA = "0x2F180C0", Offset = "0x2F16EC0", VA = "0x182F180C0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Retrieves the hash code for this instance.</summary>
/// <returns>The return value is always the same arbitrary value, and has no special significance.</returns>
// Token: 0x06001103 RID: 4355 RVA: 0x0000D680 File Offset: 0x0000B880
[Token(Token = "0x6001103")]
[Address(RVA = "0x2F18110", Offset = "0x2F16F10", VA = "0x182F18110", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
}
}