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: 0x020001D9 RID: 473
[Token(Token = "0x20001D9")]
[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: 0x06001206 RID: 4614
[Token(Token = "0x6001206")]
[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: 0x06001207 RID: 4615
[Token(Token = "0x6001207")]
[Address(Slot = "5")]
public abstract Encoding GetEncoding(int codepage);
// Token: 0x06001208 RID: 4616 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001208")]
[Address(RVA = "0x2F1F540", Offset = "0x2F1E340", VA = "0x182F1F540")]
internal static Encoding GetEncodingFromProvider(int codepage)
{
return null;
}
// Token: 0x06001209 RID: 4617 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001209")]
[Address(RVA = "0x2F1F430", Offset = "0x2F1E230", VA = "0x182F1F430")]
internal static Encoding GetEncodingFromProvider(string encodingName)
{
return null;
}
// Token: 0x04000969 RID: 2409
[Token(Token = "0x4000969")]
private static object s_InternalSyncObject;
// Token: 0x0400096A RID: 2410
[Token(Token = "0x400096A")]
private static EncodingProvider[] s_providers;
}
}