oh dear
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Text
|
||||
{
|
||||
/// <summary>Provides the base class for an encoding provider, which supplies encodings that are unavailable on a particular platform.</summary>
|
||||
// Token: 0x020001D9 RID: 473
|
||||
[Token(Token = "0x20001D9")]
|
||||
[ComVisible(true)]
|
||||
public abstract class EncodingProvider
|
||||
{
|
||||
/// <summary>Returns the encoding with the specified name.</summary>
|
||||
/// <param name="name">The name of the requested encoding.</param>
|
||||
/// <returns>The encoding that is associated with the specified name, or <see langword="null" /> if this <see cref="T:System.Text.EncodingProvider" /> cannot return a valid encoding that corresponds to <paramref name="name" />.</returns>
|
||||
// Token: 0x06001206 RID: 4614
|
||||
[Token(Token = "0x6001206")]
|
||||
[Address(Slot = "4")]
|
||||
public abstract Encoding GetEncoding(string name);
|
||||
|
||||
/// <summary>Returns the encoding associated with the specified code page identifier.</summary>
|
||||
/// <param name="codepage">The code page identifier of the requested encoding.</param>
|
||||
/// <returns>The encoding that is associated with the specified code page, or <see langword="null" /> if this <see cref="T:System.Text.EncodingProvider" /> cannot return a valid encoding that corresponds to <paramref name="codepage" />.</returns>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user