using System;
using Cpp2IlInjected;
namespace System.Text
{
/// 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.
// Token: 0x020001CD RID: 461
[Token(Token = "0x20001CD")]
[Serializable]
public sealed class DecoderReplacementFallback : DecoderFallback
{
/// Initializes a new instance of the class.
// Token: 0x06001162 RID: 4450 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001162")]
[Address(RVA = "0xD23AE0", Offset = "0xD22AE0", VA = "0x180D23AE0")]
public DecoderReplacementFallback()
{
}
/// Initializes a new instance of the class using a specified replacement string.
/// A string that is emitted in a decoding operation in place of an input byte sequence that cannot be decoded.
///
/// is .
///
/// 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.
// Token: 0x06001163 RID: 4451 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001163")]
[Address(RVA = "0xD23B20", Offset = "0xD22B20", VA = "0x180D23B20")]
public DecoderReplacementFallback(string replacement)
{
}
/// Gets the replacement string that is the value of the object.
/// A substitute string that is emitted in place of an input byte sequence that cannot be decoded.
// Token: 0x170001AD RID: 429
// (get) Token: 0x06001164 RID: 4452 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001AD")]
public string DefaultString
{
[Token(Token = "0x6001164")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return null;
}
}
/// Creates a object that is initialized with the replacement string of this object.
/// A object that specifies a string to use instead of the original decoding operation input.
// Token: 0x06001165 RID: 4453 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001165")]
[Address(RVA = "0xD23A00", Offset = "0xD22A00", VA = "0x180D23A00", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
/// Gets the number of characters in the replacement string for the object.
/// 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 property.
// Token: 0x170001AE RID: 430
// (get) Token: 0x06001166 RID: 4454 RVA: 0x0000DAE8 File Offset: 0x0000BCE8
[Token(Token = "0x170001AE")]
public override int MaxCharCount
{
[Token(Token = "0x6001166")]
[Address(RVA = "0xD23CC0", Offset = "0xD22CC0", VA = "0x180D23CC0", Slot = "5")]
get
{
return 0;
}
}
/// Indicates whether the value of a specified object is equal to the object.
/// A object.
///
/// if is a object having a property that is equal to the property of the current object; otherwise, .
// Token: 0x06001167 RID: 4455 RVA: 0x0000DB00 File Offset: 0x0000BD00
[Token(Token = "0x6001167")]
[Address(RVA = "0xD23A70", Offset = "0xD22A70", VA = "0x180D23A70", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// Retrieves the hash code for the value of the object.
/// The hash code of the value of the object.
// Token: 0x06001168 RID: 4456 RVA: 0x0000DB18 File Offset: 0x0000BD18
[Token(Token = "0x6001168")]
[Address(RVA = "0x52DDC0", Offset = "0x52CDC0", VA = "0x18052DDC0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040008F6 RID: 2294
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008F6")]
private string strDefault;
}
}