100 lines
3.7 KiB
C#
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: 0x020001C3 RID: 451
|
|
[Token(Token = "0x20001C3")]
|
|
[Serializable]
|
|
public abstract class DecoderFallback
|
|
{
|
|
// Token: 0x1700019F RID: 415
|
|
// (get) Token: 0x0600110C RID: 4364 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x1700019F")]
|
|
private static object InternalSyncObject
|
|
{
|
|
[Token(Token = "0x600110C")]
|
|
[Address(RVA = "0x2F18960", Offset = "0x2F17760", VA = "0x182F18960")]
|
|
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: 0x170001A0 RID: 416
|
|
// (get) Token: 0x0600110D RID: 4365 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170001A0")]
|
|
public static DecoderFallback ReplacementFallback
|
|
{
|
|
[Token(Token = "0x600110D")]
|
|
[Address(RVA = "0x2F189F0", Offset = "0x2F177F0", VA = "0x182F189F0")]
|
|
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: 0x170001A1 RID: 417
|
|
// (get) Token: 0x0600110E RID: 4366 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170001A1")]
|
|
public static DecoderFallback ExceptionFallback
|
|
{
|
|
[Token(Token = "0x600110E")]
|
|
[Address(RVA = "0x2F18830", Offset = "0x2F17630", VA = "0x182F18830")]
|
|
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: 0x0600110F RID: 4367
|
|
[Token(Token = "0x600110F")]
|
|
[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: 0x170001A2 RID: 418
|
|
// (get) Token: 0x06001110 RID: 4368
|
|
[Token(Token = "0x170001A2")]
|
|
public abstract int MaxCharCount
|
|
{
|
|
[Token(Token = "0x6001110")]
|
|
[Address(Slot = "5")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallback" /> class.</summary>
|
|
// Token: 0x06001111 RID: 4369 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001111")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected DecoderFallback()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040008E2 RID: 2274
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40008E2")]
|
|
internal bool bIsMicrosoftBestFitFallback;
|
|
|
|
// Token: 0x040008E3 RID: 2275
|
|
[Token(Token = "0x40008E3")]
|
|
private static DecoderFallback replacementFallback;
|
|
|
|
// Token: 0x040008E4 RID: 2276
|
|
[Token(Token = "0x40008E4")]
|
|
private static DecoderFallback exceptionFallback;
|
|
|
|
// Token: 0x040008E5 RID: 2277
|
|
[Token(Token = "0x40008E5")]
|
|
private static object s_InternalSyncObject;
|
|
}
|
|
}
|