This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
@@ -0,0 +1,100 @@
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. The fallback emits a user-specified replacement string instead of a decoded input byte sequence. This class cannot be inherited.</summary>
// Token: 0x020001C6 RID: 454
[Token(Token = "0x20001C6")]
[Serializable]
public sealed class DecoderReplacementFallback : DecoderFallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderReplacementFallback" /> class.</summary>
// Token: 0x0600112C RID: 4396 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600112C")]
[Address(RVA = "0x2F19B30", Offset = "0x2F18930", VA = "0x182F19B30")]
public DecoderReplacementFallback()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderReplacementFallback" /> class using a specified replacement string.</summary>
/// <param name="replacement">A string that is emitted in a decoding operation in place of an input byte sequence that cannot be decoded.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="replacement" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="replacement" /> contains an invalid surrogate pair. In other words, the surrogate pair does not consist of one high surrogate component followed by one low surrogate component.</exception>
// Token: 0x0600112D RID: 4397 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600112D")]
[Address(RVA = "0x2F19B70", Offset = "0x2F18970", VA = "0x182F19B70")]
public DecoderReplacementFallback(string replacement)
{
}
/// <summary>Gets the replacement string that is the value of the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>A substitute string that is emitted in place of an input byte sequence that cannot be decoded.</returns>
// Token: 0x170001A6 RID: 422
// (get) Token: 0x0600112E RID: 4398 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A6")]
public string DefaultString
{
[Token(Token = "0x600112E")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return null;
}
}
/// <summary>Creates a <see cref="T:System.Text.DecoderFallbackBuffer" /> object that is initialized with the replacement string of this <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>A <see cref="T:System.Text.DecoderFallbackBuffer" /> object that specifies a string to use instead of the original decoding operation input.</returns>
// Token: 0x0600112F RID: 4399 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600112F")]
[Address(RVA = "0x2F19A50", Offset = "0x2F18850", VA = "0x182F19A50", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
/// <summary>Gets the number of characters in the replacement string for the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>The number of characters in the string that is emitted in place of a byte sequence that cannot be decoded, that is, the length of the string returned by the <see cref="P:System.Text.DecoderReplacementFallback.DefaultString" /> property.</returns>
// Token: 0x170001A7 RID: 423
// (get) Token: 0x06001130 RID: 4400 RVA: 0x0000D7D0 File Offset: 0x0000B9D0
[Token(Token = "0x170001A7")]
public override int MaxCharCount
{
[Token(Token = "0x6001130")]
[Address(RVA = "0x2F19D10", Offset = "0x2F18B10", VA = "0x182F19D10", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Indicates whether the value of a specified object is equal to the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <param name="value">A <see cref="T:System.Text.DecoderReplacementFallback" /> object.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.Text.DecoderReplacementFallback" /> object having a <see cref="P:System.Text.DecoderReplacementFallback.DefaultString" /> property that is equal to the <see cref="P:System.Text.DecoderReplacementFallback.DefaultString" /> property of the current <see cref="T:System.Text.DecoderReplacementFallback" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06001131 RID: 4401 RVA: 0x0000D7E8 File Offset: 0x0000B9E8
[Token(Token = "0x6001131")]
[Address(RVA = "0x2F19AC0", Offset = "0x2F188C0", VA = "0x182F19AC0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Retrieves the hash code for the value of the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>The hash code of the value of the object.</returns>
// Token: 0x06001132 RID: 4402 RVA: 0x0000D800 File Offset: 0x0000BA00
[Token(Token = "0x6001132")]
[Address(RVA = "0x4DA3B0", Offset = "0x4D91B0", VA = "0x1804DA3B0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040008EC RID: 2284
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008EC")]
private string strDefault;
}
}