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: 0x020001C6 RID: 454 [Token(Token = "0x20001C6")] [Serializable] public sealed class DecoderReplacementFallback : DecoderFallback { /// Initializes a new instance of the class. // Token: 0x0600112C RID: 4396 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600112C")] [Address(RVA = "0x2F19B30", Offset = "0x2F18930", VA = "0x182F19B30")] 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: 0x0600112D RID: 4397 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600112D")] [Address(RVA = "0x2F19B70", Offset = "0x2F18970", VA = "0x182F19B70")] 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: 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; } } /// 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: 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; } /// 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: 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; } } /// 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: 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); } /// Retrieves the hash code for the value of the object. /// The hash code of the value of the object. // 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; } }