using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Text { /// Provides the base class for an encoding provider, which supplies encodings that are unavailable on a particular platform. // Token: 0x020001E0 RID: 480 [Token(Token = "0x20001E0")] [ComVisible(true)] public abstract class EncodingProvider { /// Returns the encoding with the specified name. /// The name of the requested encoding. /// The encoding that is associated with the specified name, or if this cannot return a valid encoding that corresponds to . // Token: 0x06001241 RID: 4673 [Token(Token = "0x6001241")] [Address(Slot = "4")] public abstract Encoding GetEncoding(string name); /// Returns the encoding associated with the specified code page identifier. /// The code page identifier of the requested encoding. /// The encoding that is associated with the specified code page, or if this cannot return a valid encoding that corresponds to . // Token: 0x06001242 RID: 4674 [Token(Token = "0x6001242")] [Address(Slot = "5")] public abstract Encoding GetEncoding(int codepage); // Token: 0x06001243 RID: 4675 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001243")] [Address(RVA = "0xD2A710", Offset = "0xD29710", VA = "0x180D2A710")] internal static Encoding GetEncodingFromProvider(int codepage) { return null; } // Token: 0x06001244 RID: 4676 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001244")] [Address(RVA = "0xD2A600", Offset = "0xD29600", VA = "0x180D2A600")] internal static Encoding GetEncodingFromProvider(string encodingName) { return null; } // Token: 0x04000973 RID: 2419 [Token(Token = "0x4000973")] private static object s_InternalSyncObject; // Token: 0x04000974 RID: 2420 [Token(Token = "0x4000974")] private static EncodingProvider[] s_providers; } }