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: 0x020001D1 RID: 465 [Token(Token = "0x20001D1")] [Serializable] public sealed class EncoderReplacementFallback : EncoderFallback { /// Initializes a new instance of the class. // Token: 0x0600117E RID: 4478 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600117E")] [Address(RVA = "0x2F1C660", Offset = "0x2F1B460", VA = "0x182F1C660")] 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: 0x0600117F RID: 4479 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600117F")] [Address(RVA = "0x2F1C6A0", Offset = "0x2F1B4A0", VA = "0x182F1C6A0")] 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: 0x170001B8 RID: 440 // (get) Token: 0x06001180 RID: 4480 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170001B8")] public string DefaultString { [Token(Token = "0x6001180")] [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 equal to this object. // Token: 0x06001181 RID: 4481 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001181")] [Address(RVA = "0x2F1C570", Offset = "0x2F1B370", VA = "0x182F1C570", 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: 0x170001B9 RID: 441 // (get) Token: 0x06001182 RID: 4482 RVA: 0x0000DB00 File Offset: 0x0000BD00 [Token(Token = "0x170001B9")] public override int MaxCharCount { [Token(Token = "0x6001182")] [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 the parameter specifies an object and the replacement string of that object is equal to the replacement string of this object; otherwise, . // Token: 0x06001183 RID: 4483 RVA: 0x0000DB18 File Offset: 0x0000BD18 [Token(Token = "0x6001183")] [Address(RVA = "0x2F1C5F0", Offset = "0x2F1B3F0", VA = "0x182F1C5F0", 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: 0x06001184 RID: 4484 RVA: 0x0000DB30 File Offset: 0x0000BD30 [Token(Token = "0x6001184")] [Address(RVA = "0x4DA3B0", Offset = "0x4D91B0", VA = "0x1804DA3B0", Slot = "2")] public override int GetHashCode() { return 0; } // Token: 0x0400090E RID: 2318 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400090E")] private string strDefault; } }