Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Text/DecoderFallback.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

100 lines
3.7 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 output character.</summary>
// Token: 0x020001CA RID: 458
[Token(Token = "0x20001CA")]
[Serializable]
public abstract class DecoderFallback
{
// Token: 0x170001A6 RID: 422
// (get) Token: 0x06001142 RID: 4418 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A6")]
private static object InternalSyncObject
{
[Token(Token = "0x6001142")]
[Address(RVA = "0xD22900", Offset = "0xD21900", VA = "0x180D22900")]
get
{
return null;
}
}
/// <summary>Gets an object that outputs a substitute string in place of an input byte sequence that cannot be decoded.</summary>
/// <returns>A type derived from the <see cref="T:System.Text.DecoderFallback" /> class. The default value is a <see cref="T:System.Text.DecoderReplacementFallback" /> object that emits the QUESTION MARK character ("?", U+003F) in place of unknown byte sequences.</returns>
// Token: 0x170001A7 RID: 423
// (get) Token: 0x06001143 RID: 4419 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A7")]
public static DecoderFallback ReplacementFallback
{
[Token(Token = "0x6001143")]
[Address(RVA = "0xD22990", Offset = "0xD21990", VA = "0x180D22990")]
get
{
return null;
}
}
/// <summary>Gets an object that throws an exception when an input byte sequence cannot be decoded.</summary>
/// <returns>A type derived from the <see cref="T:System.Text.DecoderFallback" /> class. The default value is a <see cref="T:System.Text.DecoderExceptionFallback" /> object.</returns>
// Token: 0x170001A8 RID: 424
// (get) Token: 0x06001144 RID: 4420 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A8")]
public static DecoderFallback ExceptionFallback
{
[Token(Token = "0x6001144")]
[Address(RVA = "0xD227D0", Offset = "0xD217D0", VA = "0x180D227D0")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, initializes a new instance of the <see cref="T:System.Text.DecoderFallbackBuffer" /> class.</summary>
/// <returns>An object that provides a fallback buffer for a decoder.</returns>
// Token: 0x06001145 RID: 4421
[Token(Token = "0x6001145")]
[Address(Slot = "4")]
public abstract DecoderFallbackBuffer CreateFallbackBuffer();
/// <summary>When overridden in a derived class, gets the maximum number of characters the current <see cref="T:System.Text.DecoderFallback" /> object can return.</summary>
/// <returns>The maximum number of characters the current <see cref="T:System.Text.DecoderFallback" /> object can return.</returns>
// Token: 0x170001A9 RID: 425
// (get) Token: 0x06001146 RID: 4422
[Token(Token = "0x170001A9")]
public abstract int MaxCharCount
{
[Token(Token = "0x6001146")]
[Address(Slot = "5")]
get;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallback" /> class.</summary>
// Token: 0x06001147 RID: 4423 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001147")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
protected DecoderFallback()
{
}
// Token: 0x040008EC RID: 2284
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40008EC")]
internal bool bIsMicrosoftBestFitFallback;
// Token: 0x040008ED RID: 2285
[Token(Token = "0x40008ED")]
private static DecoderFallback replacementFallback;
// Token: 0x040008EE RID: 2286
[Token(Token = "0x40008EE")]
private static DecoderFallback exceptionFallback;
// Token: 0x040008EF RID: 2287
[Token(Token = "0x40008EF")]
private static object s_InternalSyncObject;
}
}