using System;
using Cpp2IlInjected;
namespace System.Text
{
/// Provides a failure handling mechanism, called a fallback, for an input character that cannot be converted to an output byte sequence. The fallback uses a user-specified replacement string instead of the original input character. This class cannot be inherited.
// Token: 0x020001D8 RID: 472
[Token(Token = "0x20001D8")]
[Serializable]
public sealed class EncoderReplacementFallback : EncoderFallback
{
/// Initializes a new instance of the class.
// Token: 0x060011B9 RID: 4537 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011B9")]
[Address(RVA = "0xD27260", Offset = "0xD26260", VA = "0x180D27260")]
public EncoderReplacementFallback()
{
}
/// Initializes a new instance of the class using a specified replacement string.
/// A string that is converted in an encoding operation in place of an input character that cannot be encoded.
///
/// is .
///
/// contains an invalid surrogate pair. In other words, the surrogate does not consist of one high surrogate component followed by one low surrogate component.
// Token: 0x060011BA RID: 4538 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011BA")]
[Address(RVA = "0xD272A0", Offset = "0xD262A0", VA = "0x180D272A0")]
public EncoderReplacementFallback(string replacement)
{
}
/// Gets the replacement string that is the value of the object.
/// A substitute string that is used in place of an input character that cannot be encoded.
// Token: 0x170001C0 RID: 448
// (get) Token: 0x060011BB RID: 4539 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C0")]
public string DefaultString
{
[Token(Token = "0x60011BB")]
[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 equal to this object.
// Token: 0x060011BC RID: 4540 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011BC")]
[Address(RVA = "0xD27170", Offset = "0xD26170", VA = "0x180D27170", Slot = "4")]
public override EncoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
/// Gets the number of characters in the replacement string for the object.
/// The number of characters in the string used in place of an input character that cannot be encoded.
// Token: 0x170001C1 RID: 449
// (get) Token: 0x060011BD RID: 4541 RVA: 0x0000DE30 File Offset: 0x0000C030
[Token(Token = "0x170001C1")]
public override int MaxCharCount
{
[Token(Token = "0x60011BD")]
[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 the parameter specifies an object and the replacement string of that object is equal to the replacement string of this object; otherwise, .
// Token: 0x060011BE RID: 4542 RVA: 0x0000DE48 File Offset: 0x0000C048
[Token(Token = "0x60011BE")]
[Address(RVA = "0xD271F0", Offset = "0xD261F0", VA = "0x180D271F0", 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: 0x060011BF RID: 4543 RVA: 0x0000DE60 File Offset: 0x0000C060
[Token(Token = "0x60011BF")]
[Address(RVA = "0x52DDC0", Offset = "0x52CDC0", VA = "0x18052DDC0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000918 RID: 2328
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000918")]
private string strDefault;
}
}