This commit is contained in:
niko
2026-04-10 22:50:51 +02:00
parent 6d1607d5a2
commit f18d448581
17033 changed files with 2863270 additions and 0 deletions
+390
View File
@@ -0,0 +1,390 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents an ASCII character encoding of Unicode characters.</summary>
// Token: 0x020001BC RID: 444
[Token(Token = "0x20001BC")]
[ComVisible(true)]
[Serializable]
public class ASCIIEncoding : Encoding
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.ASCIIEncoding" /> class.</summary>
// Token: 0x060010CF RID: 4303 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010CF")]
[Address(RVA = "0x2C401D0", Offset = "0x2C3EFD0", VA = "0x182C401D0")]
public ASCIIEncoding()
{
}
// Token: 0x060010D0 RID: 4304 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010D0")]
[Address(RVA = "0x2C401A0", Offset = "0x2C3EFA0", VA = "0x182C401A0", Slot = "5")]
internal override void SetDefaultFallbacks()
{
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060010D1 RID: 4305 RVA: 0x0000D398 File Offset: 0x0000B598
[Token(Token = "0x60010D1")]
[Address(RVA = "0x2C3E470", Offset = "0x2C3D270", VA = "0x182C3E470", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
/// <param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060010D2 RID: 4306 RVA: 0x0000D3B0 File Offset: 0x0000B5B0
[Token(Token = "0x60010D2")]
[Address(RVA = "0x2C3E3D0", Offset = "0x2C3D1D0", VA = "0x182C3E3D0", Slot = "12")]
public override int GetByteCount(string chars)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060010D3 RID: 4307 RVA: 0x0000D3C8 File Offset: 0x0000B5C8
[Token(Token = "0x60010D3")]
[Address(RVA = "0x2C3DF70", Offset = "0x2C3CD70", VA = "0x182C3DF70", Slot = "14")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
/// <param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060010D4 RID: 4308 RVA: 0x0000D3E0 File Offset: 0x0000B5E0
[Token(Token = "0x60010D4")]
[Address(RVA = "0x2C3E600", Offset = "0x2C3D400", VA = "0x182C3E600", Slot = "20")]
public override int GetBytes(string chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060010D5 RID: 4309 RVA: 0x0000D3F8 File Offset: 0x0000B5F8
[Token(Token = "0x60010D5")]
[Address(RVA = "0x2C3E860", Offset = "0x2C3D660", VA = "0x182C3E860", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060010D6 RID: 4310 RVA: 0x0000D410 File Offset: 0x0000B610
[Token(Token = "0x60010D6")]
[Address(RVA = "0x2C3EAC0", Offset = "0x2C3D8C0", VA = "0x182C3EAC0", Slot = "22")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010D7 RID: 4311 RVA: 0x0000D428 File Offset: 0x0000B628
[Token(Token = "0x60010D7")]
[Address(RVA = "0x2C3F250", Offset = "0x2C3E050", VA = "0x182C3F250", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010D8 RID: 4312 RVA: 0x0000D440 File Offset: 0x0000B640
[Token(Token = "0x60010D8")]
[Address(RVA = "0x2C3F150", Offset = "0x2C3DF50", VA = "0x182C3F150", Slot = "24")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
/// <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010D9 RID: 4313 RVA: 0x0000D458 File Offset: 0x0000B658
[Token(Token = "0x60010D9")]
[Address(RVA = "0x2C3F6A0", Offset = "0x2C3E4A0", VA = "0x182C3F6A0", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
/// <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010DA RID: 4314 RVA: 0x0000D470 File Offset: 0x0000B670
[Token(Token = "0x60010DA")]
[Address(RVA = "0x2C3F560", Offset = "0x2C3E360", VA = "0x182C3F560", Slot = "29")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
/// <summary>Decodes a range of bytes from a byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010DB RID: 4315 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60010DB")]
[Address(RVA = "0x2C3FF60", Offset = "0x2C3ED60", VA = "0x182C3FF60", Slot = "37")]
public override string GetString(byte[] bytes, int byteIndex, int byteCount)
{
return null;
}
// Token: 0x060010DC RID: 4316 RVA: 0x0000D488 File Offset: 0x0000B688
[Token(Token = "0x60010DC")]
[Address(RVA = "0x2C3E070", Offset = "0x2C3CE70", VA = "0x182C3E070", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int charCount, EncoderNLS encoder)
{
return 0;
}
// Token: 0x060010DD RID: 4317 RVA: 0x0000D4A0 File Offset: 0x0000B6A0
[Token(Token = "0x60010DD")]
[Address(RVA = "0x2C3EC00", Offset = "0x2C3DA00", VA = "0x182C3EC00", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
{
return 0;
}
// Token: 0x060010DE RID: 4318 RVA: 0x0000D4B8 File Offset: 0x0000B6B8
[Token(Token = "0x60010DE")]
[Address(RVA = "0x2C3F3E0", Offset = "0x2C3E1E0", VA = "0x182C3F3E0", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS decoder)
{
return 0;
}
// Token: 0x060010DF RID: 4319 RVA: 0x0000D4D0 File Offset: 0x0000B6D0
[Token(Token = "0x60010DF")]
[Address(RVA = "0x2C3F900", Offset = "0x2C3E700", VA = "0x182C3F900", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS decoder)
{
return 0;
}
/// <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
// Token: 0x060010E0 RID: 4320 RVA: 0x0000D4E8 File Offset: 0x0000B6E8
[Token(Token = "0x60010E0")]
[Address(RVA = "0x2C3FD20", Offset = "0x2C3EB20", VA = "0x182C3FD20", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
/// <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
// Token: 0x060010E1 RID: 4321 RVA: 0x0000D500 File Offset: 0x0000B700
[Token(Token = "0x60010E1")]
[Address(RVA = "0x2C3FE40", Offset = "0x2C3EC40", VA = "0x182C3FE40", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
/// <summary>Obtains a decoder that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters.</summary>
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts an ASCII encoded sequence of bytes into a sequence of Unicode characters.</returns>
// Token: 0x060010E2 RID: 4322 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60010E2")]
[Address(RVA = "0x2C3FC60", Offset = "0x2C3EA60", VA = "0x182C3FC60", Slot = "32")]
[ComVisible(false)]
public override Decoder GetDecoder()
{
return null;
}
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes.</summary>
/// <returns>An <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into an ASCII encoded sequence of bytes.</returns>
// Token: 0x060010E3 RID: 4323 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60010E3")]
[Address(RVA = "0x2C3FCC0", Offset = "0x2C3EAC0", VA = "0x182C3FCC0", Slot = "33")]
[ComVisible(false)]
public override Encoder GetEncoder()
{
return null;
}
}
}
+311
View File
@@ -0,0 +1,311 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Converts a sequence of encoded bytes into a set of characters.</summary>
// Token: 0x020001BD RID: 445
[Token(Token = "0x20001BD")]
[ComVisible(true)]
[Serializable]
public abstract class Decoder
{
// Token: 0x060010E4 RID: 4324 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010E4")]
[Address(RVA = "0x2C40C10", Offset = "0x2C3FA10", VA = "0x182C40C10")]
internal void SerializeDecoder(SerializationInfo info)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.Decoder" /> class.</summary>
// Token: 0x060010E5 RID: 4325 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010E5")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected Decoder()
{
}
/// <summary>Gets or sets a <see cref="T:System.Text.DecoderFallback" /> object for the current <see cref="T:System.Text.Decoder" /> object.</summary>
/// <returns>A <see cref="T:System.Text.DecoderFallback" /> object.</returns>
/// <exception cref="T:System.ArgumentNullException">The value in a set operation is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentException">A new value cannot be assigned in a set operation because the current <see cref="T:System.Text.DecoderFallbackBuffer" /> object contains data that has not been decoded yet.</exception>
// Token: 0x17000197 RID: 407
// (get) Token: 0x060010E6 RID: 4326 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000197")]
[ComVisible(false)]
public DecoderFallback Fallback
{
[Token(Token = "0x60010E6")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Text.DecoderFallbackBuffer" /> object associated with the current <see cref="T:System.Text.Decoder" /> object.</summary>
/// <returns>A <see cref="T:System.Text.DecoderFallbackBuffer" /> object.</returns>
// Token: 0x17000198 RID: 408
// (get) Token: 0x060010E7 RID: 4327 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x17000198")]
[ComVisible(false)]
public DecoderFallbackBuffer FallbackBuffer
{
[Token(Token = "0x60010E7")]
[Address(RVA = "0x2C40C70", Offset = "0x2C3FA70", VA = "0x182C40C70")]
get
{
return null;
}
}
// Token: 0x17000199 RID: 409
// (get) Token: 0x060010E8 RID: 4328 RVA: 0x0000D518 File Offset: 0x0000B718
[Token(Token = "0x17000199")]
internal bool InternalHasFallbackBuffer
{
[Token(Token = "0x60010E8")]
[Address(RVA = "0x1227D50", Offset = "0x1226B50", VA = "0x181227D50")]
get
{
return default(bool);
}
}
/// <summary>When overridden in a derived class, sets the decoder back to its initial state.</summary>
// Token: 0x060010E9 RID: 4329 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010E9")]
[Address(RVA = "0x2C40B40", Offset = "0x2C3F940", VA = "0x182C40B40", Slot = "4")]
[ComVisible(false)]
public virtual void Reset()
{
}
/// <summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010EA RID: 4330
[Token(Token = "0x60010EA")]
[Address(Slot = "5")]
public abstract int GetCharCount(byte[] bytes, int index, int count);
/// <summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array. A parameter indicates whether to clear the internal state of the decoder after the calculation.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <param name="flush">
/// <see langword="true" /> to simulate clearing the internal state of the encoder after the calculation; otherwise, <see langword="false" />.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010EB RID: 4331 RVA: 0x0000D530 File Offset: 0x0000B730
[Token(Token = "0x60010EB")]
[Address(RVA = "0x2C408D0", Offset = "0x2C3F6D0", VA = "0x182C408D0", Slot = "6")]
[ComVisible(false)]
public virtual int GetCharCount(byte[] bytes, int index, int count, bool flush)
{
return 0;
}
/// <summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer. A parameter indicates whether to clear the internal state of the decoder after the calculation.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <param name="flush">
/// <see langword="true" /> to simulate clearing the internal state of the encoder after the calculation; otherwise, <see langword="false" />.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes and any bytes in the internal buffer.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic .NET).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010EC RID: 4332 RVA: 0x0000D548 File Offset: 0x0000B748
[Token(Token = "0x60010EC")]
[Address(RVA = "0x2C40780", Offset = "0x2C3F580", VA = "0x182C40780", Slot = "7")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe virtual int GetCharCount(byte* bytes, int count, bool flush)
{
return 0;
}
/// <summary>When overridden in a derived class, decodes a sequence of bytes from the specified byte array and any bytes in the internal buffer into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010ED RID: 4333
[Token(Token = "0x60010ED")]
[Address(Slot = "8")]
public abstract int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex);
/// <summary>When overridden in a derived class, decodes a sequence of bytes from the specified byte array and any bytes in the internal buffer into the specified character array. A parameter indicates whether to clear the internal state of the decoder after the conversion.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <param name="flush">
/// <see langword="true" /> to clear the internal state of the decoder after the conversion; otherwise, <see langword="false" />.</param>
/// <returns>The actual number of characters written into the <paramref name="chars" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010EE RID: 4334 RVA: 0x0000D560 File Offset: 0x0000B760
[Token(Token = "0x60010EE")]
[Address(RVA = "0x2C40B20", Offset = "0x2C3F920", VA = "0x182C40B20", Slot = "9")]
public virtual int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
{
return 0;
}
/// <summary>When overridden in a derived class, decodes a sequence of bytes starting at the specified byte pointer and any bytes in the internal buffer into a set of characters that are stored starting at the specified character pointer. A parameter indicates whether to clear the internal state of the decoder after the conversion.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <param name="flush">
/// <see langword="true" /> to clear the internal state of the decoder after the conversion; otherwise, <see langword="false" />.</param>
/// <returns>The actual number of characters written at the location indicated by the <paramref name="chars" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010EF RID: 4335 RVA: 0x0000D578 File Offset: 0x0000B778
[Token(Token = "0x60010EF")]
[Address(RVA = "0x2C408F0", Offset = "0x2C3F6F0", VA = "0x182C408F0", Slot = "10")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe virtual int GetChars(byte* bytes, int byteCount, char* chars, int charCount, bool flush)
{
return 0;
}
/// <summary>Converts an array of encoded bytes to UTF-16 encoded characters and stores the result in a character array.</summary>
/// <param name="bytes">A byte array to convert.</param>
/// <param name="byteIndex">The first element of <paramref name="bytes" /> to convert.</param>
/// <param name="byteCount">The number of elements of <paramref name="bytes" /> to convert.</param>
/// <param name="chars">An array to store the converted characters.</param>
/// <param name="charIndex">The first element of <paramref name="chars" /> in which data is stored.</param>
/// <param name="charCount">The maximum number of elements of <paramref name="chars" /> to use in the conversion.</param>
/// <param name="flush">
/// <see langword="true" /> to indicate that no further data is to be converted; otherwise, <see langword="false" />.</param>
/// <param name="bytesUsed">When this method returns, contains the number of bytes that were used in the conversion. This parameter is passed uninitialized.</param>
/// <param name="charsUsed">When this method returns, contains the number of characters from <paramref name="chars" /> that were produced by the conversion. This parameter is passed uninitialized.</param>
/// <param name="completed">When this method returns, contains <see langword="true" /> if all the characters specified by <paramref name="byteCount" /> were converted; otherwise, <see langword="false" />. This parameter is passed uninitialized.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> or <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" />, <paramref name="charCount" />, <paramref name="byteIndex" />, or <paramref name="byteCount" /> is less than zero.
/// -or-
/// The length of <paramref name="chars" /> - <paramref name="charIndex" /> is less than <paramref name="charCount" />.
/// -or-
/// The length of <paramref name="bytes" /> - <paramref name="byteIndex" /> is less than <paramref name="byteCount" />.</exception>
/// <exception cref="T:System.ArgumentException">The output buffer is too small to contain any of the converted input. The output buffer should be greater than or equal to the size indicated by the <see cref="Overload:System.Text.Decoder.GetCharCount" /> method.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010F0 RID: 4336 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010F0")]
[Address(RVA = "0x2C40420", Offset = "0x2C3F220", VA = "0x182C40420", Slot = "11")]
[ComVisible(false)]
public virtual void Convert(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
{
}
/// <summary>Converts a buffer of encoded bytes to UTF-16 encoded characters and stores the result in another buffer.</summary>
/// <param name="bytes">The address of a buffer that contains the byte sequences to convert.</param>
/// <param name="byteCount">The number of bytes in <paramref name="bytes" /> to convert.</param>
/// <param name="chars">The address of a buffer to store the converted characters.</param>
/// <param name="charCount">The maximum number of characters in <paramref name="chars" /> to use in the conversion.</param>
/// <param name="flush">
/// <see langword="true" /> to indicate no further data is to be converted; otherwise, <see langword="false" />.</param>
/// <param name="bytesUsed">When this method returns, contains the number of bytes that were produced by the conversion. This parameter is passed uninitialized.</param>
/// <param name="charsUsed">When this method returns, contains the number of characters from <paramref name="chars" /> that were used in the conversion. This parameter is passed uninitialized.</param>
/// <param name="completed">When this method returns, contains <see langword="true" /> if all the characters specified by <paramref name="byteCount" /> were converted; otherwise, <see langword="false" />. This parameter is passed uninitialized.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> or <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">The output buffer is too small to contain any of the converted input. The output buffer should be greater than or equal to the size indicated by the <see cref="Overload:System.Text.Decoder.GetCharCount" /> method.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Decoder.Fallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060010F1 RID: 4337 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010F1")]
[Address(RVA = "0x2C401E0", Offset = "0x2C3EFE0", VA = "0x182C401E0", Slot = "12")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe virtual void Convert(byte* bytes, int byteCount, char* chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
{
}
// Token: 0x040008D6 RID: 2262
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40008D6")]
internal DecoderFallback m_fallback;
// Token: 0x040008D7 RID: 2263
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008D7")]
[NonSerialized]
internal DecoderFallbackBuffer m_fallbackBuffer;
}
}
@@ -0,0 +1,67 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an input character. The fallback throws an exception instead of decoding the input byte sequence. This class cannot be inherited.</summary>
// Token: 0x020001C0 RID: 448
[Token(Token = "0x20001C0")]
[Serializable]
public sealed class DecoderExceptionFallback : DecoderFallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderExceptionFallback" /> class.</summary>
// Token: 0x060010FF RID: 4351 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010FF")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public DecoderExceptionFallback()
{
}
/// <summary>Returns a decoder fallback buffer that throws an exception if it cannot convert a sequence of bytes to a character.</summary>
/// <returns>A decoder fallback buffer that throws an exception when it cannot decode a byte sequence.</returns>
// Token: 0x06001100 RID: 4352 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001100")]
[Address(RVA = "0x2F18070", Offset = "0x2F16E70", VA = "0x182F18070", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
/// <summary>Gets the maximum number of characters this instance can return.</summary>
/// <returns>The return value is always zero.</returns>
// Token: 0x1700019D RID: 413
// (get) Token: 0x06001101 RID: 4353 RVA: 0x0000D650 File Offset: 0x0000B850
[Token(Token = "0x1700019D")]
public override int MaxCharCount
{
[Token(Token = "0x6001101")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Indicates whether the current <see cref="T:System.Text.DecoderExceptionFallback" /> object and a specified object are equal.</summary>
/// <param name="value">An object that derives from the <see cref="T:System.Text.DecoderExceptionFallback" /> class.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is not <see langword="null" /> and is a <see cref="T:System.Text.DecoderExceptionFallback" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06001102 RID: 4354 RVA: 0x0000D668 File Offset: 0x0000B868
[Token(Token = "0x6001102")]
[Address(RVA = "0x2F180C0", Offset = "0x2F16EC0", VA = "0x182F180C0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Retrieves the hash code for this instance.</summary>
/// <returns>The return value is always the same arbitrary value, and has no special significance.</returns>
// Token: 0x06001103 RID: 4355 RVA: 0x0000D680 File Offset: 0x0000B880
[Token(Token = "0x6001103")]
[Address(RVA = "0x2F18110", Offset = "0x2F16F10", VA = "0x182F18110", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
}
}
@@ -0,0 +1,67 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Throws <see cref="T:System.Text.DecoderFallbackException" /> when an encoded input byte sequence cannot be converted to a decoded output character. This class cannot be inherited.</summary>
// Token: 0x020001C1 RID: 449
[Token(Token = "0x20001C1")]
public sealed class DecoderExceptionFallbackBuffer : DecoderFallbackBuffer
{
/// <summary>Throws <see cref="T:System.Text.DecoderFallbackException" /> when the input byte sequence cannot be decoded. The nominal return value is not used.</summary>
/// <param name="bytesUnknown">An input array of bytes.</param>
/// <param name="index">The index position of a byte in the input.</param>
/// <returns>None. No value is returned because the <see cref="M:System.Text.DecoderExceptionFallbackBuffer.Fallback(System.Byte[],System.Int32)" /> method always throws an exception.
/// The nominal return value is <see langword="true" />. A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
/// <exception cref="T:System.Text.DecoderFallbackException">This method always throws an exception that reports the value and index position of the input byte that cannot be decoded.</exception>
// Token: 0x06001104 RID: 4356 RVA: 0x0000D698 File Offset: 0x0000B898
[Token(Token = "0x6001104")]
[Address(RVA = "0x2F17E60", Offset = "0x2F16C60", VA = "0x182F17E60", Slot = "4")]
public override bool Fallback(byte[] bytesUnknown, int index)
{
return default(bool);
}
/// <summary>Retrieves the next character in the exception data buffer.</summary>
/// <returns>The return value is always the Unicode character NULL (U+0000).
/// A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
// Token: 0x06001105 RID: 4357 RVA: 0x0000D6B0 File Offset: 0x0000B8B0
[Token(Token = "0x6001105")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "5")]
public override char GetNextChar()
{
return '\0';
}
/// <summary>Gets the number of characters in the current <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> object that remain to be processed.</summary>
/// <returns>The return value is always zero.
/// A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
// Token: 0x1700019E RID: 414
// (get) Token: 0x06001106 RID: 4358 RVA: 0x0000D6C8 File Offset: 0x0000B8C8
[Token(Token = "0x1700019E")]
public override int Remaining
{
[Token(Token = "0x6001106")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "6")]
get
{
return 0;
}
}
// Token: 0x06001107 RID: 4359 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001107")]
[Address(RVA = "0x2F17E70", Offset = "0x2F16C70", VA = "0x182F17E70")]
private void Throw(byte[] bytesUnknown, int index)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderExceptionFallbackBuffer" /> class.</summary>
// Token: 0x06001108 RID: 4360 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001108")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public DecoderExceptionFallbackBuffer()
{
}
}
}
+99
View File
@@ -0,0 +1,99 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a failure-handling mechanism, called a fallback, for an encoded input byte sequence that cannot be converted to an output character.</summary>
// Token: 0x020001C3 RID: 451
[Token(Token = "0x20001C3")]
[Serializable]
public abstract class DecoderFallback
{
// Token: 0x1700019F RID: 415
// (get) Token: 0x0600110C RID: 4364 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700019F")]
private static object InternalSyncObject
{
[Token(Token = "0x600110C")]
[Address(RVA = "0x2F18960", Offset = "0x2F17760", VA = "0x182F18960")]
get
{
return null;
}
}
/// <summary>Gets an object that outputs a substitute string in place of an input byte sequence that cannot be decoded.</summary>
/// <returns>A type derived from the <see cref="T:System.Text.DecoderFallback" /> class. The default value is a <see cref="T:System.Text.DecoderReplacementFallback" /> object that emits the QUESTION MARK character ("?", U+003F) in place of unknown byte sequences.</returns>
// Token: 0x170001A0 RID: 416
// (get) Token: 0x0600110D RID: 4365 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A0")]
public static DecoderFallback ReplacementFallback
{
[Token(Token = "0x600110D")]
[Address(RVA = "0x2F189F0", Offset = "0x2F177F0", VA = "0x182F189F0")]
get
{
return null;
}
}
/// <summary>Gets an object that throws an exception when an input byte sequence cannot be decoded.</summary>
/// <returns>A type derived from the <see cref="T:System.Text.DecoderFallback" /> class. The default value is a <see cref="T:System.Text.DecoderExceptionFallback" /> object.</returns>
// Token: 0x170001A1 RID: 417
// (get) Token: 0x0600110E RID: 4366 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A1")]
public static DecoderFallback ExceptionFallback
{
[Token(Token = "0x600110E")]
[Address(RVA = "0x2F18830", Offset = "0x2F17630", VA = "0x182F18830")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, initializes a new instance of the <see cref="T:System.Text.DecoderFallbackBuffer" /> class.</summary>
/// <returns>An object that provides a fallback buffer for a decoder.</returns>
// Token: 0x0600110F RID: 4367
[Token(Token = "0x600110F")]
[Address(Slot = "4")]
public abstract DecoderFallbackBuffer CreateFallbackBuffer();
/// <summary>When overridden in a derived class, gets the maximum number of characters the current <see cref="T:System.Text.DecoderFallback" /> object can return.</summary>
/// <returns>The maximum number of characters the current <see cref="T:System.Text.DecoderFallback" /> object can return.</returns>
// Token: 0x170001A2 RID: 418
// (get) Token: 0x06001110 RID: 4368
[Token(Token = "0x170001A2")]
public abstract int MaxCharCount
{
[Token(Token = "0x6001110")]
[Address(Slot = "5")]
get;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallback" /> class.</summary>
// Token: 0x06001111 RID: 4369 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001111")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected DecoderFallback()
{
}
// Token: 0x040008E2 RID: 2274
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40008E2")]
internal bool bIsMicrosoftBestFitFallback;
// Token: 0x040008E3 RID: 2275
[Token(Token = "0x40008E3")]
private static DecoderFallback replacementFallback;
// Token: 0x040008E4 RID: 2276
[Token(Token = "0x40008E4")]
private static DecoderFallback exceptionFallback;
// Token: 0x040008E5 RID: 2277
[Token(Token = "0x40008E5")]
private static object s_InternalSyncObject;
}
}
@@ -0,0 +1,103 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a buffer that allows a fallback handler to return an alternate string to a decoder when it cannot decode an input byte sequence.</summary>
// Token: 0x020001C4 RID: 452
[Token(Token = "0x20001C4")]
public abstract class DecoderFallbackBuffer
{
/// <summary>When overridden in a derived class, prepares the fallback buffer to handle the specified input byte sequence.</summary>
/// <param name="bytesUnknown">An input array of bytes.</param>
/// <param name="index">The index position of a byte in <paramref name="bytesUnknown" />.</param>
/// <returns>
/// <see langword="true" /> if the fallback buffer can process <paramref name="bytesUnknown" />; <see langword="false" /> if the fallback buffer ignores <paramref name="bytesUnknown" />.</returns>
// Token: 0x06001112 RID: 4370
[Token(Token = "0x6001112")]
[Address(Slot = "4")]
public abstract bool Fallback(byte[] bytesUnknown, int index);
/// <summary>When overridden in a derived class, retrieves the next character in the fallback buffer.</summary>
/// <returns>The next character in the fallback buffer.</returns>
// Token: 0x06001113 RID: 4371
[Token(Token = "0x6001113")]
[Address(Slot = "5")]
public abstract char GetNextChar();
/// <summary>When overridden in a derived class, gets the number of characters in the current <see cref="T:System.Text.DecoderFallbackBuffer" /> object that remain to be processed.</summary>
/// <returns>The number of characters in the current fallback buffer that have not yet been processed.</returns>
// Token: 0x170001A3 RID: 419
// (get) Token: 0x06001114 RID: 4372
[Token(Token = "0x170001A3")]
public abstract int Remaining
{
[Token(Token = "0x6001114")]
[Address(Slot = "6")]
get;
}
/// <summary>Initializes all data and state information pertaining to this fallback buffer.</summary>
// Token: 0x06001115 RID: 4373 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001115")]
[Address(RVA = "0x2F18580", Offset = "0x2F17380", VA = "0x182F18580", Slot = "7")]
public virtual void Reset()
{
}
// Token: 0x06001116 RID: 4374 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001116")]
[Address(RVA = "0x2F18560", Offset = "0x2F17360", VA = "0x182F18560")]
internal void InternalReset()
{
}
// Token: 0x06001117 RID: 4375 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001117")]
[Address(RVA = "0x18A0730", Offset = "0x189F530", VA = "0x1818A0730")]
internal unsafe void InternalInitialize(byte* byteStart, char* charEnd)
{
}
// Token: 0x06001118 RID: 4376 RVA: 0x0000D6E0 File Offset: 0x0000B8E0
[Token(Token = "0x6001118")]
[Address(RVA = "0x2F18120", Offset = "0x2F16F20", VA = "0x182F18120", Slot = "8")]
internal unsafe virtual bool InternalFallback(byte[] bytes, byte* pBytes, ref char* chars)
{
return default(bool);
}
// Token: 0x06001119 RID: 4377 RVA: 0x0000D6F8 File Offset: 0x0000B8F8
[Token(Token = "0x6001119")]
[Address(RVA = "0x2F18350", Offset = "0x2F17150", VA = "0x182F18350", Slot = "9")]
internal unsafe virtual int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x0600111A RID: 4378 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600111A")]
[Address(RVA = "0x2F185B0", Offset = "0x2F173B0", VA = "0x182F185B0")]
internal void ThrowLastBytesRecursive(byte[] bytesUnknown)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallbackBuffer" /> class.</summary>
// Token: 0x0600111B RID: 4379 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600111B")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected DecoderFallbackBuffer()
{
}
// Token: 0x040008E6 RID: 2278
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40008E6")]
internal unsafe byte* byteStart;
// Token: 0x040008E7 RID: 2279
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008E7")]
internal unsafe char* charEnd;
}
}
@@ -0,0 +1,49 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>The exception that is thrown when a decoder fallback operation fails. This class cannot be inherited.</summary>
// Token: 0x020001C2 RID: 450
[Token(Token = "0x20001C2")]
[Serializable]
public sealed class DecoderFallbackException : ArgumentException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallbackException" /> class.</summary>
// Token: 0x06001109 RID: 4361 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001109")]
[Address(RVA = "0x2F18790", Offset = "0x2F17590", VA = "0x182F18790")]
public DecoderFallbackException()
{
}
// Token: 0x0600110A RID: 4362 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600110A")]
[Address(RVA = "0x4EF7B0", Offset = "0x4EE5B0", VA = "0x1804EF7B0")]
internal DecoderFallbackException(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderFallbackException" /> class. Parameters specify the error message, the array of bytes being decoded, and the index of the byte that cannot be decoded.</summary>
/// <param name="message">An error message.</param>
/// <param name="bytesUnknown">The input byte array.</param>
/// <param name="index">The index position in <paramref name="bytesUnknown" /> of the byte that cannot be decoded.</param>
// Token: 0x0600110B RID: 4363 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600110B")]
[Address(RVA = "0x2F187F0", Offset = "0x2F175F0", VA = "0x182F187F0")]
public DecoderFallbackException(string message, byte[] bytesUnknown, int index)
{
}
// Token: 0x040008E0 RID: 2272
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x40008E0")]
private byte[] bytesUnknown;
// Token: 0x040008E1 RID: 2273
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x40008E1")]
private int index;
}
}
+165
View File
@@ -0,0 +1,165 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001C5 RID: 453
[Token(Token = "0x20001C5")]
[Serializable]
internal class DecoderNLS : Decoder, ISerializable
{
// Token: 0x0600111C RID: 4380 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600111C")]
[Address(RVA = "0x2F19860", Offset = "0x2F18660", VA = "0x182F19860")]
internal DecoderNLS(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600111D RID: 4381 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600111D")]
[Address(RVA = "0x2F19720", Offset = "0x2F18520", VA = "0x182F19720", Slot = "13")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600111E RID: 4382 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600111E")]
[Address(RVA = "0x2F197D0", Offset = "0x2F185D0", VA = "0x182F197D0")]
internal DecoderNLS(Encoding encoding)
{
}
// Token: 0x0600111F RID: 4383 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600111F")]
[Address(RVA = "0x2F19820", Offset = "0x2F18620", VA = "0x182F19820")]
internal DecoderNLS()
{
}
// Token: 0x06001120 RID: 4384 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001120")]
[Address(RVA = "0x2F19700", Offset = "0x2F18500", VA = "0x182F19700", Slot = "4")]
public override void Reset()
{
}
// Token: 0x06001121 RID: 4385 RVA: 0x0000D710 File Offset: 0x0000B910
[Token(Token = "0x6001121")]
[Address(RVA = "0x5C0860", Offset = "0x5BF660", VA = "0x1805C0860", Slot = "5")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
// Token: 0x06001122 RID: 4386 RVA: 0x0000D728 File Offset: 0x0000B928
[Token(Token = "0x6001122")]
[Address(RVA = "0x2F19140", Offset = "0x2F17F40", VA = "0x182F19140", Slot = "6")]
public override int GetCharCount(byte[] bytes, int index, int count, bool flush)
{
return 0;
}
// Token: 0x06001123 RID: 4387 RVA: 0x0000D740 File Offset: 0x0000B940
[Token(Token = "0x6001123")]
[Address(RVA = "0x2F19020", Offset = "0x2F17E20", VA = "0x182F19020", Slot = "7")]
public unsafe override int GetCharCount(byte* bytes, int count, bool flush)
{
return 0;
}
// Token: 0x06001124 RID: 4388 RVA: 0x0000D758 File Offset: 0x0000B958
[Token(Token = "0x6001124")]
[Address(RVA = "0x2F196C0", Offset = "0x2F184C0", VA = "0x182F196C0", Slot = "8")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
// Token: 0x06001125 RID: 4389 RVA: 0x0000D770 File Offset: 0x0000B970
[Token(Token = "0x6001125")]
[Address(RVA = "0x2F192F0", Offset = "0x2F180F0", VA = "0x182F192F0", Slot = "9")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
{
return 0;
}
// Token: 0x06001126 RID: 4390 RVA: 0x0000D788 File Offset: 0x0000B988
[Token(Token = "0x6001126")]
[Address(RVA = "0x2F19570", Offset = "0x2F18370", VA = "0x182F19570", Slot = "10")]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, bool flush)
{
return 0;
}
// Token: 0x06001127 RID: 4391 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001127")]
[Address(RVA = "0x2F18D10", Offset = "0x2F17B10", VA = "0x182F18D10", Slot = "11")]
public override void Convert(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
{
}
// Token: 0x06001128 RID: 4392 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001128")]
[Address(RVA = "0x2F18B40", Offset = "0x2F17940", VA = "0x182F18B40", Slot = "12")]
public unsafe override void Convert(byte* bytes, int byteCount, char* chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
{
}
// Token: 0x170001A4 RID: 420
// (get) Token: 0x06001129 RID: 4393 RVA: 0x0000D7A0 File Offset: 0x0000B9A0
[Token(Token = "0x170001A4")]
public bool MustFlush
{
[Token(Token = "0x6001129")]
[Address(RVA = "0x494270", Offset = "0x493070", VA = "0x180494270")]
get
{
return default(bool);
}
}
// Token: 0x170001A5 RID: 421
// (get) Token: 0x0600112A RID: 4394 RVA: 0x0000D7B8 File Offset: 0x0000B9B8
[Token(Token = "0x170001A5")]
internal virtual bool HasState
{
[Token(Token = "0x600112A")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "14")]
get
{
return default(bool);
}
}
// Token: 0x0600112B RID: 4395 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600112B")]
[Address(RVA = "0xABCAA0", Offset = "0xABB8A0", VA = "0x180ABCAA0")]
internal void ClearMustFlush()
{
}
// Token: 0x040008E8 RID: 2280
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008E8")]
protected Encoding m_encoding;
// Token: 0x040008E9 RID: 2281
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40008E9")]
[NonSerialized]
protected bool m_mustFlush;
// Token: 0x040008EA RID: 2282
[FieldOffset(Offset = "0x29")]
[Token(Token = "0x40008EA")]
[NonSerialized]
internal bool m_throwOnOverflow;
// Token: 0x040008EB RID: 2283
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x40008EB")]
[NonSerialized]
internal int m_bytesUsed;
}
}
@@ -0,0 +1,100 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>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.</summary>
// Token: 0x020001C6 RID: 454
[Token(Token = "0x20001C6")]
[Serializable]
public sealed class DecoderReplacementFallback : DecoderFallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderReplacementFallback" /> class.</summary>
// Token: 0x0600112C RID: 4396 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600112C")]
[Address(RVA = "0x2F19B30", Offset = "0x2F18930", VA = "0x182F19B30")]
public DecoderReplacementFallback()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderReplacementFallback" /> class using a specified replacement string.</summary>
/// <param name="replacement">A string that is emitted in a decoding operation in place of an input byte sequence that cannot be decoded.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="replacement" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="replacement" /> 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.</exception>
// Token: 0x0600112D RID: 4397 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600112D")]
[Address(RVA = "0x2F19B70", Offset = "0x2F18970", VA = "0x182F19B70")]
public DecoderReplacementFallback(string replacement)
{
}
/// <summary>Gets the replacement string that is the value of the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>A substitute string that is emitted in place of an input byte sequence that cannot be decoded.</returns>
// 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;
}
}
/// <summary>Creates a <see cref="T:System.Text.DecoderFallbackBuffer" /> object that is initialized with the replacement string of this <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>A <see cref="T:System.Text.DecoderFallbackBuffer" /> object that specifies a string to use instead of the original decoding operation input.</returns>
// 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;
}
/// <summary>Gets the number of characters in the replacement string for the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>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 <see cref="P:System.Text.DecoderReplacementFallback.DefaultString" /> property.</returns>
// 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;
}
}
/// <summary>Indicates whether the value of a specified object is equal to the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <param name="value">A <see cref="T:System.Text.DecoderReplacementFallback" /> object.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.Text.DecoderReplacementFallback" /> object having a <see cref="P:System.Text.DecoderReplacementFallback.DefaultString" /> property that is equal to the <see cref="P:System.Text.DecoderReplacementFallback.DefaultString" /> property of the current <see cref="T:System.Text.DecoderReplacementFallback" /> object; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Retrieves the hash code for the value of the <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <returns>The hash code of the value of the object.</returns>
// 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;
}
}
@@ -0,0 +1,90 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a substitute output string that is emitted when the original input byte sequence cannot be decoded. This class cannot be inherited.</summary>
// Token: 0x020001C7 RID: 455
[Token(Token = "0x20001C7")]
public sealed class DecoderReplacementFallbackBuffer : DecoderFallbackBuffer
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.DecoderReplacementFallbackBuffer" /> class using the value of a <see cref="T:System.Text.DecoderReplacementFallback" /> object.</summary>
/// <param name="fallback">A <see cref="T:System.Text.DecoderReplacementFallback" /> object that contains a replacement string.</param>
// Token: 0x06001133 RID: 4403 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001133")]
[Address(RVA = "0x2F19A00", Offset = "0x2F18800", VA = "0x182F19A00")]
public DecoderReplacementFallbackBuffer(DecoderReplacementFallback fallback)
{
}
/// <summary>Prepares the replacement fallback buffer to use the current replacement string.</summary>
/// <param name="bytesUnknown">An input byte sequence. This parameter is ignored unless an exception is thrown.</param>
/// <param name="index">The index position of the byte in <paramref name="bytesUnknown" />. This parameter is ignored in this operation.</param>
/// <returns>
/// <see langword="true" /> if the replacement string is not empty; <see langword="false" /> if the replacement string is empty.</returns>
/// <exception cref="T:System.ArgumentException">This method is called again before the <see cref="M:System.Text.DecoderReplacementFallbackBuffer.GetNextChar" /> method has read all the characters in the replacement fallback buffer.</exception>
// Token: 0x06001134 RID: 4404 RVA: 0x0000D818 File Offset: 0x0000BA18
[Token(Token = "0x6001134")]
[Address(RVA = "0x2F19920", Offset = "0x2F18720", VA = "0x182F19920", Slot = "4")]
public override bool Fallback(byte[] bytesUnknown, int index)
{
return default(bool);
}
/// <summary>Retrieves the next character in the replacement fallback buffer.</summary>
/// <returns>The next character in the replacement fallback buffer.</returns>
// Token: 0x06001135 RID: 4405 RVA: 0x0000D830 File Offset: 0x0000BA30
[Token(Token = "0x6001135")]
[Address(RVA = "0x2F19970", Offset = "0x2F18770", VA = "0x182F19970", Slot = "5")]
public override char GetNextChar()
{
return '\0';
}
/// <summary>Gets the number of characters in the replacement fallback buffer that remain to be processed.</summary>
/// <returns>The number of characters in the replacement fallback buffer that have not yet been processed.</returns>
// Token: 0x170001A8 RID: 424
// (get) Token: 0x06001136 RID: 4406 RVA: 0x0000D848 File Offset: 0x0000BA48
[Token(Token = "0x170001A8")]
public override int Remaining
{
[Token(Token = "0x6001136")]
[Address(RVA = "0x2F19A40", Offset = "0x2F18840", VA = "0x182F19A40", Slot = "6")]
get
{
return 0;
}
}
/// <summary>Initializes all internal state information and data in the <see cref="T:System.Text.DecoderReplacementFallbackBuffer" /> object.</summary>
// Token: 0x06001137 RID: 4407 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001137")]
[Address(RVA = "0x2F199E0", Offset = "0x2F187E0", VA = "0x182F199E0", Slot = "7")]
public override void Reset()
{
}
// Token: 0x06001138 RID: 4408 RVA: 0x0000D860 File Offset: 0x0000BA60
[Token(Token = "0x6001138")]
[Address(RVA = "0x2F199C0", Offset = "0x2F187C0", VA = "0x182F199C0", Slot = "9")]
internal unsafe override int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x040008ED RID: 2285
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008ED")]
private string strDefault;
// Token: 0x040008EE RID: 2286
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40008EE")]
private int fallbackCount;
// Token: 0x040008EF RID: 2287
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x40008EF")]
private int fallbackIndex;
}
}
+202
View File
@@ -0,0 +1,202 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Converts a set of characters into a sequence of bytes.</summary>
// Token: 0x020001C8 RID: 456
[Token(Token = "0x20001C8")]
[ComVisible(true)]
[Serializable]
public abstract class Encoder
{
// Token: 0x06001139 RID: 4409 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001139")]
[Address(RVA = "0x2F1CCB0", Offset = "0x2F1BAB0", VA = "0x182F1CCB0")]
internal void SerializeEncoder(SerializationInfo info)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.Encoder" /> class.</summary>
// Token: 0x0600113A RID: 4410 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600113A")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected Encoder()
{
}
/// <summary>Gets or sets a <see cref="T:System.Text.EncoderFallback" /> object for the current <see cref="T:System.Text.Encoder" /> object.</summary>
/// <returns>A <see cref="T:System.Text.EncoderFallback" /> object.</returns>
/// <exception cref="T:System.ArgumentNullException">The value in a set operation is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentException">A new value cannot be assigned in a set operation because the current <see cref="T:System.Text.EncoderFallbackBuffer" /> object contains data that has not been encoded yet.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoder.Fallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x170001A9 RID: 425
// (get) Token: 0x0600113B RID: 4411 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001A9")]
[ComVisible(false)]
public EncoderFallback Fallback
{
[Token(Token = "0x600113B")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Text.EncoderFallbackBuffer" /> object associated with the current <see cref="T:System.Text.Encoder" /> object.</summary>
/// <returns>A <see cref="T:System.Text.EncoderFallbackBuffer" /> object.</returns>
// Token: 0x170001AA RID: 426
// (get) Token: 0x0600113C RID: 4412 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001AA")]
[ComVisible(false)]
public EncoderFallbackBuffer FallbackBuffer
{
[Token(Token = "0x600113C")]
[Address(RVA = "0x2F1CD10", Offset = "0x2F1BB10", VA = "0x182F1CD10")]
get
{
return null;
}
}
// Token: 0x170001AB RID: 427
// (get) Token: 0x0600113D RID: 4413 RVA: 0x0000D878 File Offset: 0x0000BA78
[Token(Token = "0x170001AB")]
internal bool InternalHasFallbackBuffer
{
[Token(Token = "0x600113D")]
[Address(RVA = "0x1227D50", Offset = "0x1226B50", VA = "0x181227D50")]
get
{
return default(bool);
}
}
/// <summary>When overridden in a derived class, sets the encoder back to its initial state.</summary>
// Token: 0x0600113E RID: 4414 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600113E")]
[Address(RVA = "0x2F1CBE0", Offset = "0x2F1B9E0", VA = "0x182F1CBE0", Slot = "4")]
[ComVisible(false)]
public virtual void Reset()
{
}
/// <summary>When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array. A parameter indicates whether to clear the internal state of the encoder after the calculation.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <param name="flush">
/// <see langword="true" /> to simulate clearing the internal state of the encoder after the calculation; otherwise, <see langword="false" />.</param>
/// <returns>The number of bytes produced by encoding the specified characters and any characters in the internal buffer.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoder.Fallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x0600113F RID: 4415
[Token(Token = "0x600113F")]
[Address(Slot = "5")]
public abstract int GetByteCount(char[] chars, int index, int count, bool flush);
/// <summary>When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer. A parameter indicates whether to clear the internal state of the encoder after the calculation.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <param name="flush">
/// <see langword="true" /> to simulate clearing the internal state of the encoder after the calculation; otherwise, <see langword="false" />.</param>
/// <returns>The number of bytes produced by encoding the specified characters and any characters in the internal buffer.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic .NET).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoder.Fallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001140 RID: 4416 RVA: 0x0000D890 File Offset: 0x0000BA90
[Token(Token = "0x6001140")]
[Address(RVA = "0x2F1C840", Offset = "0x2F1B640", VA = "0x182F1C840", Slot = "6")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe virtual int GetByteCount(char* chars, int count, bool flush)
{
return 0;
}
/// <summary>When overridden in a derived class, encodes a set of characters from the specified character array and any characters in the internal buffer into the specified byte array. A parameter indicates whether to clear the internal state of the encoder after the conversion.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <param name="flush">
/// <see langword="true" /> to clear the internal state of the encoder after the conversion; otherwise, <see langword="false" />.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoder.Fallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001141 RID: 4417
[Token(Token = "0x6001141")]
[Address(Slot = "7")]
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush);
/// <summary>When overridden in a derived class, encodes a set of characters starting at the specified character pointer and any characters in the internal buffer into a sequence of bytes that are stored starting at the specified byte pointer. A parameter indicates whether to clear the internal state of the encoder after the conversion.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <param name="flush">
/// <see langword="true" /> to clear the internal state of the encoder after the conversion; otherwise, <see langword="false" />.</param>
/// <returns>The actual number of bytes written at the location indicated by the <paramref name="bytes" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoder.Fallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001142 RID: 4418 RVA: 0x0000D8A8 File Offset: 0x0000BAA8
[Token(Token = "0x6001142")]
[Address(RVA = "0x2F1C9B0", Offset = "0x2F1B7B0", VA = "0x182F1C9B0", Slot = "8")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe virtual int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, bool flush)
{
return 0;
}
// Token: 0x040008F0 RID: 2288
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40008F0")]
internal EncoderFallback m_fallback;
// Token: 0x040008F1 RID: 2289
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008F1")]
[NonSerialized]
internal EncoderFallbackBuffer m_fallbackBuffer;
}
}
@@ -0,0 +1,67 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a failure-handling mechanism, called a fallback, for an input character that cannot be converted to an output byte sequence. The fallback throws an exception if an input character cannot be converted to an output byte sequence. This class cannot be inherited.</summary>
// Token: 0x020001CB RID: 459
[Token(Token = "0x20001CB")]
[Serializable]
public sealed class EncoderExceptionFallback : EncoderFallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderExceptionFallback" /> class.</summary>
// Token: 0x06001151 RID: 4433 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001151")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public EncoderExceptionFallback()
{
}
/// <summary>Returns an encoder fallback buffer that throws an exception if it cannot convert a character sequence to a byte sequence.</summary>
/// <returns>An encoder fallback buffer that throws an exception when it cannot encode a character sequence.</returns>
// Token: 0x06001152 RID: 4434 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001152")]
[Address(RVA = "0x2F1AD50", Offset = "0x2F19B50", VA = "0x182F1AD50", Slot = "4")]
public override EncoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
/// <summary>Gets the maximum number of characters this instance can return.</summary>
/// <returns>The return value is always zero.</returns>
// Token: 0x170001AF RID: 431
// (get) Token: 0x06001153 RID: 4435 RVA: 0x0000D998 File Offset: 0x0000BB98
[Token(Token = "0x170001AF")]
public override int MaxCharCount
{
[Token(Token = "0x6001153")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Indicates whether the current <see cref="T:System.Text.EncoderExceptionFallback" /> object and a specified object are equal.</summary>
/// <param name="value">An object that derives from the <see cref="T:System.Text.EncoderExceptionFallback" /> class.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is not <see langword="null" /> (<see langword="Nothing" /> in Visual Basic .NET) and is a <see cref="T:System.Text.EncoderExceptionFallback" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x06001154 RID: 4436 RVA: 0x0000D9B0 File Offset: 0x0000BBB0
[Token(Token = "0x6001154")]
[Address(RVA = "0x2F1ADA0", Offset = "0x2F19BA0", VA = "0x182F1ADA0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Retrieves the hash code for this instance.</summary>
/// <returns>The return value is always the same arbitrary value, and has no special significance.</returns>
// Token: 0x06001155 RID: 4437 RVA: 0x0000D9C8 File Offset: 0x0000BBC8
[Token(Token = "0x6001155")]
[Address(RVA = "0x2F1ADF0", Offset = "0x2F19BF0", VA = "0x182F1ADF0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
}
}
@@ -0,0 +1,86 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Throws <see cref="T:System.Text.EncoderFallbackException" /> when an input character cannot be converted to an encoded output byte sequence. This class cannot be inherited.</summary>
// Token: 0x020001CC RID: 460
[Token(Token = "0x20001CC")]
public sealed class EncoderExceptionFallbackBuffer : EncoderFallbackBuffer
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> class.</summary>
// Token: 0x06001156 RID: 4438 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001156")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public EncoderExceptionFallbackBuffer()
{
}
/// <summary>Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the character that cannot be converted.</summary>
/// <param name="charUnknown">An input character.</param>
/// <param name="index">The index position of the character in the input buffer.</param>
/// <returns>None. No value is returned because the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Int32)" /> method always throws an exception.</returns>
/// <exception cref="T:System.Text.EncoderFallbackException">
/// <paramref name="charUnknown" /> cannot be encoded. This method always throws an exception that reports the value of the <paramref name="charUnknown" /> and <paramref name="index" /> parameters.</exception>
// Token: 0x06001157 RID: 4439 RVA: 0x0000D9E0 File Offset: 0x0000BBE0
[Token(Token = "0x6001157")]
[Address(RVA = "0x2F1A8E0", Offset = "0x2F196E0", VA = "0x182F1A8E0", Slot = "4")]
public override bool Fallback(char charUnknown, int index)
{
return default(bool);
}
/// <summary>Throws an exception because the input character cannot be encoded. Parameters specify the value and index position of the surrogate pair in the input, and the nominal return value is not used.</summary>
/// <param name="charUnknownHigh">The high surrogate of the input pair.</param>
/// <param name="charUnknownLow">The low surrogate of the input pair.</param>
/// <param name="index">The index position of the surrogate pair in the input buffer.</param>
/// <returns>None. No value is returned because the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.Fallback(System.Char,System.Char,System.Int32)" /> method always throws an exception.</returns>
/// <exception cref="T:System.Text.EncoderFallbackException">The character represented by <paramref name="charUnknownHigh" /> and <paramref name="charUnknownLow" /> cannot be encoded.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">Either <paramref name="charUnknownHigh" /> or <paramref name="charUnknownLow" /> is invalid. <paramref name="charUnknownHigh" /> is not between U+D800 and U+DBFF, inclusive, or <paramref name="charUnknownLow" /> is not between U+DC00 and U+DFFF, inclusive.</exception>
// Token: 0x06001158 RID: 4440 RVA: 0x0000D9F8 File Offset: 0x0000BBF8
[Token(Token = "0x6001158")]
[Address(RVA = "0x2F1A9F0", Offset = "0x2F197F0", VA = "0x182F1A9F0", Slot = "5")]
public override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
{
return default(bool);
}
/// <summary>Retrieves the next character in the exception fallback buffer.</summary>
/// <returns>The return value is always the Unicode character, NULL (U+0000).
/// A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
// Token: 0x06001159 RID: 4441 RVA: 0x0000DA10 File Offset: 0x0000BC10
[Token(Token = "0x6001159")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "6")]
public override char GetNextChar()
{
return '\0';
}
/// <summary>Causes the next call to the <see cref="M:System.Text.EncoderExceptionFallbackBuffer.GetNextChar" /> method to access the exception data buffer character position that is prior to the current position.</summary>
/// <returns>The return value is always <see langword="false" />.
/// A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
// Token: 0x0600115A RID: 4442 RVA: 0x0000DA28 File Offset: 0x0000BC28
[Token(Token = "0x600115A")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "7")]
public override bool MovePrevious()
{
return default(bool);
}
/// <summary>Gets the number of characters in the current <see cref="T:System.Text.EncoderExceptionFallbackBuffer" /> object that remain to be processed.</summary>
/// <returns>The return value is always zero.
/// A return value is defined, although it is unchanging, because this method implements an abstract method.</returns>
// Token: 0x170001B0 RID: 432
// (get) Token: 0x0600115B RID: 4443 RVA: 0x0000DA40 File Offset: 0x0000BC40
[Token(Token = "0x170001B0")]
public override int Remaining
{
[Token(Token = "0x600115B")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "8")]
get
{
return 0;
}
}
}
}
+99
View File
@@ -0,0 +1,99 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a failure-handling mechanism, called a fallback, for an input character that cannot be converted to an encoded output byte sequence.</summary>
// Token: 0x020001CE RID: 462
[Token(Token = "0x20001CE")]
[Serializable]
public abstract class EncoderFallback
{
// Token: 0x170001B1 RID: 433
// (get) Token: 0x06001160 RID: 4448 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001B1")]
private static object InternalSyncObject
{
[Token(Token = "0x6001160")]
[Address(RVA = "0x2F1B590", Offset = "0x2F1A390", VA = "0x182F1B590")]
get
{
return null;
}
}
/// <summary>Gets an object that outputs a substitute string in place of an input character that cannot be encoded.</summary>
/// <returns>A type derived from the <see cref="T:System.Text.EncoderFallback" /> class. The default value is a <see cref="T:System.Text.EncoderReplacementFallback" /> object that replaces unknown input characters with the QUESTION MARK character ("?", U+003F).</returns>
// Token: 0x170001B2 RID: 434
// (get) Token: 0x06001161 RID: 4449 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001B2")]
public static EncoderFallback ReplacementFallback
{
[Token(Token = "0x6001161")]
[Address(RVA = "0x2F1B620", Offset = "0x2F1A420", VA = "0x182F1B620")]
get
{
return null;
}
}
/// <summary>Gets an object that throws an exception when an input character cannot be encoded.</summary>
/// <returns>A type derived from the <see cref="T:System.Text.EncoderFallback" /> class. The default value is a <see cref="T:System.Text.EncoderExceptionFallback" /> object.</returns>
// Token: 0x170001B3 RID: 435
// (get) Token: 0x06001162 RID: 4450 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001B3")]
public static EncoderFallback ExceptionFallback
{
[Token(Token = "0x6001162")]
[Address(RVA = "0x2F1B460", Offset = "0x2F1A260", VA = "0x182F1B460")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, initializes a new instance of the <see cref="T:System.Text.EncoderFallbackBuffer" /> class.</summary>
/// <returns>An object that provides a fallback buffer for an encoder.</returns>
// Token: 0x06001163 RID: 4451
[Token(Token = "0x6001163")]
[Address(Slot = "4")]
public abstract EncoderFallbackBuffer CreateFallbackBuffer();
/// <summary>When overridden in a derived class, gets the maximum number of characters the current <see cref="T:System.Text.EncoderFallback" /> object can return.</summary>
/// <returns>The maximum number of characters the current <see cref="T:System.Text.EncoderFallback" /> object can return.</returns>
// Token: 0x170001B4 RID: 436
// (get) Token: 0x06001164 RID: 4452
[Token(Token = "0x170001B4")]
public abstract int MaxCharCount
{
[Token(Token = "0x6001164")]
[Address(Slot = "5")]
get;
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderFallback" /> class.</summary>
// Token: 0x06001165 RID: 4453 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001165")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected EncoderFallback()
{
}
// Token: 0x040008FD RID: 2301
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40008FD")]
internal bool bIsMicrosoftBestFitFallback;
// Token: 0x040008FE RID: 2302
[Token(Token = "0x40008FE")]
private static EncoderFallback replacementFallback;
// Token: 0x040008FF RID: 2303
[Token(Token = "0x40008FF")]
private static EncoderFallback exceptionFallback;
// Token: 0x04000900 RID: 2304
[Token(Token = "0x4000900")]
private static object s_InternalSyncObject;
}
}
@@ -0,0 +1,151 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Provides a buffer that allows a fallback handler to return an alternate string to an encoder when it cannot encode an input character.</summary>
// Token: 0x020001CF RID: 463
[Token(Token = "0x20001CF")]
public abstract class EncoderFallbackBuffer
{
/// <summary>When overridden in a derived class, prepares the fallback buffer to handle the specified input character.</summary>
/// <param name="charUnknown">An input character.</param>
/// <param name="index">The index position of the character in the input buffer.</param>
/// <returns>
/// <see langword="true" /> if the fallback buffer can process <paramref name="charUnknown" />; <see langword="false" /> if the fallback buffer ignores <paramref name="charUnknown" />.</returns>
// Token: 0x06001166 RID: 4454
[Token(Token = "0x6001166")]
[Address(Slot = "4")]
public abstract bool Fallback(char charUnknown, int index);
/// <summary>When overridden in a derived class, prepares the fallback buffer to handle the specified surrogate pair.</summary>
/// <param name="charUnknownHigh">The high surrogate of the input pair.</param>
/// <param name="charUnknownLow">The low surrogate of the input pair.</param>
/// <param name="index">The index position of the surrogate pair in the input buffer.</param>
/// <returns>
/// <see langword="true" /> if the fallback buffer can process <paramref name="charUnknownHigh" /> and <paramref name="charUnknownLow" />; <see langword="false" /> if the fallback buffer ignores the surrogate pair.</returns>
// Token: 0x06001167 RID: 4455
[Token(Token = "0x6001167")]
[Address(Slot = "5")]
public abstract bool Fallback(char charUnknownHigh, char charUnknownLow, int index);
/// <summary>When overridden in a derived class, retrieves the next character in the fallback buffer.</summary>
/// <returns>The next character in the fallback buffer.</returns>
// Token: 0x06001168 RID: 4456
[Token(Token = "0x6001168")]
[Address(Slot = "6")]
public abstract char GetNextChar();
/// <summary>When overridden in a derived class, causes the next call to the <see cref="M:System.Text.EncoderFallbackBuffer.GetNextChar" /> method to access the data buffer character position that is prior to the current character position.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="M:System.Text.EncoderFallbackBuffer.MovePrevious" /> operation was successful; otherwise, <see langword="false" />.</returns>
// Token: 0x06001169 RID: 4457
[Token(Token = "0x6001169")]
[Address(Slot = "7")]
public abstract bool MovePrevious();
/// <summary>When overridden in a derived class, gets the number of characters in the current <see cref="T:System.Text.EncoderFallbackBuffer" /> object that remain to be processed.</summary>
/// <returns>The number of characters in the current fallback buffer that have not yet been processed.</returns>
// Token: 0x170001B5 RID: 437
// (get) Token: 0x0600116A RID: 4458
[Token(Token = "0x170001B5")]
public abstract int Remaining
{
[Token(Token = "0x600116A")]
[Address(Slot = "8")]
get;
}
/// <summary>Initializes all data and state information pertaining to this fallback buffer.</summary>
// Token: 0x0600116B RID: 4459 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600116B")]
[Address(RVA = "0x2F1B050", Offset = "0x2F19E50", VA = "0x182F1B050", Slot = "9")]
public virtual void Reset()
{
}
// Token: 0x0600116C RID: 4460 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600116C")]
[Address(RVA = "0x2F1B030", Offset = "0x2F19E30", VA = "0x182F1B030")]
internal void InternalReset()
{
}
// Token: 0x0600116D RID: 4461 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600116D")]
[Address(RVA = "0x2F1B000", Offset = "0x2F19E00", VA = "0x182F1B000")]
internal unsafe void InternalInitialize(char* charStart, char* charEnd, EncoderNLS encoder, bool setEncoder)
{
}
// Token: 0x0600116E RID: 4462 RVA: 0x0000DA58 File Offset: 0x0000BC58
[Token(Token = "0x600116E")]
[Address(RVA = "0x2F1AFC0", Offset = "0x2F19DC0", VA = "0x182F1AFC0")]
internal char InternalGetNextChar()
{
return '\0';
}
// Token: 0x0600116F RID: 4463 RVA: 0x0000DA70 File Offset: 0x0000BC70
[Token(Token = "0x600116F")]
[Address(RVA = "0x2F1AE00", Offset = "0x2F19C00", VA = "0x182F1AE00", Slot = "10")]
internal unsafe virtual bool InternalFallback(char ch, ref char* chars)
{
return default(bool);
}
// Token: 0x06001170 RID: 4464 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001170")]
[Address(RVA = "0x2F1B080", Offset = "0x2F19E80", VA = "0x182F1B080")]
internal void ThrowLastCharRecursive(int charRecursive)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderFallbackBuffer" /> class.</summary>
// Token: 0x06001171 RID: 4465 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001171")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected EncoderFallbackBuffer()
{
}
// Token: 0x04000901 RID: 2305
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000901")]
internal unsafe char* charStart;
// Token: 0x04000902 RID: 2306
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000902")]
internal unsafe char* charEnd;
// Token: 0x04000903 RID: 2307
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000903")]
internal EncoderNLS encoder;
// Token: 0x04000904 RID: 2308
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000904")]
internal bool setEncoder;
// Token: 0x04000905 RID: 2309
[FieldOffset(Offset = "0x29")]
[Token(Token = "0x4000905")]
internal bool bUsedEncoder;
// Token: 0x04000906 RID: 2310
[FieldOffset(Offset = "0x2A")]
[Token(Token = "0x4000906")]
internal bool bFallingBack;
// Token: 0x04000907 RID: 2311
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x4000907")]
internal int iRecursionCount;
// Token: 0x04000908 RID: 2312
[Token(Token = "0x4000908")]
private const int iMaxRecursion = 250;
}
}
@@ -0,0 +1,62 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>The exception that is thrown when an encoder fallback operation fails. This class cannot be inherited.</summary>
// Token: 0x020001CD RID: 461
[Token(Token = "0x20001CD")]
[Serializable]
public sealed class EncoderFallbackException : ArgumentException
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderFallbackException" /> class.</summary>
// Token: 0x0600115C RID: 4444 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600115C")]
[Address(RVA = "0x2F1B3C0", Offset = "0x2F1A1C0", VA = "0x182F1B3C0")]
public EncoderFallbackException()
{
}
// Token: 0x0600115D RID: 4445 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600115D")]
[Address(RVA = "0x4EF7B0", Offset = "0x4EE5B0", VA = "0x1804EF7B0")]
internal EncoderFallbackException(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600115E RID: 4446 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600115E")]
[Address(RVA = "0x2F1B420", Offset = "0x2F1A220", VA = "0x182F1B420")]
internal EncoderFallbackException(string message, char charUnknown, int index)
{
}
// Token: 0x0600115F RID: 4447 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600115F")]
[Address(RVA = "0x2F1B140", Offset = "0x2F19F40", VA = "0x182F1B140")]
internal EncoderFallbackException(string message, char charUnknownHigh, char charUnknownLow, int index)
{
}
// Token: 0x040008F9 RID: 2297
[FieldOffset(Offset = "0x90")]
[Token(Token = "0x40008F9")]
private char charUnknown;
// Token: 0x040008FA RID: 2298
[FieldOffset(Offset = "0x92")]
[Token(Token = "0x40008FA")]
private char charUnknownHigh;
// Token: 0x040008FB RID: 2299
[FieldOffset(Offset = "0x94")]
[Token(Token = "0x40008FB")]
private char charUnknownLow;
// Token: 0x040008FC RID: 2300
[FieldOffset(Offset = "0x98")]
[Token(Token = "0x40008FC")]
private int index;
}
}
+140
View File
@@ -0,0 +1,140 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001D0 RID: 464
[Token(Token = "0x20001D0")]
[Serializable]
internal class EncoderNLS : Encoder, ISerializable
{
// Token: 0x06001172 RID: 4466 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001172")]
[Address(RVA = "0x2F1BF70", Offset = "0x2F1AD70", VA = "0x182F1BF70")]
internal EncoderNLS(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06001173 RID: 4467 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001173")]
[Address(RVA = "0x2F1BE40", Offset = "0x2F1AC40", VA = "0x182F1BE40", Slot = "9")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06001174 RID: 4468 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001174")]
[Address(RVA = "0x2F1BF20", Offset = "0x2F1AD20", VA = "0x182F1BF20")]
internal EncoderNLS(Encoding encoding)
{
}
// Token: 0x06001175 RID: 4469 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001175")]
[Address(RVA = "0x2F1C030", Offset = "0x2F1AE30", VA = "0x182F1C030")]
internal EncoderNLS()
{
}
// Token: 0x06001176 RID: 4470 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001176")]
[Address(RVA = "0x2F1BE10", Offset = "0x2F1AC10", VA = "0x182F1BE10", Slot = "4")]
public override void Reset()
{
}
// Token: 0x06001177 RID: 4471 RVA: 0x0000DA88 File Offset: 0x0000BC88
[Token(Token = "0x6001177")]
[Address(RVA = "0x2F1B770", Offset = "0x2F1A570", VA = "0x182F1B770", Slot = "5")]
public override int GetByteCount(char[] chars, int index, int count, bool flush)
{
return 0;
}
// Token: 0x06001178 RID: 4472 RVA: 0x0000DAA0 File Offset: 0x0000BCA0
[Token(Token = "0x6001178")]
[Address(RVA = "0x2F1B920", Offset = "0x2F1A720", VA = "0x182F1B920", Slot = "6")]
public unsafe override int GetByteCount(char* chars, int count, bool flush)
{
return 0;
}
// Token: 0x06001179 RID: 4473 RVA: 0x0000DAB8 File Offset: 0x0000BCB8
[Token(Token = "0x6001179")]
[Address(RVA = "0x2F1BA40", Offset = "0x2F1A840", VA = "0x182F1BA40", Slot = "7")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush)
{
return 0;
}
// Token: 0x0600117A RID: 4474 RVA: 0x0000DAD0 File Offset: 0x0000BCD0
[Token(Token = "0x600117A")]
[Address(RVA = "0x2F1BCC0", Offset = "0x2F1AAC0", VA = "0x182F1BCC0", Slot = "8")]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, bool flush)
{
return 0;
}
// Token: 0x170001B6 RID: 438
// (get) Token: 0x0600117B RID: 4475 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001B6")]
public Encoding Encoding
{
[Token(Token = "0x600117B")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return null;
}
}
// Token: 0x170001B7 RID: 439
// (get) Token: 0x0600117C RID: 4476 RVA: 0x0000DAE8 File Offset: 0x0000BCE8
[Token(Token = "0x170001B7")]
public bool MustFlush
{
[Token(Token = "0x600117C")]
[Address(RVA = "0x4364F0", Offset = "0x4352F0", VA = "0x1804364F0")]
get
{
return default(bool);
}
}
// Token: 0x0600117D RID: 4477 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600117D")]
[Address(RVA = "0x2514930", Offset = "0x2513730", VA = "0x182514930")]
internal void ClearMustFlush()
{
}
// Token: 0x04000909 RID: 2313
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000909")]
internal char charLeftOver;
// Token: 0x0400090A RID: 2314
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400090A")]
protected Encoding m_encoding;
// Token: 0x0400090B RID: 2315
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400090B")]
[NonSerialized]
protected bool m_mustFlush;
// Token: 0x0400090C RID: 2316
[FieldOffset(Offset = "0x31")]
[Token(Token = "0x400090C")]
[NonSerialized]
internal bool m_throwOnOverflow;
// Token: 0x0400090D RID: 2317
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x400090D")]
[NonSerialized]
internal int m_charsUsed;
}
}
@@ -0,0 +1,100 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>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.</summary>
// Token: 0x020001D1 RID: 465
[Token(Token = "0x20001D1")]
[Serializable]
public sealed class EncoderReplacementFallback : EncoderFallback
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderReplacementFallback" /> class.</summary>
// Token: 0x0600117E RID: 4478 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600117E")]
[Address(RVA = "0x2F1C660", Offset = "0x2F1B460", VA = "0x182F1C660")]
public EncoderReplacementFallback()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderReplacementFallback" /> class using a specified replacement string.</summary>
/// <param name="replacement">A string that is converted in an encoding operation in place of an input character that cannot be encoded.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="replacement" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="replacement" /> contains an invalid surrogate pair. In other words, the surrogate does not consist of one high surrogate component followed by one low surrogate component.</exception>
// Token: 0x0600117F RID: 4479 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600117F")]
[Address(RVA = "0x2F1C6A0", Offset = "0x2F1B4A0", VA = "0x182F1C6A0")]
public EncoderReplacementFallback(string replacement)
{
}
/// <summary>Gets the replacement string that is the value of the <see cref="T:System.Text.EncoderReplacementFallback" /> object.</summary>
/// <returns>A substitute string that is used in place of an input character that cannot be encoded.</returns>
// 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;
}
}
/// <summary>Creates a <see cref="T:System.Text.EncoderFallbackBuffer" /> object that is initialized with the replacement string of this <see cref="T:System.Text.EncoderReplacementFallback" /> object.</summary>
/// <returns>A <see cref="T:System.Text.EncoderFallbackBuffer" /> object equal to this <see cref="T:System.Text.EncoderReplacementFallback" /> object.</returns>
// 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;
}
/// <summary>Gets the number of characters in the replacement string for the <see cref="T:System.Text.EncoderReplacementFallback" /> object.</summary>
/// <returns>The number of characters in the string used in place of an input character that cannot be encoded.</returns>
// 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;
}
}
/// <summary>Indicates whether the value of a specified object is equal to the <see cref="T:System.Text.EncoderReplacementFallback" /> object.</summary>
/// <param name="value">A <see cref="T:System.Text.EncoderReplacementFallback" /> object.</param>
/// <returns>
/// <see langword="true" /> if the <paramref name="value" /> parameter specifies an <see cref="T:System.Text.EncoderReplacementFallback" /> object and the replacement string of that object is equal to the replacement string of this <see cref="T:System.Text.EncoderReplacementFallback" /> object; otherwise, <see langword="false" />.</returns>
// 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);
}
/// <summary>Retrieves the hash code for the value of the <see cref="T:System.Text.EncoderReplacementFallback" /> object.</summary>
/// <returns>The hash code of the value of the object.</returns>
// 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;
}
}
@@ -0,0 +1,111 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a substitute input string that is used when the original input character cannot be encoded. This class cannot be inherited.</summary>
// Token: 0x020001D2 RID: 466
[Token(Token = "0x20001D2")]
public sealed class EncoderReplacementFallbackBuffer : EncoderFallbackBuffer
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.EncoderReplacementFallbackBuffer" /> class using the value of a <see cref="T:System.Text.EncoderReplacementFallback" /> object.</summary>
/// <param name="fallback">A <see cref="T:System.Text.EncoderReplacementFallback" /> object.</param>
// Token: 0x06001185 RID: 4485 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001185")]
[Address(RVA = "0x2F1C510", Offset = "0x2F1B310", VA = "0x182F1C510")]
public EncoderReplacementFallbackBuffer(EncoderReplacementFallback fallback)
{
}
/// <summary>Prepares the replacement fallback buffer to use the current replacement string.</summary>
/// <param name="charUnknown">An input character. This parameter is ignored in this operation unless an exception is thrown.</param>
/// <param name="index">The index position of the character in the input buffer. This parameter is ignored in this operation.</param>
/// <returns>
/// <see langword="true" /> if the replacement string is not empty; <see langword="false" /> if the replacement string is empty.</returns>
/// <exception cref="T:System.ArgumentException">This method is called again before the <see cref="M:System.Text.EncoderReplacementFallbackBuffer.GetNextChar" /> method has read all the characters in the replacement fallback buffer.</exception>
// Token: 0x06001186 RID: 4486 RVA: 0x0000DB48 File Offset: 0x0000BD48
[Token(Token = "0x6001186")]
[Address(RVA = "0x2F1C330", Offset = "0x2F1B130", VA = "0x182F1C330", Slot = "4")]
public override bool Fallback(char charUnknown, int index)
{
return default(bool);
}
/// <summary>Indicates whether a replacement string can be used when an input surrogate pair cannot be encoded, or whether the surrogate pair can be ignored. Parameters specify the surrogate pair and the index position of the pair in the input.</summary>
/// <param name="charUnknownHigh">The high surrogate of the input pair.</param>
/// <param name="charUnknownLow">The low surrogate of the input pair.</param>
/// <param name="index">The index position of the surrogate pair in the input buffer.</param>
/// <returns>
/// <see langword="true" /> if the replacement string is not empty; <see langword="false" /> if the replacement string is empty.</returns>
/// <exception cref="T:System.ArgumentException">This method is called again before the <see cref="M:System.Text.EncoderReplacementFallbackBuffer.GetNextChar" /> method has read all the replacement string characters.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="charUnknownHigh" /> is less than U+D800 or greater than U+D8FF.
/// -or-
/// The value of <paramref name="charUnknownLow" /> is less than U+DC00 or greater than U+DFFF.</exception>
// Token: 0x06001187 RID: 4487 RVA: 0x0000DB60 File Offset: 0x0000BD60
[Token(Token = "0x6001187")]
[Address(RVA = "0x2F1C070", Offset = "0x2F1AE70", VA = "0x182F1C070", Slot = "5")]
public override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
{
return default(bool);
}
/// <summary>Retrieves the next character in the replacement fallback buffer.</summary>
/// <returns>The next Unicode character in the replacement fallback buffer that the application can encode.</returns>
// Token: 0x06001188 RID: 4488 RVA: 0x0000DB78 File Offset: 0x0000BD78
[Token(Token = "0x6001188")]
[Address(RVA = "0x2F1C480", Offset = "0x2F1B280", VA = "0x182F1C480", Slot = "6")]
public override char GetNextChar()
{
return '\0';
}
/// <summary>Causes the next call to the <see cref="M:System.Text.EncoderReplacementFallbackBuffer.GetNextChar" /> method to access the character position in the replacement fallback buffer prior to the current character position.</summary>
/// <returns>
/// <see langword="true" /> if the <see cref="M:System.Text.EncoderReplacementFallbackBuffer.MovePrevious" /> operation was successful; otherwise, <see langword="false" />.</returns>
// Token: 0x06001189 RID: 4489 RVA: 0x0000DB90 File Offset: 0x0000BD90
[Token(Token = "0x6001189")]
[Address(RVA = "0x2F1C4D0", Offset = "0x2F1B2D0", VA = "0x182F1C4D0", Slot = "7")]
public override bool MovePrevious()
{
return default(bool);
}
/// <summary>Gets the number of characters in the replacement fallback buffer that remain to be processed.</summary>
/// <returns>The number of characters in the replacement fallback buffer that have not yet been processed.</returns>
// Token: 0x170001BA RID: 442
// (get) Token: 0x0600118A RID: 4490 RVA: 0x0000DBA8 File Offset: 0x0000BDA8
[Token(Token = "0x170001BA")]
public override int Remaining
{
[Token(Token = "0x600118A")]
[Address(RVA = "0x2F1C560", Offset = "0x2F1B360", VA = "0x182F1C560", Slot = "8")]
get
{
return 0;
}
}
/// <summary>Initializes all internal state information and data in this instance of <see cref="T:System.Text.EncoderReplacementFallbackBuffer" />.</summary>
// Token: 0x0600118B RID: 4491 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600118B")]
[Address(RVA = "0x2F1C4F0", Offset = "0x2F1B2F0", VA = "0x182F1C4F0", Slot = "9")]
public override void Reset()
{
}
// Token: 0x0400090F RID: 2319
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400090F")]
private string strDefault;
// Token: 0x04000910 RID: 2320
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000910")]
private int fallbackCount;
// Token: 0x04000911 RID: 2321
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x4000911")]
private int fallbackIndex;
}
}
+1714
View File
@@ -0,0 +1,1714 @@
using System;
using System.Collections;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a character encoding.</summary>
// Token: 0x020001D3 RID: 467
[Token(Token = "0x20001D3")]
[ComVisible(true)]
[Serializable]
public abstract class Encoding : ICloneable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.Encoding" /> class.</summary>
// Token: 0x0600118C RID: 4492 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600118C")]
[Address(RVA = "0x2F22180", Offset = "0x2F20F80", VA = "0x182F22180")]
protected Encoding()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.Encoding" /> class that corresponds to the specified code page.</summary>
/// <param name="codePage">The code page identifier of the preferred encoding.
/// -or-
/// 0, to use the default encoding.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="codePage" /> is less than zero.</exception>
// Token: 0x0600118D RID: 4493 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600118D")]
[Address(RVA = "0x2F220F0", Offset = "0x2F20EF0", VA = "0x182F220F0")]
protected Encoding(int codePage)
{
}
// Token: 0x0600118E RID: 4494 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600118E")]
[Address(RVA = "0x2F21D50", Offset = "0x2F20B50", VA = "0x182F21D50", Slot = "5")]
internal virtual void SetDefaultFallbacks()
{
}
// Token: 0x0600118F RID: 4495 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600118F")]
[Address(RVA = "0x2F21C30", Offset = "0x2F20A30", VA = "0x182F21C30")]
internal void OnDeserializing()
{
}
// Token: 0x06001190 RID: 4496 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001190")]
[Address(RVA = "0x2F21BE0", Offset = "0x2F209E0", VA = "0x182F21BE0")]
internal void OnDeserialized()
{
}
// Token: 0x06001191 RID: 4497 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001191")]
[Address(RVA = "0x2F21C30", Offset = "0x2F20A30", VA = "0x182F21C30")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x06001192 RID: 4498 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001192")]
[Address(RVA = "0x2F21BE0", Offset = "0x2F209E0", VA = "0x182F21BE0")]
[OnDeserialized]
private void OnDeserialized(StreamingContext ctx)
{
}
// Token: 0x06001193 RID: 4499 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001193")]
[Address(RVA = "0x1506400", Offset = "0x1505200", VA = "0x181506400")]
[OnSerializing]
private void OnSerializing(StreamingContext ctx)
{
}
// Token: 0x06001194 RID: 4500 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001194")]
[Address(RVA = "0x2F1F7A0", Offset = "0x2F1E5A0", VA = "0x182F1F7A0")]
internal void DeserializeEncoding(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06001195 RID: 4501 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001195")]
[Address(RVA = "0x2F21C40", Offset = "0x2F20A40", VA = "0x182F21C40")]
internal void SerializeEncoding(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x170001BB RID: 443
// (get) Token: 0x06001196 RID: 4502 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001BB")]
private static object InternalSyncObject
{
[Token(Token = "0x6001196")]
[Address(RVA = "0x2F22470", Offset = "0x2F21270", VA = "0x182F22470")]
get
{
return null;
}
}
/// <summary>Returns the encoding associated with the specified code page identifier.</summary>
/// <param name="codepage">The code page identifier of the preferred encoding. Possible values are listed in the Code Page column of the table that appears in the <see cref="T:System.Text.Encoding" /> class topic.
/// -or-
/// 0 (zero), to use the default encoding.</param>
/// <returns>The encoding that is associated with the specified code page.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="codepage" /> is less than zero or greater than 65535.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="codepage" /> is not supported by the underlying platform.</exception>
/// <exception cref="T:System.NotSupportedException">
/// <paramref name="codepage" /> is not supported by the underlying platform.</exception>
// Token: 0x06001197 RID: 4503 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001197")]
[Address(RVA = "0x2F20AA0", Offset = "0x2F1F8A0", VA = "0x182F20AA0")]
public static Encoding GetEncoding(int codepage)
{
return null;
}
/// <summary>Returns the encoding associated with the specified code page name.</summary>
/// <param name="name">The code page name of the preferred encoding. Any value returned by the <see cref="P:System.Text.Encoding.WebName" /> property is valid. Possible values are listed in the Name column of the table that appears in the <see cref="T:System.Text.Encoding" /> class topic.</param>
/// <returns>The encoding associated with the specified code page.</returns>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="name" /> is not a valid code page name.
/// -or-
/// The code page indicated by <paramref name="name" /> is not supported by the underlying platform.</exception>
// Token: 0x06001198 RID: 4504 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001198")]
[Address(RVA = "0x2F217C0", Offset = "0x2F205C0", VA = "0x182F217C0")]
public static Encoding GetEncoding(string name)
{
return null;
}
/// <summary>When overridden in a derived class, returns a sequence of bytes that specifies the encoding used.</summary>
/// <returns>A byte array containing a sequence of bytes that specifies the encoding used.
/// -or-
/// A byte array of length zero, if a preamble is not required.</returns>
// Token: 0x06001199 RID: 4505 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001199")]
[Address(RVA = "0x2F219B0", Offset = "0x2F207B0", VA = "0x182F219B0", Slot = "6")]
public virtual byte[] GetPreamble()
{
return null;
}
// Token: 0x0600119A RID: 4506 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600119A")]
[Address(RVA = "0x2F208D0", Offset = "0x2F1F6D0", VA = "0x182F208D0")]
private void GetDataItem()
{
}
/// <summary>When overridden in a derived class, gets a name for the current encoding that can be used with mail agent body tags.</summary>
/// <returns>A name for the current <see cref="T:System.Text.Encoding" /> that can be used with mail agent body tags.
/// -or-
/// An empty string (""), if the current <see cref="T:System.Text.Encoding" /> cannot be used.</returns>
// Token: 0x170001BC RID: 444
// (get) Token: 0x0600119B RID: 4507 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001BC")]
public virtual string BodyName
{
[Token(Token = "0x600119B")]
[Address(RVA = "0x2F22310", Offset = "0x2F21110", VA = "0x182F22310", Slot = "7")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, gets the human-readable description of the current encoding.</summary>
/// <returns>The human-readable description of the current <see cref="T:System.Text.Encoding" />.</returns>
// Token: 0x170001BD RID: 445
// (get) Token: 0x0600119C RID: 4508 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001BD")]
public virtual string EncodingName
{
[Token(Token = "0x600119C")]
[Address(RVA = "0x2F22420", Offset = "0x2F21220", VA = "0x182F22420", Slot = "8")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, gets a name for the current encoding that can be used with mail agent header tags.</summary>
/// <returns>A name for the current <see cref="T:System.Text.Encoding" /> to use with mail agent header tags.
/// -or-
/// An empty string (""), if the current <see cref="T:System.Text.Encoding" /> cannot be used.</returns>
// Token: 0x170001BE RID: 446
// (get) Token: 0x0600119D RID: 4509 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001BE")]
public virtual string HeaderName
{
[Token(Token = "0x600119D")]
[Address(RVA = "0x2F22430", Offset = "0x2F21230", VA = "0x182F22430", Slot = "9")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, gets the name registered with the Internet Assigned Numbers Authority (IANA) for the current encoding.</summary>
/// <returns>The IANA name for the current <see cref="T:System.Text.Encoding" />.</returns>
// Token: 0x170001BF RID: 447
// (get) Token: 0x0600119E RID: 4510 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001BF")]
public virtual string WebName
{
[Token(Token = "0x600119E")]
[Address(RVA = "0x2F22860", Offset = "0x2F21660", VA = "0x182F22860", Slot = "10")]
get
{
return null;
}
}
/// <summary>Gets or sets the <see cref="T:System.Text.EncoderFallback" /> object for the current <see cref="T:System.Text.Encoding" /> object.</summary>
/// <returns>The encoder fallback object for the current <see cref="T:System.Text.Encoding" /> object.</returns>
/// <exception cref="T:System.ArgumentNullException">The value in a set operation is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">A value cannot be assigned in a set operation because the current <see cref="T:System.Text.Encoding" /> object is read-only.</exception>
// Token: 0x170001C0 RID: 448
// (get) Token: 0x0600119F RID: 4511 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060011A0 RID: 4512 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001C0")]
[ComVisible(false)]
public EncoderFallback EncoderFallback
{
[Token(Token = "0x600119F")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return null;
}
[Token(Token = "0x60011A0")]
[Address(RVA = "0x2F22960", Offset = "0x2F21760", VA = "0x182F22960")]
set
{
}
}
/// <summary>Gets or sets the <see cref="T:System.Text.DecoderFallback" /> object for the current <see cref="T:System.Text.Encoding" /> object.</summary>
/// <returns>The decoder fallback object for the current <see cref="T:System.Text.Encoding" /> object.</returns>
/// <exception cref="T:System.ArgumentNullException">The value in a set operation is <see langword="null" />.</exception>
/// <exception cref="T:System.InvalidOperationException">A value cannot be assigned in a set operation because the current <see cref="T:System.Text.Encoding" /> object is read-only.</exception>
// Token: 0x170001C1 RID: 449
// (get) Token: 0x060011A1 RID: 4513 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x060011A2 RID: 4514 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001C1")]
[ComVisible(false)]
public DecoderFallback DecoderFallback
{
[Token(Token = "0x60011A1")]
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
get
{
return null;
}
[Token(Token = "0x60011A2")]
[Address(RVA = "0x2F228A0", Offset = "0x2F216A0", VA = "0x182F228A0")]
set
{
}
}
/// <summary>When overridden in a derived class, creates a shallow copy of the current <see cref="T:System.Text.Encoding" /> object.</summary>
/// <returns>A copy of the current <see cref="T:System.Text.Encoding" /> object.</returns>
// Token: 0x060011A3 RID: 4515 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011A3")]
[Address(RVA = "0x2F1F6B0", Offset = "0x2F1E4B0", VA = "0x182F1F6B0", Slot = "11")]
[ComVisible(false)]
public virtual object Clone()
{
return null;
}
/// <summary>When overridden in a derived class, gets a value indicating whether the current encoding is read-only.</summary>
/// <returns>
/// <see langword="true" /> if the current <see cref="T:System.Text.Encoding" /> is read-only; otherwise, <see langword="false" />. The default is <see langword="true" />.</returns>
// Token: 0x170001C2 RID: 450
// (get) Token: 0x060011A4 RID: 4516 RVA: 0x0000DBC0 File Offset: 0x0000BDC0
[Token(Token = "0x170001C2")]
[ComVisible(false)]
public bool IsReadOnly
{
[Token(Token = "0x60011A4")]
[Address(RVA = "0x41ED50", Offset = "0x41DB50", VA = "0x18041ED50")]
get
{
return default(bool);
}
}
/// <summary>Gets an encoding for the ASCII (7-bit) character set.</summary>
/// <returns>An encoding for the ASCII (7-bit) character set.</returns>
// Token: 0x170001C3 RID: 451
// (get) Token: 0x060011A5 RID: 4517 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C3")]
public static Encoding ASCII
{
[Token(Token = "0x60011A5")]
[Address(RVA = "0x2F221E0", Offset = "0x2F20FE0", VA = "0x182F221E0")]
get
{
return null;
}
}
// Token: 0x170001C4 RID: 452
// (get) Token: 0x060011A6 RID: 4518 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C4")]
private static Encoding Latin1
{
[Token(Token = "0x60011A6")]
[Address(RVA = "0x2F22500", Offset = "0x2F21300", VA = "0x182F22500")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, calculates the number of bytes produced by encoding the characters in the specified string.</summary>
/// <param name="s">The string containing the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011A7 RID: 4519 RVA: 0x0000DBD8 File Offset: 0x0000BDD8
[Token(Token = "0x60011A7")]
[Address(RVA = "0x2F1FC00", Offset = "0x2F1EA00", VA = "0x182F1FC00", Slot = "12")]
public virtual int GetByteCount(string s)
{
return 0;
}
/// <summary>When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011A8 RID: 4520
[Token(Token = "0x60011A8")]
[Address(Slot = "13")]
public abstract int GetByteCount(char[] chars, int index, int count);
/// <summary>When overridden in a derived class, calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011A9 RID: 4521 RVA: 0x0000DBF0 File Offset: 0x0000BDF0
[Token(Token = "0x60011A9")]
[Address(RVA = "0x2F1FCD0", Offset = "0x2F1EAD0", VA = "0x182F1FCD0", Slot = "14")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe virtual int GetByteCount(char* chars, int count)
{
return 0;
}
// Token: 0x060011AA RID: 4522 RVA: 0x0000DC08 File Offset: 0x0000BE08
[Token(Token = "0x60011AA")]
[Address(RVA = "0x2F1FCB0", Offset = "0x2F1EAB0", VA = "0x182F1FCB0", Slot = "15")]
internal unsafe virtual int GetByteCount(char* chars, int count, EncoderNLS encoder)
{
return 0;
}
/// <summary>When overridden in a derived class, encodes all the characters in the specified character array into a sequence of bytes.</summary>
/// <param name="chars">The character array containing the characters to encode.</param>
/// <returns>A byte array containing the results of encoding the specified set of characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011AB RID: 4523 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011AB")]
[Address(RVA = "0x2F202F0", Offset = "0x2F1F0F0", VA = "0x182F202F0", Slot = "16")]
public virtual byte[] GetBytes(char[] chars)
{
return null;
}
/// <summary>When overridden in a derived class, encodes a set of characters from the specified character array into a sequence of bytes.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>A byte array containing the results of encoding the specified set of characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011AC RID: 4524 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011AC")]
[Address(RVA = "0x2F20220", Offset = "0x2F1F020", VA = "0x182F20220", Slot = "17")]
public virtual byte[] GetBytes(char[] chars, int index, int count)
{
return null;
}
/// <summary>When overridden in a derived class, encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011AD RID: 4525
[Token(Token = "0x60011AD")]
[Address(Slot = "18")]
public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex);
/// <summary>When overridden in a derived class, encodes all the characters in the specified string into a sequence of bytes.</summary>
/// <param name="s">The string containing the characters to encode.</param>
/// <returns>A byte array containing the results of encoding the specified set of characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011AE RID: 4526 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011AE")]
[Address(RVA = "0x2F20050", Offset = "0x2F1EE50", VA = "0x182F20050", Slot = "19")]
public virtual byte[] GetBytes(string s)
{
return null;
}
/// <summary>When overridden in a derived class, encodes a set of characters from the specified string into the specified byte array.</summary>
/// <param name="s">The string containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011AF RID: 4527 RVA: 0x0000DC20 File Offset: 0x0000BE20
[Token(Token = "0x60011AF")]
[Address(RVA = "0x2F20140", Offset = "0x2F1EF40", VA = "0x182F20140", Slot = "20")]
public virtual int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
// Token: 0x060011B0 RID: 4528 RVA: 0x0000DC38 File Offset: 0x0000BE38
[Token(Token = "0x60011B0")]
[Address(RVA = "0x2F20200", Offset = "0x2F1F000", VA = "0x182F20200", Slot = "21")]
internal unsafe virtual int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
{
return 0;
}
/// <summary>When overridden in a derived class, encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by the <paramref name="bytes" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011B1 RID: 4529 RVA: 0x0000DC50 File Offset: 0x0000BE50
[Token(Token = "0x60011B1")]
[Address(RVA = "0x2F1FE30", Offset = "0x2F1EC30", VA = "0x182F1FE30", Slot = "22")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe virtual int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011B2 RID: 4530
[Token(Token = "0x60011B2")]
[Address(Slot = "23")]
public abstract int GetCharCount(byte[] bytes, int index, int count);
/// <summary>When overridden in a derived class, calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011B3 RID: 4531 RVA: 0x0000DC68 File Offset: 0x0000BE68
[Token(Token = "0x60011B3")]
[Address(RVA = "0x2F203A0", Offset = "0x2F1F1A0", VA = "0x182F203A0", Slot = "24")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe virtual int GetCharCount(byte* bytes, int count)
{
return 0;
}
// Token: 0x060011B4 RID: 4532 RVA: 0x0000DC80 File Offset: 0x0000BE80
[Token(Token = "0x60011B4")]
[Address(RVA = "0x2F204F0", Offset = "0x2F1F2F0", VA = "0x182F204F0", Slot = "25")]
internal unsafe virtual int GetCharCount(byte* bytes, int count, DecoderNLS decoder)
{
return 0;
}
/// <summary>When overridden in a derived class, decodes all the bytes in the specified byte array into a set of characters.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <returns>A character array containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011B5 RID: 4533 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011B5")]
[Address(RVA = "0x2F20820", Offset = "0x2F1F620", VA = "0x182F20820", Slot = "26")]
public virtual char[] GetChars(byte[] bytes)
{
return null;
}
/// <summary>When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a set of characters.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A character array containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011B6 RID: 4534 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011B6")]
[Address(RVA = "0x2F20510", Offset = "0x2F1F310", VA = "0x182F20510", Slot = "27")]
public virtual char[] GetChars(byte[] bytes, int index, int count)
{
return null;
}
/// <summary>When overridden in a derived class, decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011B7 RID: 4535
[Token(Token = "0x60011B7")]
[Address(Slot = "28")]
public abstract int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex);
/// <summary>When overridden in a derived class, decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by the <paramref name="chars" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011B8 RID: 4536 RVA: 0x0000DC98 File Offset: 0x0000BE98
[Token(Token = "0x60011B8")]
[Address(RVA = "0x2F205E0", Offset = "0x2F1F3E0", VA = "0x182F205E0", Slot = "29")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe virtual int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
// Token: 0x060011B9 RID: 4537 RVA: 0x0000DCB0 File Offset: 0x0000BEB0
[Token(Token = "0x60011B9")]
[Address(RVA = "0x2F20800", Offset = "0x2F1F600", VA = "0x182F20800", Slot = "30")]
internal unsafe virtual int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS decoder)
{
return 0;
}
/// <summary>When overridden in a derived class, decodes a specified number of bytes starting at a specified address into a string.</summary>
/// <param name="bytes">A pointer to a byte array.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>A string that contains the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is a null pointer.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for a complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011BA RID: 4538 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011BA")]
[Address(RVA = "0x2F21A10", Offset = "0x2F20810", VA = "0x182F21A10")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe string GetString(byte* bytes, int byteCount)
{
return null;
}
/// <summary>When overridden in a derived class, gets the code page identifier of the current <see cref="T:System.Text.Encoding" />.</summary>
/// <returns>The code page identifier of the current <see cref="T:System.Text.Encoding" />.</returns>
// Token: 0x170001C5 RID: 453
// (get) Token: 0x060011BB RID: 4539 RVA: 0x0000DCC8 File Offset: 0x0000BEC8
[Token(Token = "0x170001C5")]
public virtual int CodePage
{
[Token(Token = "0x60011BB")]
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560", Slot = "31")]
get
{
return 0;
}
}
/// <summary>When overridden in a derived class, obtains a decoder that converts an encoded sequence of bytes into a sequence of characters.</summary>
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts an encoded sequence of bytes into a sequence of characters.</returns>
// Token: 0x060011BC RID: 4540 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011BC")]
[Address(RVA = "0x2F209E0", Offset = "0x2F1F7E0", VA = "0x182F209E0", Slot = "32")]
public virtual Decoder GetDecoder()
{
return null;
}
// Token: 0x060011BD RID: 4541 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011BD")]
[Address(RVA = "0x2F1F740", Offset = "0x2F1E540", VA = "0x182F1F740")]
private static Encoding CreateDefaultEncoding()
{
return null;
}
// Token: 0x060011BE RID: 4542 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011BE")]
[Address(RVA = "0x41EF90", Offset = "0x41DD90", VA = "0x18041EF90")]
internal void setReadOnly(bool value = true)
{
}
/// <summary>Gets the default encoding for this .NET implementation.</summary>
/// <returns>The default encoding for this .NET implementation.</returns>
// Token: 0x170001C6 RID: 454
// (get) Token: 0x060011BF RID: 4543 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C6")]
public static Encoding Default
{
[Token(Token = "0x60011BF")]
[Address(RVA = "0x2F22350", Offset = "0x2F21150", VA = "0x182F22350")]
get
{
return null;
}
}
/// <summary>When overridden in a derived class, obtains an encoder that converts a sequence of Unicode characters into an encoded sequence of bytes.</summary>
/// <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into an encoded sequence of bytes.</returns>
// Token: 0x060011C0 RID: 4544 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011C0")]
[Address(RVA = "0x2F20A40", Offset = "0x2F1F840", VA = "0x182F20A40", Slot = "33")]
public virtual Encoder GetEncoder()
{
return null;
}
/// <summary>When overridden in a derived class, calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060011C1 RID: 4545
[Token(Token = "0x60011C1")]
[Address(Slot = "34")]
public abstract int GetMaxByteCount(int charCount);
/// <summary>When overridden in a derived class, calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011C2 RID: 4546
[Token(Token = "0x60011C2")]
[Address(Slot = "35")]
public abstract int GetMaxCharCount(int byteCount);
/// <summary>When overridden in a derived class, decodes all the bytes in the specified byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <returns>A string that contains the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentException">The byte array contains invalid Unicode code points.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011C3 RID: 4547 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011C3")]
[Address(RVA = "0x2F21B00", Offset = "0x2F20900", VA = "0x182F21B00", Slot = "36")]
public virtual string GetString(byte[] bytes)
{
return null;
}
/// <summary>When overridden in a derived class, decodes a sequence of bytes from the specified byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A string that contains the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentException">The byte array contains invalid Unicode code points.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in .NET for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060011C4 RID: 4548 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011C4")]
[Address(RVA = "0x2F21BB0", Offset = "0x2F209B0", VA = "0x182F21BB0", Slot = "37")]
public virtual string GetString(byte[] bytes, int index, int count)
{
return null;
}
/// <summary>Gets an encoding for the UTF-16 format using the little endian byte order.</summary>
/// <returns>An encoding for the UTF-16 format using the little endian byte order.</returns>
// Token: 0x170001C7 RID: 455
// (get) Token: 0x060011C5 RID: 4549 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C7")]
public static Encoding Unicode
{
[Token(Token = "0x60011C5")]
[Address(RVA = "0x2F227C0", Offset = "0x2F215C0", VA = "0x182F227C0")]
get
{
return null;
}
}
/// <summary>Gets an encoding for the UTF-16 format that uses the big endian byte order.</summary>
/// <returns>An encoding object for the UTF-16 format that uses the big endian byte order.</returns>
// Token: 0x170001C8 RID: 456
// (get) Token: 0x060011C6 RID: 4550 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C8")]
public static Encoding BigEndianUnicode
{
[Token(Token = "0x60011C6")]
[Address(RVA = "0x2F22270", Offset = "0x2F21070", VA = "0x182F22270")]
get
{
return null;
}
}
/// <summary>Gets an encoding for the UTF-7 format.</summary>
/// <returns>An encoding for the UTF-7 format.</returns>
// Token: 0x170001C9 RID: 457
// (get) Token: 0x060011C7 RID: 4551 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001C9")]
public static Encoding UTF7
{
[Token(Token = "0x60011C7")]
[Address(RVA = "0x2F22650", Offset = "0x2F21450", VA = "0x182F22650")]
get
{
return null;
}
}
/// <summary>Gets an encoding for the UTF-8 format.</summary>
/// <returns>An encoding for the UTF-8 format.</returns>
// Token: 0x170001CA RID: 458
// (get) Token: 0x060011C8 RID: 4552 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001CA")]
public static Encoding UTF8
{
[Token(Token = "0x60011C8")]
[Address(RVA = "0x2F22730", Offset = "0x2F21530", VA = "0x182F22730")]
get
{
return null;
}
}
/// <summary>Gets an encoding for the UTF-32 format using the little endian byte order.</summary>
/// <returns>An encoding object for the UTF-32 format using the little endian byte order.</returns>
// Token: 0x170001CB RID: 459
// (get) Token: 0x060011C9 RID: 4553 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001CB")]
public static Encoding UTF32
{
[Token(Token = "0x60011C9")]
[Address(RVA = "0x2F225A0", Offset = "0x2F213A0", VA = "0x182F225A0")]
get
{
return null;
}
}
/// <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current instance.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is an instance of <see cref="T:System.Text.Encoding" /> and is equal to the current instance; otherwise, <see langword="false" />.</returns>
// Token: 0x060011CA RID: 4554 RVA: 0x0000DCE0 File Offset: 0x0000BEE0
[Token(Token = "0x60011CA")]
[Address(RVA = "0x2F1FA50", Offset = "0x2F1E850", VA = "0x182F1FA50", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code for the current instance.</summary>
/// <returns>The hash code for the current instance.</returns>
// Token: 0x060011CB RID: 4555 RVA: 0x0000DCF8 File Offset: 0x0000BEF8
[Token(Token = "0x60011CB")]
[Address(RVA = "0x2F21940", Offset = "0x2F20740", VA = "0x182F21940", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x060011CC RID: 4556 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011CC")]
[Address(RVA = "0x2F1FBA0", Offset = "0x2F1E9A0", VA = "0x182F1FBA0", Slot = "38")]
internal virtual char[] GetBestFitUnicodeToBytesData()
{
return null;
}
// Token: 0x060011CD RID: 4557 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011CD")]
[Address(RVA = "0x2F1FB40", Offset = "0x2F1E940", VA = "0x182F1FB40", Slot = "39")]
internal virtual char[] GetBestFitBytesToUnicodeData()
{
return null;
}
// Token: 0x060011CE RID: 4558 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011CE")]
[Address(RVA = "0x2F21E60", Offset = "0x2F20C60", VA = "0x182F21E60")]
internal void ThrowBytesOverflow()
{
}
// Token: 0x060011CF RID: 4559 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011CF")]
[Address(RVA = "0x2F21DE0", Offset = "0x2F20BE0", VA = "0x182F21DE0")]
internal void ThrowBytesOverflow(EncoderNLS encoder, bool nothingEncoded)
{
}
// Token: 0x060011D0 RID: 4560 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011D0")]
[Address(RVA = "0x2F21FF0", Offset = "0x2F20DF0", VA = "0x182F21FF0")]
internal void ThrowCharsOverflow()
{
}
// Token: 0x060011D1 RID: 4561 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011D1")]
[Address(RVA = "0x2F21F60", Offset = "0x2F20D60", VA = "0x182F21F60")]
internal void ThrowCharsOverflow(DecoderNLS decoder, bool nothingDecoded)
{
}
// Token: 0x04000912 RID: 2322
[Token(Token = "0x4000912")]
private static Encoding defaultEncoding;
// Token: 0x04000913 RID: 2323
[Token(Token = "0x4000913")]
private static Encoding unicodeEncoding;
// Token: 0x04000914 RID: 2324
[Token(Token = "0x4000914")]
private static Encoding bigEndianUnicode;
// Token: 0x04000915 RID: 2325
[Token(Token = "0x4000915")]
private static Encoding utf7Encoding;
// Token: 0x04000916 RID: 2326
[Token(Token = "0x4000916")]
private static Encoding utf8Encoding;
// Token: 0x04000917 RID: 2327
[Token(Token = "0x4000917")]
private static Encoding utf32Encoding;
// Token: 0x04000918 RID: 2328
[Token(Token = "0x4000918")]
private static Encoding asciiEncoding;
// Token: 0x04000919 RID: 2329
[Token(Token = "0x4000919")]
private static Encoding latin1Encoding;
// Token: 0x0400091A RID: 2330
[Token(Token = "0x400091A")]
private static Hashtable encodings;
// Token: 0x0400091B RID: 2331
[Token(Token = "0x400091B")]
private const int MIMECONTF_MAILNEWS = 1;
// Token: 0x0400091C RID: 2332
[Token(Token = "0x400091C")]
private const int MIMECONTF_BROWSER = 2;
// Token: 0x0400091D RID: 2333
[Token(Token = "0x400091D")]
private const int MIMECONTF_SAVABLE_MAILNEWS = 256;
// Token: 0x0400091E RID: 2334
[Token(Token = "0x400091E")]
private const int MIMECONTF_SAVABLE_BROWSER = 512;
// Token: 0x0400091F RID: 2335
[Token(Token = "0x400091F")]
private const int CodePageDefault = 0;
// Token: 0x04000920 RID: 2336
[Token(Token = "0x4000920")]
private const int CodePageNoOEM = 1;
// Token: 0x04000921 RID: 2337
[Token(Token = "0x4000921")]
private const int CodePageNoMac = 2;
// Token: 0x04000922 RID: 2338
[Token(Token = "0x4000922")]
private const int CodePageNoThread = 3;
// Token: 0x04000923 RID: 2339
[Token(Token = "0x4000923")]
private const int CodePageNoSymbol = 42;
// Token: 0x04000924 RID: 2340
[Token(Token = "0x4000924")]
private const int CodePageUnicode = 1200;
// Token: 0x04000925 RID: 2341
[Token(Token = "0x4000925")]
private const int CodePageBigEndian = 1201;
// Token: 0x04000926 RID: 2342
[Token(Token = "0x4000926")]
private const int CodePageWindows1252 = 1252;
// Token: 0x04000927 RID: 2343
[Token(Token = "0x4000927")]
private const int CodePageMacGB2312 = 10008;
// Token: 0x04000928 RID: 2344
[Token(Token = "0x4000928")]
private const int CodePageGB2312 = 20936;
// Token: 0x04000929 RID: 2345
[Token(Token = "0x4000929")]
private const int CodePageMacKorean = 10003;
// Token: 0x0400092A RID: 2346
[Token(Token = "0x400092A")]
private const int CodePageDLLKorean = 20949;
// Token: 0x0400092B RID: 2347
[Token(Token = "0x400092B")]
private const int ISO2022JP = 50220;
// Token: 0x0400092C RID: 2348
[Token(Token = "0x400092C")]
private const int ISO2022JPESC = 50221;
// Token: 0x0400092D RID: 2349
[Token(Token = "0x400092D")]
private const int ISO2022JPSISO = 50222;
// Token: 0x0400092E RID: 2350
[Token(Token = "0x400092E")]
private const int ISOKorean = 50225;
// Token: 0x0400092F RID: 2351
[Token(Token = "0x400092F")]
private const int ISOSimplifiedCN = 50227;
// Token: 0x04000930 RID: 2352
[Token(Token = "0x4000930")]
private const int EUCJP = 51932;
// Token: 0x04000931 RID: 2353
[Token(Token = "0x4000931")]
private const int ChineseHZ = 52936;
// Token: 0x04000932 RID: 2354
[Token(Token = "0x4000932")]
private const int DuplicateEUCCN = 51936;
// Token: 0x04000933 RID: 2355
[Token(Token = "0x4000933")]
private const int EUCCN = 936;
// Token: 0x04000934 RID: 2356
[Token(Token = "0x4000934")]
private const int EUCKR = 51949;
// Token: 0x04000935 RID: 2357
[Token(Token = "0x4000935")]
internal const int CodePageASCII = 20127;
// Token: 0x04000936 RID: 2358
[Token(Token = "0x4000936")]
internal const int ISO_8859_1 = 28591;
// Token: 0x04000937 RID: 2359
[Token(Token = "0x4000937")]
private const int ISCIIAssemese = 57006;
// Token: 0x04000938 RID: 2360
[Token(Token = "0x4000938")]
private const int ISCIIBengali = 57003;
// Token: 0x04000939 RID: 2361
[Token(Token = "0x4000939")]
private const int ISCIIDevanagari = 57002;
// Token: 0x0400093A RID: 2362
[Token(Token = "0x400093A")]
private const int ISCIIGujarathi = 57010;
// Token: 0x0400093B RID: 2363
[Token(Token = "0x400093B")]
private const int ISCIIKannada = 57008;
// Token: 0x0400093C RID: 2364
[Token(Token = "0x400093C")]
private const int ISCIIMalayalam = 57009;
// Token: 0x0400093D RID: 2365
[Token(Token = "0x400093D")]
private const int ISCIIOriya = 57007;
// Token: 0x0400093E RID: 2366
[Token(Token = "0x400093E")]
private const int ISCIIPanjabi = 57011;
// Token: 0x0400093F RID: 2367
[Token(Token = "0x400093F")]
private const int ISCIITamil = 57004;
// Token: 0x04000940 RID: 2368
[Token(Token = "0x4000940")]
private const int ISCIITelugu = 57005;
// Token: 0x04000941 RID: 2369
[Token(Token = "0x4000941")]
private const int GB18030 = 54936;
// Token: 0x04000942 RID: 2370
[Token(Token = "0x4000942")]
private const int ISO_8859_8I = 38598;
// Token: 0x04000943 RID: 2371
[Token(Token = "0x4000943")]
private const int ISO_8859_8_Visual = 28598;
// Token: 0x04000944 RID: 2372
[Token(Token = "0x4000944")]
private const int ENC50229 = 50229;
// Token: 0x04000945 RID: 2373
[Token(Token = "0x4000945")]
private const int CodePageUTF7 = 65000;
// Token: 0x04000946 RID: 2374
[Token(Token = "0x4000946")]
private const int CodePageUTF8 = 65001;
// Token: 0x04000947 RID: 2375
[Token(Token = "0x4000947")]
private const int CodePageUTF32 = 12000;
// Token: 0x04000948 RID: 2376
[Token(Token = "0x4000948")]
private const int CodePageUTF32BE = 12001;
// Token: 0x04000949 RID: 2377
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000949")]
internal int m_codePage;
// Token: 0x0400094A RID: 2378
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400094A")]
internal CodePageDataItem dataItem;
// Token: 0x0400094B RID: 2379
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400094B")]
[NonSerialized]
internal bool m_deserializedFromEverett;
// Token: 0x0400094C RID: 2380
[global::Cpp2IlInjected.FieldOffset(Offset = "0x21")]
[Token(Token = "0x400094C")]
[OptionalField]
private bool m_isReadOnly;
// Token: 0x0400094D RID: 2381
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x400094D")]
[OptionalField]
internal EncoderFallback encoderFallback;
// Token: 0x0400094E RID: 2382
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400094E")]
[OptionalField]
internal DecoderFallback decoderFallback;
// Token: 0x0400094F RID: 2383
[Token(Token = "0x400094F")]
private static object s_InternalSyncObject;
// Token: 0x020001D4 RID: 468
[Token(Token = "0x20001D4")]
[Serializable]
internal class DefaultEncoder : Encoder, ISerializable, IObjectReference
{
// Token: 0x060011D2 RID: 4562 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011D2")]
[Address(RVA = "0x2F1A8B0", Offset = "0x2F196B0", VA = "0x182F1A8B0")]
public DefaultEncoder(Encoding encoding)
{
}
// Token: 0x060011D3 RID: 4563 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011D3")]
[Address(RVA = "0x2F1A670", Offset = "0x2F19470", VA = "0x182F1A670")]
internal DefaultEncoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060011D4 RID: 4564 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011D4")]
[Address(RVA = "0x2F1A510", Offset = "0x2F19310", VA = "0x182F1A510", Slot = "10")]
public object GetRealObject(StreamingContext context)
{
return null;
}
// Token: 0x060011D5 RID: 4565 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011D5")]
[Address(RVA = "0x2F1A5E0", Offset = "0x2F193E0", VA = "0x182F1A5E0", Slot = "9")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060011D6 RID: 4566 RVA: 0x0000DD10 File Offset: 0x0000BF10
[Token(Token = "0x60011D6")]
[Address(RVA = "0x2F1A450", Offset = "0x2F19250", VA = "0x182F1A450", Slot = "5")]
public override int GetByteCount(char[] chars, int index, int count, bool flush)
{
return 0;
}
// Token: 0x060011D7 RID: 4567 RVA: 0x0000DD28 File Offset: 0x0000BF28
[Token(Token = "0x60011D7")]
[Address(RVA = "0x2F1A480", Offset = "0x2F19280", VA = "0x182F1A480", Slot = "6")]
public unsafe override int GetByteCount(char* chars, int count, bool flush)
{
return 0;
}
// Token: 0x060011D8 RID: 4568 RVA: 0x0000DD40 File Offset: 0x0000BF40
[Token(Token = "0x60011D8")]
[Address(RVA = "0x2F1A4B0", Offset = "0x2F192B0", VA = "0x182F1A4B0", Slot = "7")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush)
{
return 0;
}
// Token: 0x060011D9 RID: 4569 RVA: 0x0000DD58 File Offset: 0x0000BF58
[Token(Token = "0x60011D9")]
[Address(RVA = "0x2F1A4E0", Offset = "0x2F192E0", VA = "0x182F1A4E0", Slot = "8")]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, bool flush)
{
return 0;
}
// Token: 0x04000950 RID: 2384
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000950")]
private Encoding m_encoding;
// Token: 0x04000951 RID: 2385
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000951")]
[NonSerialized]
private bool m_hasInitializedEncoding;
// Token: 0x04000952 RID: 2386
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2A")]
[Token(Token = "0x4000952")]
[NonSerialized]
internal char charLeftOver;
}
// Token: 0x020001D5 RID: 469
[Token(Token = "0x20001D5")]
[Serializable]
internal class DefaultDecoder : Decoder, ISerializable, IObjectReference
{
// Token: 0x060011DA RID: 4570 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011DA")]
[Address(RVA = "0x2F1A420", Offset = "0x2F19220", VA = "0x182F1A420")]
public DefaultDecoder(Encoding encoding)
{
}
// Token: 0x060011DB RID: 4571 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011DB")]
[Address(RVA = "0x2F1A230", Offset = "0x2F19030", VA = "0x182F1A230")]
internal DefaultDecoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060011DC RID: 4572 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60011DC")]
[Address(RVA = "0x2F1A150", Offset = "0x2F18F50", VA = "0x182F1A150", Slot = "14")]
public object GetRealObject(StreamingContext context)
{
return null;
}
// Token: 0x060011DD RID: 4573 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011DD")]
[Address(RVA = "0x2F1A1A0", Offset = "0x2F18FA0", VA = "0x182F1A1A0", Slot = "13")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060011DE RID: 4574 RVA: 0x0000DD70 File Offset: 0x0000BF70
[Token(Token = "0x60011DE")]
[Address(RVA = "0x5C0860", Offset = "0x5BF660", VA = "0x1805C0860", Slot = "5")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
// Token: 0x060011DF RID: 4575 RVA: 0x0000DD88 File Offset: 0x0000BF88
[Token(Token = "0x60011DF")]
[Address(RVA = "0x2F1A0C0", Offset = "0x2F18EC0", VA = "0x182F1A0C0", Slot = "6")]
public override int GetCharCount(byte[] bytes, int index, int count, bool flush)
{
return 0;
}
// Token: 0x060011E0 RID: 4576 RVA: 0x0000DDA0 File Offset: 0x0000BFA0
[Token(Token = "0x60011E0")]
[Address(RVA = "0x2F1A090", Offset = "0x2F18E90", VA = "0x182F1A090", Slot = "7")]
public unsafe override int GetCharCount(byte* bytes, int count, bool flush)
{
return 0;
}
// Token: 0x060011E1 RID: 4577 RVA: 0x0000DDB8 File Offset: 0x0000BFB8
[Token(Token = "0x60011E1")]
[Address(RVA = "0x2F196C0", Offset = "0x2F184C0", VA = "0x182F196C0", Slot = "8")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
// Token: 0x060011E2 RID: 4578 RVA: 0x0000DDD0 File Offset: 0x0000BFD0
[Token(Token = "0x60011E2")]
[Address(RVA = "0x2F1A120", Offset = "0x2F18F20", VA = "0x182F1A120", Slot = "9")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
{
return 0;
}
// Token: 0x060011E3 RID: 4579 RVA: 0x0000DDE8 File Offset: 0x0000BFE8
[Token(Token = "0x60011E3")]
[Address(RVA = "0x2F1A0F0", Offset = "0x2F18EF0", VA = "0x182F1A0F0", Slot = "10")]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, bool flush)
{
return 0;
}
// Token: 0x04000953 RID: 2387
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000953")]
private Encoding m_encoding;
// Token: 0x04000954 RID: 2388
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000954")]
[NonSerialized]
private bool m_hasInitializedEncoding;
}
// Token: 0x020001D6 RID: 470
[Token(Token = "0x20001D6")]
internal class EncodingCharBuffer
{
// Token: 0x060011E4 RID: 4580 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011E4")]
[Address(RVA = "0x2F1D710", Offset = "0x2F1C510", VA = "0x182F1D710")]
internal unsafe EncodingCharBuffer(Encoding enc, DecoderNLS decoder, char* charStart, int charCount, byte* byteStart, int byteCount)
{
}
// Token: 0x060011E5 RID: 4581 RVA: 0x0000DE00 File Offset: 0x0000C000
[Token(Token = "0x60011E5")]
[Address(RVA = "0x2F1D3B0", Offset = "0x2F1C1B0", VA = "0x182F1D3B0")]
internal bool AddChar(char ch, int numBytes)
{
return default(bool);
}
// Token: 0x060011E6 RID: 4582 RVA: 0x0000DE18 File Offset: 0x0000C018
[Token(Token = "0x60011E6")]
[Address(RVA = "0x2F1D420", Offset = "0x2F1C220", VA = "0x182F1D420")]
internal bool AddChar(char ch)
{
return default(bool);
}
// Token: 0x060011E7 RID: 4583 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011E7")]
[Address(RVA = "0x2F1D490", Offset = "0x2F1C290", VA = "0x182F1D490")]
internal void AdjustBytes(int count)
{
}
// Token: 0x170001CC RID: 460
// (get) Token: 0x060011E8 RID: 4584 RVA: 0x0000DE30 File Offset: 0x0000C030
[Token(Token = "0x170001CC")]
internal bool MoreData
{
[Token(Token = "0x60011E8")]
[Address(RVA = "0x2F1D7F0", Offset = "0x2F1C5F0", VA = "0x182F1D7F0")]
get
{
return default(bool);
}
}
// Token: 0x060011E9 RID: 4585 RVA: 0x0000DE48 File Offset: 0x0000C048
[Token(Token = "0x60011E9")]
[Address(RVA = "0x2F1D6F0", Offset = "0x2F1C4F0", VA = "0x182F1D6F0")]
internal byte GetNextByte()
{
return 0;
}
// Token: 0x170001CD RID: 461
// (get) Token: 0x060011EA RID: 4586 RVA: 0x0000DE60 File Offset: 0x0000C060
[Token(Token = "0x170001CD")]
internal int BytesUsed
{
[Token(Token = "0x60011EA")]
[Address(RVA = "0x2F1D7E0", Offset = "0x2F1C5E0", VA = "0x182F1D7E0")]
get
{
return 0;
}
}
// Token: 0x060011EB RID: 4587 RVA: 0x0000DE78 File Offset: 0x0000C078
[Token(Token = "0x60011EB")]
[Address(RVA = "0x2F1D5A0", Offset = "0x2F1C3A0", VA = "0x182F1D5A0")]
internal bool Fallback(byte fallbackByte)
{
return default(bool);
}
// Token: 0x060011EC RID: 4588 RVA: 0x0000DE90 File Offset: 0x0000C090
[Token(Token = "0x60011EC")]
[Address(RVA = "0x2F1D4A0", Offset = "0x2F1C2A0", VA = "0x182F1D4A0")]
internal bool Fallback(byte[] byteBuffer)
{
return default(bool);
}
// Token: 0x170001CE RID: 462
// (get) Token: 0x060011ED RID: 4589 RVA: 0x0000DEA8 File Offset: 0x0000C0A8
[Token(Token = "0x170001CE")]
internal int Count
{
[Token(Token = "0x60011ED")]
[Address(RVA = "0x42EE50", Offset = "0x42DC50", VA = "0x18042EE50")]
get
{
return 0;
}
}
// Token: 0x04000955 RID: 2389
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000955")]
private unsafe char* chars;
// Token: 0x04000956 RID: 2390
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000956")]
private unsafe char* charStart;
// Token: 0x04000957 RID: 2391
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000957")]
private unsafe char* charEnd;
// Token: 0x04000958 RID: 2392
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000958")]
private int charCountResult;
// Token: 0x04000959 RID: 2393
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000959")]
private Encoding enc;
// Token: 0x0400095A RID: 2394
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x400095A")]
private DecoderNLS decoder;
// Token: 0x0400095B RID: 2395
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x400095B")]
private unsafe byte* byteStart;
// Token: 0x0400095C RID: 2396
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400095C")]
private unsafe byte* byteEnd;
// Token: 0x0400095D RID: 2397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400095D")]
private unsafe byte* bytes;
// Token: 0x0400095E RID: 2398
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400095E")]
private DecoderFallbackBuffer fallbackBuffer;
}
// Token: 0x020001D7 RID: 471
[Token(Token = "0x20001D7")]
internal class EncodingByteBuffer
{
// Token: 0x060011EE RID: 4590 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011EE")]
[Address(RVA = "0x2F1D0A0", Offset = "0x2F1BEA0", VA = "0x182F1D0A0")]
internal unsafe EncodingByteBuffer(Encoding inEncoding, EncoderNLS inEncoder, byte* inByteStart, int inByteCount, char* inCharStart, int inCharCount)
{
}
// Token: 0x060011EF RID: 4591 RVA: 0x0000DEC0 File Offset: 0x0000C0C0
[Token(Token = "0x60011EF")]
[Address(RVA = "0x2F1CF10", Offset = "0x2F1BD10", VA = "0x182F1CF10")]
internal bool AddByte(byte b, int moreBytesExpected)
{
return default(bool);
}
// Token: 0x060011F0 RID: 4592 RVA: 0x0000DED8 File Offset: 0x0000C0D8
[Token(Token = "0x60011F0")]
[Address(RVA = "0x2F1CD80", Offset = "0x2F1BB80", VA = "0x182F1CD80")]
internal bool AddByte(byte b1)
{
return default(bool);
}
// Token: 0x060011F1 RID: 4593 RVA: 0x0000DEF0 File Offset: 0x0000C0F0
[Token(Token = "0x60011F1")]
[Address(RVA = "0x2F1CD90", Offset = "0x2F1BB90", VA = "0x182F1CD90")]
internal bool AddByte(byte b1, byte b2)
{
return default(bool);
}
// Token: 0x060011F2 RID: 4594 RVA: 0x0000DF08 File Offset: 0x0000C108
[Token(Token = "0x60011F2")]
[Address(RVA = "0x2F1CE40", Offset = "0x2F1BC40", VA = "0x182F1CE40")]
internal bool AddByte(byte b1, byte b2, int moreBytesExpected)
{
return default(bool);
}
// Token: 0x060011F3 RID: 4595 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011F3")]
[Address(RVA = "0x2F1D020", Offset = "0x2F1BE20", VA = "0x182F1D020")]
internal void MovePrevious(bool bThrow)
{
}
// Token: 0x170001CF RID: 463
// (get) Token: 0x060011F4 RID: 4596 RVA: 0x0000DF20 File Offset: 0x0000C120
[Token(Token = "0x170001CF")]
internal bool MoreData
{
[Token(Token = "0x60011F4")]
[Address(RVA = "0x2F1D360", Offset = "0x2F1C160", VA = "0x182F1D360")]
get
{
return default(bool);
}
}
// Token: 0x060011F5 RID: 4597 RVA: 0x0000DF38 File Offset: 0x0000C138
[Token(Token = "0x60011F5")]
[Address(RVA = "0x2F1CFB0", Offset = "0x2F1BDB0", VA = "0x182F1CFB0")]
internal char GetNextChar()
{
return '\0';
}
// Token: 0x170001D0 RID: 464
// (get) Token: 0x060011F6 RID: 4598 RVA: 0x0000DF50 File Offset: 0x0000C150
[Token(Token = "0x170001D0")]
internal int CharsUsed
{
[Token(Token = "0x60011F6")]
[Address(RVA = "0x2F1D340", Offset = "0x2F1C140", VA = "0x182F1D340")]
get
{
return 0;
}
}
// Token: 0x170001D1 RID: 465
// (get) Token: 0x060011F7 RID: 4599 RVA: 0x0000DF68 File Offset: 0x0000C168
[Token(Token = "0x170001D1")]
internal int Count
{
[Token(Token = "0x60011F7")]
[Address(RVA = "0x3F63F0", Offset = "0x3F51F0", VA = "0x1803F63F0")]
get
{
return 0;
}
}
// Token: 0x0400095F RID: 2399
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400095F")]
private unsafe byte* bytes;
// Token: 0x04000960 RID: 2400
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000960")]
private unsafe byte* byteStart;
// Token: 0x04000961 RID: 2401
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000961")]
private unsafe byte* byteEnd;
// Token: 0x04000962 RID: 2402
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000962")]
private unsafe char* chars;
// Token: 0x04000963 RID: 2403
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000963")]
private unsafe char* charStart;
// Token: 0x04000964 RID: 2404
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000964")]
private unsafe char* charEnd;
// Token: 0x04000965 RID: 2405
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000965")]
private int byteCountResult;
// Token: 0x04000966 RID: 2406
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000966")]
private Encoding enc;
// Token: 0x04000967 RID: 2407
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000967")]
private EncoderNLS encoder;
// Token: 0x04000968 RID: 2408
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4000968")]
internal EncoderFallbackBuffer fallbackBuffer;
}
}
}
+64
View File
@@ -0,0 +1,64 @@
using System;
using System.Reflection;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001EB RID: 491
[Token(Token = "0x20001EB")]
internal static class EncodingHelper
{
// Token: 0x170001DC RID: 476
// (get) Token: 0x06001309 RID: 4873 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001DC")]
internal static Encoding UTF8Unmarked
{
[Token(Token = "0x6001309")]
[Address(RVA = "0x2F1E030", Offset = "0x2F1CE30", VA = "0x182F1E030")]
get
{
return null;
}
}
// Token: 0x0600130A RID: 4874 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600130A")]
[Address(RVA = "0x2F1DAA0", Offset = "0x2F1C8A0", VA = "0x182F1DAA0")]
internal static string InternalCodePage(ref int code_page)
{
return null;
}
// Token: 0x0600130B RID: 4875 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600130B")]
[Address(RVA = "0x2F1D800", Offset = "0x2F1C600", VA = "0x182F1D800")]
internal static Encoding GetDefaultEncoding()
{
return null;
}
// Token: 0x0600130C RID: 4876 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600130C")]
[Address(RVA = "0x2F1DAB0", Offset = "0x2F1C8B0", VA = "0x182F1DAB0")]
internal static object InvokeI18N(string name, params object[] args)
{
return null;
}
// Token: 0x0400099F RID: 2463
[Token(Token = "0x400099F")]
private static Encoding utf8EncodingWithoutMarkers;
// Token: 0x040009A0 RID: 2464
[Token(Token = "0x40009A0")]
private static readonly object lockobj;
// Token: 0x040009A1 RID: 2465
[Token(Token = "0x40009A1")]
private static Assembly i18nAssembly;
// Token: 0x040009A2 RID: 2466
[Token(Token = "0x40009A2")]
private static bool i18nDisabled;
}
}
+124
View File
@@ -0,0 +1,124 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001D8 RID: 472
[Token(Token = "0x20001D8")]
[ComVisible(true)]
[Serializable]
internal abstract class EncodingNLS : Encoding
{
// Token: 0x060011F8 RID: 4600 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60011F8")]
[Address(RVA = "0x2F1F420", Offset = "0x2F1E220", VA = "0x182F1F420")]
protected EncodingNLS(int codePage)
{
}
// Token: 0x060011F9 RID: 4601 RVA: 0x0000DF80 File Offset: 0x0000C180
[Token(Token = "0x60011F9")]
[Address(RVA = "0x2F1E3D0", Offset = "0x2F1D1D0", VA = "0x182F1E3D0", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
// Token: 0x060011FA RID: 4602 RVA: 0x0000DF98 File Offset: 0x0000C198
[Token(Token = "0x60011FA")]
[Address(RVA = "0x2F1E330", Offset = "0x2F1D130", VA = "0x182F1E330", Slot = "12")]
public override int GetByteCount(string s)
{
return 0;
}
// Token: 0x060011FB RID: 4603 RVA: 0x0000DFB0 File Offset: 0x0000C1B0
[Token(Token = "0x60011FB")]
[Address(RVA = "0x2F1E230", Offset = "0x2F1D030", VA = "0x182F1E230", Slot = "14")]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
// Token: 0x060011FC RID: 4604 RVA: 0x0000DFC8 File Offset: 0x0000C1C8
[Token(Token = "0x60011FC")]
[Address(RVA = "0x2F1E900", Offset = "0x2F1D700", VA = "0x182F1E900", Slot = "20")]
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
// Token: 0x060011FD RID: 4605 RVA: 0x0000DFE0 File Offset: 0x0000C1E0
[Token(Token = "0x60011FD")]
[Address(RVA = "0x2F1E560", Offset = "0x2F1D360", VA = "0x182F1E560", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
// Token: 0x060011FE RID: 4606 RVA: 0x0000DFF8 File Offset: 0x0000C1F8
[Token(Token = "0x60011FE")]
[Address(RVA = "0x2F1E7C0", Offset = "0x2F1D5C0", VA = "0x182F1E7C0", Slot = "22")]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
// Token: 0x060011FF RID: 4607 RVA: 0x0000E010 File Offset: 0x0000C210
[Token(Token = "0x60011FF")]
[Address(RVA = "0x2F1EB60", Offset = "0x2F1D960", VA = "0x182F1EB60", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
// Token: 0x06001200 RID: 4608 RVA: 0x0000E028 File Offset: 0x0000C228
[Token(Token = "0x6001200")]
[Address(RVA = "0x2F1ECF0", Offset = "0x2F1DAF0", VA = "0x182F1ECF0", Slot = "24")]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
// Token: 0x06001201 RID: 4609 RVA: 0x0000E040 File Offset: 0x0000C240
[Token(Token = "0x6001201")]
[Address(RVA = "0x2F1EF30", Offset = "0x2F1DD30", VA = "0x182F1EF30", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
// Token: 0x06001202 RID: 4610 RVA: 0x0000E058 File Offset: 0x0000C258
[Token(Token = "0x6001202")]
[Address(RVA = "0x2F1EDF0", Offset = "0x2F1DBF0", VA = "0x182F1EDF0", Slot = "29")]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
// Token: 0x06001203 RID: 4611 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001203")]
[Address(RVA = "0x2F1F290", Offset = "0x2F1E090", VA = "0x182F1F290", Slot = "37")]
public override string GetString(byte[] bytes, int index, int count)
{
return null;
}
// Token: 0x06001204 RID: 4612 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001204")]
[Address(RVA = "0x2F1F190", Offset = "0x2F1DF90", VA = "0x182F1F190", Slot = "32")]
public override Decoder GetDecoder()
{
return null;
}
// Token: 0x06001205 RID: 4613 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001205")]
[Address(RVA = "0x2F1F210", Offset = "0x2F1E010", VA = "0x182F1F210", Slot = "33")]
public override Encoder GetEncoder()
{
return null;
}
}
}
+53
View File
@@ -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;
}
}
@@ -0,0 +1,70 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001BE RID: 446
[Token(Token = "0x20001BE")]
[Serializable]
internal sealed class InternalDecoderBestFitFallback : DecoderFallback
{
// Token: 0x060010F2 RID: 4338 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010F2")]
[Address(RVA = "0x2F23010", Offset = "0x2F21E10", VA = "0x182F23010")]
internal InternalDecoderBestFitFallback(Encoding encoding)
{
}
// Token: 0x060010F3 RID: 4339 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60010F3")]
[Address(RVA = "0x2F22ED0", Offset = "0x2F21CD0", VA = "0x182F22ED0", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
// Token: 0x1700019A RID: 410
// (get) Token: 0x060010F4 RID: 4340 RVA: 0x0000D590 File Offset: 0x0000B790
[Token(Token = "0x1700019A")]
public override int MaxCharCount
{
[Token(Token = "0x60010F4")]
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "5")]
get
{
return 0;
}
}
// Token: 0x060010F5 RID: 4341 RVA: 0x0000D5A8 File Offset: 0x0000B7A8
[Token(Token = "0x60010F5")]
[Address(RVA = "0x2F22F30", Offset = "0x2F21D30", VA = "0x182F22F30", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
// Token: 0x060010F6 RID: 4342 RVA: 0x0000D5C0 File Offset: 0x0000B7C0
[Token(Token = "0x60010F6")]
[Address(RVA = "0x2F22FE0", Offset = "0x2F21DE0", VA = "0x182F22FE0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040008D8 RID: 2264
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008D8")]
internal Encoding encoding;
// Token: 0x040008D9 RID: 2265
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008D9")]
internal char[] arrayBestFit;
// Token: 0x040008DA RID: 2266
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40008DA")]
internal char cReplacement;
}
}
@@ -0,0 +1,106 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001BF RID: 447
[Token(Token = "0x20001BF")]
internal sealed class InternalDecoderBestFitFallbackBuffer : DecoderFallbackBuffer
{
// Token: 0x1700019B RID: 411
// (get) Token: 0x060010F7 RID: 4343 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x1700019B")]
private static object InternalSyncObject
{
[Token(Token = "0x60010F7")]
[Address(RVA = "0x2F22E40", Offset = "0x2F21C40", VA = "0x182F22E40")]
get
{
return null;
}
}
// Token: 0x060010F8 RID: 4344 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010F8")]
[Address(RVA = "0x2F22CD0", Offset = "0x2F21AD0", VA = "0x182F22CD0")]
public InternalDecoderBestFitFallbackBuffer(InternalDecoderBestFitFallback fallback)
{
}
// Token: 0x060010F9 RID: 4345 RVA: 0x0000D5D8 File Offset: 0x0000B7D8
[Token(Token = "0x60010F9")]
[Address(RVA = "0x2F22A20", Offset = "0x2F21820", VA = "0x182F22A20", Slot = "4")]
public override bool Fallback(byte[] bytesUnknown, int index)
{
return default(bool);
}
// Token: 0x060010FA RID: 4346 RVA: 0x0000D5F0 File Offset: 0x0000B7F0
[Token(Token = "0x60010FA")]
[Address(RVA = "0x2F22A70", Offset = "0x2F21870", VA = "0x182F22A70", Slot = "5")]
public override char GetNextChar()
{
return '\0';
}
// Token: 0x1700019C RID: 412
// (get) Token: 0x060010FB RID: 4347 RVA: 0x0000D608 File Offset: 0x0000B808
[Token(Token = "0x1700019C")]
public override int Remaining
{
[Token(Token = "0x60010FB")]
[Address(RVA = "0x291F9B0", Offset = "0x291E7B0", VA = "0x18291F9B0", Slot = "6")]
get
{
return 0;
}
}
// Token: 0x060010FC RID: 4348 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60010FC")]
[Address(RVA = "0x291F990", Offset = "0x291E790", VA = "0x18291F990", Slot = "7")]
public override void Reset()
{
}
// Token: 0x060010FD RID: 4349 RVA: 0x0000D620 File Offset: 0x0000B820
[Token(Token = "0x60010FD")]
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "9")]
internal unsafe override int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x060010FE RID: 4350 RVA: 0x0000D638 File Offset: 0x0000B838
[Token(Token = "0x60010FE")]
[Address(RVA = "0x2F22AA0", Offset = "0x2F218A0", VA = "0x182F22AA0")]
private char TryBestFit(byte[] bytesCheck)
{
return '\0';
}
// Token: 0x040008DB RID: 2267
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008DB")]
internal char cBestFit;
// Token: 0x040008DC RID: 2268
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x40008DC")]
internal int iCount;
// Token: 0x040008DD RID: 2269
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40008DD")]
internal int iSize;
// Token: 0x040008DE RID: 2270
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x40008DE")]
private InternalDecoderBestFitFallback oFallback;
// Token: 0x040008DF RID: 2271
[Token(Token = "0x40008DF")]
private static object s_InternalSyncObject;
}
}
@@ -0,0 +1,65 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001C9 RID: 457
[Token(Token = "0x20001C9")]
[Serializable]
internal class InternalEncoderBestFitFallback : EncoderFallback
{
// Token: 0x06001143 RID: 4419 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001143")]
[Address(RVA = "0x2F23820", Offset = "0x2F22620", VA = "0x182F23820")]
internal InternalEncoderBestFitFallback(Encoding encoding)
{
}
// Token: 0x06001144 RID: 4420 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001144")]
[Address(RVA = "0x2F236E0", Offset = "0x2F224E0", VA = "0x182F236E0", Slot = "4")]
public override EncoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
// Token: 0x170001AC RID: 428
// (get) Token: 0x06001145 RID: 4421 RVA: 0x0000D8C0 File Offset: 0x0000BAC0
[Token(Token = "0x170001AC")]
public override int MaxCharCount
{
[Token(Token = "0x6001145")]
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "5")]
get
{
return 0;
}
}
// Token: 0x06001146 RID: 4422 RVA: 0x0000D8D8 File Offset: 0x0000BAD8
[Token(Token = "0x6001146")]
[Address(RVA = "0x2F23740", Offset = "0x2F22540", VA = "0x182F23740", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
// Token: 0x06001147 RID: 4423 RVA: 0x0000D8F0 File Offset: 0x0000BAF0
[Token(Token = "0x6001147")]
[Address(RVA = "0x2F22FE0", Offset = "0x2F21DE0", VA = "0x182F22FE0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x040008F2 RID: 2290
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40008F2")]
internal Encoding encoding;
// Token: 0x040008F3 RID: 2291
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40008F3")]
internal char[] arrayBestFit;
}
}
@@ -0,0 +1,114 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001CA RID: 458
[Token(Token = "0x20001CA")]
internal sealed class InternalEncoderBestFitFallbackBuffer : EncoderFallbackBuffer
{
// Token: 0x170001AD RID: 429
// (get) Token: 0x06001148 RID: 4424 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x170001AD")]
private static object InternalSyncObject
{
[Token(Token = "0x6001148")]
[Address(RVA = "0x2F23640", Offset = "0x2F22440", VA = "0x182F23640")]
get
{
return null;
}
}
// Token: 0x06001149 RID: 4425 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001149")]
[Address(RVA = "0x2F234D0", Offset = "0x2F222D0", VA = "0x182F234D0")]
public InternalEncoderBestFitFallbackBuffer(InternalEncoderBestFitFallback fallback)
{
}
// Token: 0x0600114A RID: 4426 RVA: 0x0000D908 File Offset: 0x0000BB08
[Token(Token = "0x600114A")]
[Address(RVA = "0x2F23050", Offset = "0x2F21E50", VA = "0x182F23050", Slot = "4")]
public override bool Fallback(char charUnknown, int index)
{
return default(bool);
}
// Token: 0x0600114B RID: 4427 RVA: 0x0000D920 File Offset: 0x0000BB20
[Token(Token = "0x600114B")]
[Address(RVA = "0x2F23090", Offset = "0x2F21E90", VA = "0x182F23090", Slot = "5")]
public override bool Fallback(char charUnknownHigh, char charUnknownLow, int index)
{
return default(bool);
}
// Token: 0x0600114C RID: 4428 RVA: 0x0000D938 File Offset: 0x0000BB38
[Token(Token = "0x600114C")]
[Address(RVA = "0x2F23300", Offset = "0x2F22100", VA = "0x182F23300", Slot = "6")]
public override char GetNextChar()
{
return '\0';
}
// Token: 0x0600114D RID: 4429 RVA: 0x0000D950 File Offset: 0x0000BB50
[Token(Token = "0x600114D")]
[Address(RVA = "0x2F23330", Offset = "0x2F22130", VA = "0x182F23330", Slot = "7")]
public override bool MovePrevious()
{
return default(bool);
}
// Token: 0x170001AE RID: 430
// (get) Token: 0x0600114E RID: 4430 RVA: 0x0000D968 File Offset: 0x0000BB68
[Token(Token = "0x170001AE")]
public override int Remaining
{
[Token(Token = "0x600114E")]
[Address(RVA = "0x2F236D0", Offset = "0x2F224D0", VA = "0x182F236D0", Slot = "8")]
get
{
return 0;
}
}
// Token: 0x0600114F RID: 4431 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600114F")]
[Address(RVA = "0x2F23350", Offset = "0x2F22150", VA = "0x182F23350", Slot = "9")]
public override void Reset()
{
}
// Token: 0x06001150 RID: 4432 RVA: 0x0000D980 File Offset: 0x0000BB80
[Token(Token = "0x6001150")]
[Address(RVA = "0x2F23370", Offset = "0x2F22170", VA = "0x182F23370")]
private char TryBestFit(char cUnknown)
{
return '\0';
}
// Token: 0x040008F4 RID: 2292
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x40008F4")]
private char cBestFit;
// Token: 0x040008F5 RID: 2293
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x40008F5")]
private InternalEncoderBestFitFallback oFallback;
// Token: 0x040008F6 RID: 2294
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x40008F6")]
private int iCount;
// Token: 0x040008F7 RID: 2295
[FieldOffset(Offset = "0x44")]
[Token(Token = "0x40008F7")]
private int iSize;
// Token: 0x040008F8 RID: 2296
[Token(Token = "0x40008F8")]
private static object s_InternalSyncObject;
}
}
+93
View File
@@ -0,0 +1,93 @@
using System;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001DA RID: 474
[Token(Token = "0x20001DA")]
[Serializable]
internal class Latin1Encoding : EncodingNLS, ISerializable
{
// Token: 0x0600120B RID: 4619 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600120B")]
[Address(RVA = "0x2F24420", Offset = "0x2F23220", VA = "0x182F24420")]
public Latin1Encoding()
{
}
// Token: 0x0600120C RID: 4620 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600120C")]
[Address(RVA = "0x2F243D0", Offset = "0x2F231D0", VA = "0x182F243D0")]
internal Latin1Encoding(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600120D RID: 4621 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600120D")]
[Address(RVA = "0x2F241F0", Offset = "0x2F22FF0", VA = "0x182F241F0", Slot = "40")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x0600120E RID: 4622 RVA: 0x0000E070 File Offset: 0x0000C270
[Token(Token = "0x600120E")]
[Address(RVA = "0x2F238B0", Offset = "0x2F226B0", VA = "0x182F238B0", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int charCount, EncoderNLS encoder)
{
return 0;
}
// Token: 0x0600120F RID: 4623 RVA: 0x0000E088 File Offset: 0x0000C288
[Token(Token = "0x600120F")]
[Address(RVA = "0x2F23A90", Offset = "0x2F22890", VA = "0x182F23A90", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
{
return 0;
}
// Token: 0x06001210 RID: 4624 RVA: 0x0000E0A0 File Offset: 0x0000C2A0
[Token(Token = "0x6001210")]
[Address(RVA = "0x2F23F00", Offset = "0x2F22D00", VA = "0x182F23F00", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS decoder)
{
return 0;
}
// Token: 0x06001211 RID: 4625 RVA: 0x0000E0B8 File Offset: 0x0000C2B8
[Token(Token = "0x6001211")]
[Address(RVA = "0x2F23F10", Offset = "0x2F22D10", VA = "0x182F23F10", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS decoder)
{
return 0;
}
// Token: 0x06001212 RID: 4626 RVA: 0x0000E0D0 File Offset: 0x0000C2D0
[Token(Token = "0x6001212")]
[Address(RVA = "0x2F23FB0", Offset = "0x2F22DB0", VA = "0x182F23FB0", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
// Token: 0x06001213 RID: 4627 RVA: 0x0000E0E8 File Offset: 0x0000C2E8
[Token(Token = "0x6001213")]
[Address(RVA = "0x2F240D0", Offset = "0x2F22ED0", VA = "0x182F240D0", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
// Token: 0x06001214 RID: 4628 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001214")]
[Address(RVA = "0x2F23850", Offset = "0x2F22650", VA = "0x182F23850", Slot = "38")]
internal override char[] GetBestFitUnicodeToBytesData()
{
return null;
}
// Token: 0x0400096B RID: 2411
[Token(Token = "0x400096B")]
private static readonly char[] arrayCharBestFit;
}
}
+213
View File
@@ -0,0 +1,213 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001EA RID: 490
[Token(Token = "0x20001EA")]
internal class Normalization
{
// Token: 0x060012F2 RID: 4850 RVA: 0x0000EA18 File Offset: 0x0000CC18
[Token(Token = "0x60012F2")]
[Address(RVA = "0x2F258A0", Offset = "0x2F246A0", VA = "0x182F258A0")]
private static uint PropValue(int cp)
{
return 0U;
}
// Token: 0x060012F3 RID: 4851 RVA: 0x0000EA30 File Offset: 0x0000CC30
[Token(Token = "0x60012F3")]
[Address(RVA = "0x2F24430", Offset = "0x2F23230", VA = "0x182F24430")]
private static int CharMapIdx(int cp)
{
return 0;
}
// Token: 0x060012F4 RID: 4852 RVA: 0x0000EA48 File Offset: 0x0000CC48
[Token(Token = "0x60012F4")]
[Address(RVA = "0x2F25450", Offset = "0x2F24250", VA = "0x182F25450")]
private static byte GetCombiningClass(int c)
{
return 0;
}
// Token: 0x060012F5 RID: 4853 RVA: 0x0000EA60 File Offset: 0x0000CC60
[Token(Token = "0x60012F5")]
[Address(RVA = "0x2F25510", Offset = "0x2F24310", VA = "0x182F25510")]
private static int GetPrimaryCompositeFromMapIndex(int src)
{
return 0;
}
// Token: 0x060012F6 RID: 4854 RVA: 0x0000EA78 File Offset: 0x0000CC78
[Token(Token = "0x60012F6")]
[Address(RVA = "0x2F255D0", Offset = "0x2F243D0", VA = "0x182F255D0")]
private static int GetPrimaryCompositeHelperIndex(int cp)
{
return 0;
}
// Token: 0x060012F7 RID: 4855 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012F7")]
[Address(RVA = "0x2F248C0", Offset = "0x2F236C0", VA = "0x182F248C0")]
private static string Compose(string source, int checkType)
{
return null;
}
// Token: 0x060012F8 RID: 4856 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012F8")]
[Address(RVA = "0x2F24790", Offset = "0x2F23590", VA = "0x182F24790")]
private static StringBuilder Combine(string source, int start, int checkType)
{
return null;
}
// Token: 0x060012F9 RID: 4857 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F9")]
[Address(RVA = "0x2F24680", Offset = "0x2F23480", VA = "0x182F24680")]
private static void Combine(StringBuilder sb, int i, int checkType)
{
}
// Token: 0x060012FA RID: 4858 RVA: 0x0000EA90 File Offset: 0x0000CC90
[Token(Token = "0x60012FA")]
[Address(RVA = "0x2F244D0", Offset = "0x2F232D0", VA = "0x182F244D0")]
private static int CombineHangul(StringBuilder sb, string s, int current)
{
return 0;
}
// Token: 0x060012FB RID: 4859 RVA: 0x0000EAA8 File Offset: 0x0000CCA8
[Token(Token = "0x60012FB")]
[Address(RVA = "0x2F24ED0", Offset = "0x2F23CD0", VA = "0x182F24ED0")]
private static int Fetch(StringBuilder sb, string s, int i)
{
return 0;
}
// Token: 0x060012FC RID: 4860 RVA: 0x0000EAC0 File Offset: 0x0000CCC0
[Token(Token = "0x60012FC")]
[Address(RVA = "0x2F25D50", Offset = "0x2F24B50", VA = "0x182F25D50")]
private static int TryComposeWithPreviousStarter(StringBuilder sb, string s, int current)
{
return 0;
}
// Token: 0x060012FD RID: 4861 RVA: 0x0000EAD8 File Offset: 0x0000CCD8
[Token(Token = "0x60012FD")]
[Address(RVA = "0x2F260E0", Offset = "0x2F24EE0", VA = "0x182F260E0")]
private static int TryCompose(int i, int starter, int candidate)
{
return 0;
}
// Token: 0x060012FE RID: 4862 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012FE")]
[Address(RVA = "0x2F24CC0", Offset = "0x2F23AC0", VA = "0x182F24CC0")]
private static string Decompose(string source, int checkType)
{
return null;
}
// Token: 0x060012FF RID: 4863 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012FF")]
[Address(RVA = "0x2F24D60", Offset = "0x2F23B60", VA = "0x182F24D60")]
private static void Decompose(string source, ref StringBuilder sb, int checkType)
{
}
// Token: 0x06001300 RID: 4864 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001300")]
[Address(RVA = "0x2F25AB0", Offset = "0x2F248B0", VA = "0x182F25AB0")]
private static void ReorderCanonical(string src, ref StringBuilder sb, int start)
{
}
// Token: 0x06001301 RID: 4865 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001301")]
[Address(RVA = "0x2F24AC0", Offset = "0x2F238C0", VA = "0x182F24AC0")]
private static void DecomposeChar(ref StringBuilder sb, ref int[] buf, string s, int i, int checkType, ref int start)
{
}
// Token: 0x06001302 RID: 4866 RVA: 0x0000EAF0 File Offset: 0x0000CCF0
[Token(Token = "0x6001302")]
[Address(RVA = "0x2F25940", Offset = "0x2F24740", VA = "0x182F25940")]
public static NormalizationCheck QuickCheck(char c, int type)
{
return NormalizationCheck.Yes;
}
// Token: 0x06001303 RID: 4867 RVA: 0x0000EB08 File Offset: 0x0000CD08
[Token(Token = "0x6001303")]
[Address(RVA = "0x2F24F20", Offset = "0x2F23D20", VA = "0x182F24F20")]
private static int GetCanonicalHangul(int s, int[] buf, int bufIdx)
{
return 0;
}
// Token: 0x06001304 RID: 4868 RVA: 0x0000EB20 File Offset: 0x0000CD20
[Token(Token = "0x6001304")]
[Address(RVA = "0x2F25070", Offset = "0x2F23E70", VA = "0x182F25070")]
private static int GetCanonical(int c, int[] buf, int bufIdx, int checkType)
{
return 0;
}
// Token: 0x06001305 RID: 4869 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001305")]
[Address(RVA = "0x2F257B0", Offset = "0x2F245B0", VA = "0x182F257B0")]
public static string Normalize(string source, NormalizationForm normalizationForm)
{
return null;
}
// Token: 0x06001306 RID: 4870 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001306")]
[Address(RVA = "0x2F25690", Offset = "0x2F24490", VA = "0x182F25690")]
public static string Normalize(string source, int type)
{
return null;
}
// Token: 0x06001307 RID: 4871 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001307")]
[Address(RVA = "0x2F26450", Offset = "0x2F25250", VA = "0x182F26450")]
private static void load_normalization_resource(out IntPtr props, out IntPtr mappedChars, out IntPtr charMapIndex, out IntPtr helperIndex, out IntPtr mapIdxToComposite, out IntPtr combiningClass)
{
}
// Token: 0x04000997 RID: 2455
[Token(Token = "0x4000997")]
private unsafe static byte* props;
// Token: 0x04000998 RID: 2456
[Token(Token = "0x4000998")]
private unsafe static int* mappedChars;
// Token: 0x04000999 RID: 2457
[Token(Token = "0x4000999")]
private unsafe static short* charMapIndex;
// Token: 0x0400099A RID: 2458
[Token(Token = "0x400099A")]
private unsafe static short* helperIndex;
// Token: 0x0400099B RID: 2459
[Token(Token = "0x400099B")]
private unsafe static ushort* mapIdxToComposite;
// Token: 0x0400099C RID: 2460
[Token(Token = "0x400099C")]
private unsafe static byte* combiningClass;
// Token: 0x0400099D RID: 2461
[Token(Token = "0x400099D")]
private static object forLock;
// Token: 0x0400099E RID: 2462
[Token(Token = "0x400099E")]
public static readonly bool isReady;
}
}
@@ -0,0 +1,20 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001E9 RID: 489
[Token(Token = "0x20001E9")]
internal enum NormalizationCheck
{
// Token: 0x04000994 RID: 2452
[Token(Token = "0x4000994")]
Yes,
// Token: 0x04000995 RID: 2453
[Token(Token = "0x4000995")]
No,
// Token: 0x04000996 RID: 2454
[Token(Token = "0x4000996")]
Maybe
}
}
+30
View File
@@ -0,0 +1,30 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Defines the type of normalization to perform.</summary>
// Token: 0x020001EC RID: 492
[Token(Token = "0x20001EC")]
[ComVisible(true)]
public enum NormalizationForm
{
/// <summary>Indicates that a Unicode string is normalized using full canonical decomposition, followed by the replacement of sequences with their primary composites, if possible.</summary>
// Token: 0x040009A4 RID: 2468
[Token(Token = "0x40009A4")]
FormC = 1,
/// <summary>Indicates that a Unicode string is normalized using full canonical decomposition.</summary>
// Token: 0x040009A5 RID: 2469
[Token(Token = "0x40009A5")]
FormD,
/// <summary>Indicates that a Unicode string is normalized using full compatibility decomposition, followed by the replacement of sequences with their primary composites, if possible.</summary>
// Token: 0x040009A6 RID: 2470
[Token(Token = "0x40009A6")]
FormKC = 5,
/// <summary>Indicates that a Unicode string is normalized using full compatibility decomposition.</summary>
// Token: 0x040009A7 RID: 2471
[Token(Token = "0x40009A7")]
FormKD
}
}
+879
View File
@@ -0,0 +1,879 @@
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a mutable string of characters. This class cannot be inherited.</summary>
// Token: 0x020001DB RID: 475
[Token(Token = "0x20001DB")]
[ComVisible(true)]
[Serializable]
[StructLayout(0)]
public sealed class StringBuilder : ISerializable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.StringBuilder" /> class.</summary>
// Token: 0x06001216 RID: 4630 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001216")]
[Address(RVA = "0x2F2A2E0", Offset = "0x2F290E0", VA = "0x182F2A2E0")]
public StringBuilder()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.StringBuilder" /> class using the specified capacity.</summary>
/// <param name="capacity">The suggested starting size of this instance.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="capacity" /> is less than zero.</exception>
// Token: 0x06001217 RID: 4631 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001217")]
[Address(RVA = "0x2F29E60", Offset = "0x2F28C60", VA = "0x182F29E60")]
public StringBuilder(int capacity)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.StringBuilder" /> class using the specified string.</summary>
/// <param name="value">The string used to initialize the value of the instance. If <paramref name="value" /> is <see langword="null" />, the new <see cref="T:System.Text.StringBuilder" /> will contain the empty string (that is, it contains <see cref="F:System.String.Empty" />).</param>
// Token: 0x06001218 RID: 4632 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001218")]
[Address(RVA = "0x2F2A1E0", Offset = "0x2F28FE0", VA = "0x182F2A1E0")]
public StringBuilder(string value)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.StringBuilder" /> class using the specified string and capacity.</summary>
/// <param name="value">The string used to initialize the value of the instance. If <paramref name="value" /> is <see langword="null" />, the new <see cref="T:System.Text.StringBuilder" /> will contain the empty string (that is, it contains <see cref="F:System.String.Empty" />).</param>
/// <param name="capacity">The suggested starting size of the <see cref="T:System.Text.StringBuilder" />.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="capacity" /> is less than zero.</exception>
// Token: 0x06001219 RID: 4633 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001219")]
[Address(RVA = "0x2F2A220", Offset = "0x2F29020", VA = "0x182F2A220")]
public StringBuilder(string value, int capacity)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.StringBuilder" /> class from the specified substring and capacity.</summary>
/// <param name="value">The string that contains the substring used to initialize the value of this instance. If <paramref name="value" /> is <see langword="null" />, the new <see cref="T:System.Text.StringBuilder" /> will contain the empty string (that is, it contains <see cref="F:System.String.Empty" />).</param>
/// <param name="startIndex">The position within <paramref name="value" /> where the substring begins.</param>
/// <param name="length">The number of characters in the substring.</param>
/// <param name="capacity">The suggested starting size of the <see cref="T:System.Text.StringBuilder" />.</param>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="capacity" /> is less than zero.
/// -or-
/// <paramref name="startIndex" /> plus <paramref name="length" /> is not a position within <paramref name="value" />.</exception>
// Token: 0x0600121A RID: 4634 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600121A")]
[Address(RVA = "0x2F29BC0", Offset = "0x2F289C0", VA = "0x182F29BC0")]
public StringBuilder(string value, int startIndex, int length, int capacity)
{
}
// Token: 0x0600121B RID: 4635 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600121B")]
[Address(RVA = "0x2F29F30", Offset = "0x2F28D30", VA = "0x182F29F30")]
private StringBuilder(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Populates a <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the data necessary to deserialize the current <see cref="T:System.Text.StringBuilder" /> object.</summary>
/// <param name="info">The object to populate with serialization information.</param>
/// <param name="context">The place to store and retrieve serialized data. Reserved for future use.</param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="info" /> is <see langword="null" />.</exception>
// Token: 0x0600121C RID: 4636 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600121C")]
[Address(RVA = "0x2F29510", Offset = "0x2F28310", VA = "0x182F29510", Slot = "4")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
/// <summary>Gets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.</summary>
/// <returns>The maximum number of characters that can be contained in the memory allocated by the current instance. Its value can range from <see cref="P:System.Text.StringBuilder.Length" /> to <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than the current length of this instance.
/// -or-
/// The value specified for a set operation is greater than the maximum capacity.</exception>
// Token: 0x170001D2 RID: 466
// (get) Token: 0x0600121D RID: 4637 RVA: 0x0000E100 File Offset: 0x0000C300
// (set) Token: 0x0600121E RID: 4638 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001D2")]
public int Capacity
{
[Token(Token = "0x600121D")]
[Address(RVA = "0x2F2A350", Offset = "0x2F29150", VA = "0x182F2A350")]
get
{
return 0;
}
[Token(Token = "0x600121E")]
[Address(RVA = "0x2F2A450", Offset = "0x2F29250", VA = "0x182F2A450")]
set
{
}
}
/// <summary>Gets the maximum capacity of this instance.</summary>
/// <returns>The maximum number of characters this instance can hold.</returns>
// Token: 0x170001D3 RID: 467
// (get) Token: 0x0600121F RID: 4639 RVA: 0x0000E118 File Offset: 0x0000C318
[Token(Token = "0x170001D3")]
public int MaxCapacity
{
[Token(Token = "0x600121F")]
[Address(RVA = "0x42EE50", Offset = "0x42DC50", VA = "0x18042EE50")]
get
{
return 0;
}
}
/// <summary>Ensures that the capacity of this instance of <see cref="T:System.Text.StringBuilder" /> is at least the specified value.</summary>
/// <param name="capacity">The minimum capacity to ensure.</param>
/// <returns>The new capacity of this instance.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="capacity" /> is less than zero.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001220 RID: 4640 RVA: 0x0000E130 File Offset: 0x0000C330
[Token(Token = "0x6001220")]
[Address(RVA = "0x2F27CD0", Offset = "0x2F26AD0", VA = "0x182F27CD0")]
public int EnsureCapacity(int capacity)
{
return 0;
}
/// <summary>Converts the value of this instance to a <see cref="T:System.String" />.</summary>
/// <returns>A string whose value is the same as this instance.</returns>
// Token: 0x06001221 RID: 4641 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001221")]
[Address(RVA = "0x2F29A80", Offset = "0x2F28880", VA = "0x182F29A80", Slot = "3")]
public override string ToString()
{
return null;
}
/// <summary>Converts the value of a substring of this instance to a <see cref="T:System.String" />.</summary>
/// <param name="startIndex">The starting position of the substring in this instance.</param>
/// <param name="length">The length of the substring.</param>
/// <returns>A string whose value is the same as the specified substring of this instance.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="startIndex" /> or <paramref name="length" /> is less than zero.
/// -or-
/// The sum of <paramref name="startIndex" /> and <paramref name="length" /> is greater than the length of the current instance.</exception>
// Token: 0x06001222 RID: 4642 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001222")]
[Address(RVA = "0x2F297D0", Offset = "0x2F285D0", VA = "0x182F297D0")]
public string ToString(int startIndex, int length)
{
return null;
}
/// <summary>Removes all characters from the current <see cref="T:System.Text.StringBuilder" /> instance.</summary>
/// <returns>An object whose <see cref="P:System.Text.StringBuilder.Length" /> is 0 (zero).</returns>
// Token: 0x06001223 RID: 4643 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001223")]
[Address(RVA = "0x2F27CB0", Offset = "0x2F26AB0", VA = "0x182F27CB0")]
public StringBuilder Clear()
{
return null;
}
/// <summary>Gets or sets the length of the current <see cref="T:System.Text.StringBuilder" /> object.</summary>
/// <returns>The length of this instance.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value specified for a set operation is less than zero or greater than <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x170001D4 RID: 468
// (get) Token: 0x06001224 RID: 4644 RVA: 0x0000E148 File Offset: 0x0000C348
// (set) Token: 0x06001225 RID: 4645 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170001D4")]
public int Length
{
[Token(Token = "0x6001224")]
[Address(RVA = "0x241E590", Offset = "0x241D390", VA = "0x18241E590")]
get
{
return 0;
}
[Token(Token = "0x6001225")]
[Address(RVA = "0x2F2A6E0", Offset = "0x2F294E0", VA = "0x182F2A6E0")]
set
{
}
}
/// <summary>Gets or sets the character at the specified character position in this instance.</summary>
/// <param name="index">The position of the character.</param>
/// <returns>The Unicode character at position <paramref name="index" />.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is outside the bounds of this instance while setting a character.</exception>
/// <exception cref="T:System.IndexOutOfRangeException">
/// <paramref name="index" /> is outside the bounds of this instance while getting a character.</exception>
// Token: 0x170001D5 RID: 469
[Token(Token = "0x170001D5")]
[IndexerName("Chars")]
public char this[int index]
{
[Token(Token = "0x6001226")]
[Address(RVA = "0x2F2A370", Offset = "0x2F29170", VA = "0x182F2A370")]
get
{
return '\0';
}
[Token(Token = "0x6001227")]
[Address(RVA = "0x2F2A5C0", Offset = "0x2F293C0", VA = "0x182F2A5C0")]
set
{
}
}
/// <summary>Appends a specified number of copies of the string representation of a Unicode character to this instance.</summary>
/// <param name="value">The character to append.</param>
/// <param name="repeatCount">The number of times to append <paramref name="value" />.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="repeatCount" /> is less than zero.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
/// <exception cref="T:System.OutOfMemoryException">Out of memory.</exception>
// Token: 0x06001228 RID: 4648 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001228")]
[Address(RVA = "0x2F27690", Offset = "0x2F26490", VA = "0x182F27690")]
public StringBuilder Append(char value, int repeatCount)
{
return null;
}
/// <summary>Appends the string representation of a specified subarray of Unicode characters to this instance.</summary>
/// <param name="value">A character array.</param>
/// <param name="startIndex">The starting position in <paramref name="value" />.</param>
/// <param name="charCount">The number of characters to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="value" /> is <see langword="null" />, and <paramref name="startIndex" /> and <paramref name="charCount" /> are not zero.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// <paramref name="startIndex" /> is less than zero.
/// -or-
/// <paramref name="startIndex" /> + <paramref name="charCount" /> is greater than the length of <paramref name="value" />.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001229 RID: 4649 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001229")]
[Address(RVA = "0x2F27440", Offset = "0x2F26240", VA = "0x182F27440")]
public StringBuilder Append(char[] value, int startIndex, int charCount)
{
return null;
}
/// <summary>Appends a copy of the specified string to this instance.</summary>
/// <param name="value">The string to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600122A RID: 4650 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600122A")]
[Address(RVA = "0x2F27A60", Offset = "0x2F26860", VA = "0x182F27A60")]
public StringBuilder Append(string value)
{
return null;
}
// Token: 0x0600122B RID: 4651 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600122B")]
[Address(RVA = "0x2F27050", Offset = "0x2F25E50", VA = "0x182F27050")]
private void AppendHelper(string value)
{
}
/// <summary>Appends a copy of a specified substring to this instance.</summary>
/// <param name="value">The string that contains the substring to append.</param>
/// <param name="startIndex">The starting position of the substring within <paramref name="value" />.</param>
/// <param name="count">The number of characters in <paramref name="value" /> to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="value" /> is <see langword="null" />, and <paramref name="startIndex" /> and <paramref name="count" /> are not zero.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> less than zero.
/// -or-
/// <paramref name="startIndex" /> less than zero.
/// -or-
/// <paramref name="startIndex" /> + <paramref name="count" /> is greater than the length of <paramref name="value" />.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600122C RID: 4652 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600122C")]
[Address(RVA = "0x2F27790", Offset = "0x2F26590", VA = "0x182F27790")]
public StringBuilder Append(string value, int startIndex, int count)
{
return null;
}
/// <summary>Appends the default line terminator to the end of the current <see cref="T:System.Text.StringBuilder" /> object.</summary>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600122D RID: 4653 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600122D")]
[Address(RVA = "0x2F270D0", Offset = "0x2F25ED0", VA = "0x182F270D0")]
[ComVisible(false)]
public StringBuilder AppendLine()
{
return null;
}
/// <summary>Appends a copy of the specified string followed by the default line terminator to the end of the current <see cref="T:System.Text.StringBuilder" /> object.</summary>
/// <param name="value">The string to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600122E RID: 4654 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600122E")]
[Address(RVA = "0x2F270A0", Offset = "0x2F25EA0", VA = "0x182F270A0")]
[ComVisible(false)]
public StringBuilder AppendLine(string value)
{
return null;
}
/// <summary>Inserts one or more copies of a specified string into this instance at the specified character position.</summary>
/// <param name="index">The position in this instance where insertion begins.</param>
/// <param name="value">The string to insert.</param>
/// <param name="count">The number of times to insert <paramref name="value" />.</param>
/// <returns>A reference to this instance after insertion has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is less than zero or greater than the current length of this instance.
/// -or-
/// <paramref name="count" /> is less than zero.</exception>
/// <exception cref="T:System.OutOfMemoryException">The current length of this <see cref="T:System.Text.StringBuilder" /> object plus the length of <paramref name="value" /> times <paramref name="count" /> exceeds <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600122F RID: 4655 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600122F")]
[Address(RVA = "0x2F282A0", Offset = "0x2F270A0", VA = "0x182F282A0")]
public StringBuilder Insert(int index, string value, int count)
{
return null;
}
/// <summary>Removes the specified range of characters from this instance.</summary>
/// <param name="startIndex">The zero-based position in this instance where removal begins.</param>
/// <param name="length">The number of characters to remove.</param>
/// <returns>A reference to this instance after the excise operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">If <paramref name="startIndex" /> or <paramref name="length" /> is less than zero, or <paramref name="startIndex" /> + <paramref name="length" /> is greater than the length of this instance.</exception>
// Token: 0x06001230 RID: 4656 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001230")]
[Address(RVA = "0x2F289E0", Offset = "0x2F277E0", VA = "0x182F289E0")]
public StringBuilder Remove(int startIndex, int length)
{
return null;
}
/// <summary>Appends the string representation of a specified Boolean value to this instance.</summary>
/// <param name="value">The Boolean value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001231 RID: 4657 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001231")]
[Address(RVA = "0x2F27C00", Offset = "0x2F26A00", VA = "0x182F27C00")]
public StringBuilder Append(bool value)
{
return null;
}
/// <summary>Appends the string representation of a specified 8-bit unsigned integer to this instance.</summary>
/// <param name="value">The value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001232 RID: 4658 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001232")]
[Address(RVA = "0x2F273D0", Offset = "0x2F261D0", VA = "0x182F273D0")]
public StringBuilder Append(byte value)
{
return null;
}
/// <summary>Appends the string representation of a specified <see cref="T:System.Char" /> object to this instance.</summary>
/// <param name="value">The UTF-16-encoded code unit to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001233 RID: 4659 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001233")]
[Address(RVA = "0x2F27100", Offset = "0x2F25F00", VA = "0x182F27100")]
public StringBuilder Append(char value)
{
return null;
}
/// <summary>Appends the string representation of a specified 32-bit signed integer to this instance.</summary>
/// <param name="value">The value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001234 RID: 4660 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001234")]
[Address(RVA = "0x2F27620", Offset = "0x2F26420", VA = "0x182F27620")]
public StringBuilder Append(int value)
{
return null;
}
/// <summary>Appends the string representation of a specified 64-bit signed integer to this instance.</summary>
/// <param name="value">The value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001235 RID: 4661 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001235")]
[Address(RVA = "0x2F279E0", Offset = "0x2F267E0", VA = "0x182F279E0")]
public StringBuilder Append(long value)
{
return null;
}
/// <summary>Appends the string representation of a specified double-precision floating-point number to this instance.</summary>
/// <param name="value">The value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001236 RID: 4662 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001236")]
[Address(RVA = "0x2F27210", Offset = "0x2F26010", VA = "0x182F27210")]
public StringBuilder Append(double value)
{
return null;
}
/// <summary>Appends the string representation of a specified 16-bit unsigned integer to this instance.</summary>
/// <param name="value">The value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001237 RID: 4663 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001237")]
[Address(RVA = "0x2F27C30", Offset = "0x2F26A30", VA = "0x182F27C30")]
[CLSCompliant(false)]
public StringBuilder Append(ushort value)
{
return null;
}
/// <summary>Appends the string representation of a specified 32-bit unsigned integer to this instance.</summary>
/// <param name="value">The value to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001238 RID: 4664 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001238")]
[Address(RVA = "0x2F27B90", Offset = "0x2F26990", VA = "0x182F27B90")]
[CLSCompliant(false)]
public StringBuilder Append(uint value)
{
return null;
}
/// <summary>Appends the string representation of a specified object to this instance.</summary>
/// <param name="value">The object to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001239 RID: 4665 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001239")]
[Address(RVA = "0x2F27950", Offset = "0x2F26750", VA = "0x182F27950")]
public StringBuilder Append(object value)
{
return null;
}
/// <summary>Appends the string representation of the Unicode characters in a specified array to this instance.</summary>
/// <param name="value">The array of characters to append.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600123A RID: 4666 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600123A")]
[Address(RVA = "0x2F27990", Offset = "0x2F26790", VA = "0x182F27990")]
public StringBuilder Append(char[] value)
{
return null;
}
/// <summary>Inserts a string into this instance at the specified character position.</summary>
/// <param name="index">The position in this instance where insertion begins.</param>
/// <param name="value">The string to insert.</param>
/// <returns>A reference to this instance after the insert operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is less than zero or greater than the current length of this instance.
/// -or-
/// The current length of this <see cref="T:System.Text.StringBuilder" /> object plus the length of <paramref name="value" /> exceeds <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600123B RID: 4667 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600123B")]
[Address(RVA = "0x2F281B0", Offset = "0x2F26FB0", VA = "0x182F281B0")]
public StringBuilder Insert(int index, string value)
{
return null;
}
/// <summary>Inserts the string representation of a specified Unicode character into this instance at the specified character position.</summary>
/// <param name="index">The position in this instance where insertion begins.</param>
/// <param name="value">The value to insert.</param>
/// <returns>A reference to this instance after the insert operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> is less than zero or greater than the length of this instance.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600123C RID: 4668 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600123C")]
[Address(RVA = "0x2F28270", Offset = "0x2F27070", VA = "0x182F28270")]
public StringBuilder Insert(int index, char value)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument.</summary>
/// <param name="format">A composite format string.</param>
/// <param name="arg0">An object to format.</param>
/// <returns>A reference to this instance with <paramref name="format" /> appended. Each format item in <paramref name="format" /> is replaced by the string representation of <paramref name="arg0" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to 1.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600123D RID: 4669 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600123D")]
[Address(RVA = "0x2F26FD0", Offset = "0x2F25DD0", VA = "0x182F26FD0")]
public StringBuilder AppendFormat(string format, object arg0)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of two arguments.</summary>
/// <param name="format">A composite format string.</param>
/// <param name="arg0">The first object to format.</param>
/// <param name="arg1">The second object to format.</param>
/// <returns>A reference to this instance with <paramref name="format" /> appended. Each format item in <paramref name="format" /> is replaced by the string representation of the corresponding object argument.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to 2.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600123E RID: 4670 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600123E")]
[Address(RVA = "0x2F26EC0", Offset = "0x2F25CC0", VA = "0x182F26EC0")]
public StringBuilder AppendFormat(string format, object arg0, object arg1)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of three arguments.</summary>
/// <param name="format">A composite format string.</param>
/// <param name="arg0">The first object to format.</param>
/// <param name="arg1">The second object to format.</param>
/// <param name="arg2">The third object to format.</param>
/// <returns>A reference to this instance with <paramref name="format" /> appended. Each format item in <paramref name="format" /> is replaced by the string representation of the corresponding object argument.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to 3.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x0600123F RID: 4671 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600123F")]
[Address(RVA = "0x2F26DA0", Offset = "0x2F25BA0", VA = "0x182F26DA0")]
public StringBuilder AppendFormat(string format, object arg0, object arg1, object arg2)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a corresponding argument in a parameter array.</summary>
/// <param name="format">A composite format string.</param>
/// <param name="args">An array of objects to format.</param>
/// <returns>A reference to this instance with <paramref name="format" /> appended. Each format item in <paramref name="format" /> is replaced by the string representation of the corresponding object argument.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> or <paramref name="args" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to the length of the <paramref name="args" /> array.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001240 RID: 4672 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001240")]
[Address(RVA = "0x2F26CC0", Offset = "0x2F25AC0", VA = "0x182F26CC0")]
public StringBuilder AppendFormat(string format, params object[] args)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of a single argument using a specified format provider.</summary>
/// <param name="provider">An object that supplies culture-specific formatting information.</param>
/// <param name="format">A composite format string.</param>
/// <param name="arg0">The object to format.</param>
/// <returns>A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of <paramref name="format" /> in which any format specification is replaced by the string representation of <paramref name="arg0" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to one (1).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001241 RID: 4673 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001241")]
[Address(RVA = "0x2F26C40", Offset = "0x2F25A40", VA = "0x182F26C40")]
public StringBuilder AppendFormat(IFormatProvider provider, string format, object arg0)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of two arguments using a specified format provider.</summary>
/// <param name="provider">An object that supplies culture-specific formatting information.</param>
/// <param name="format">A composite format string.</param>
/// <param name="arg0">The first object to format.</param>
/// <param name="arg1">The second object to format.</param>
/// <returns>A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of <paramref name="format" /> where any format specification is replaced by the string representation of the corresponding object argument.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to 2 (two).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001242 RID: 4674 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001242")]
[Address(RVA = "0x2F26E30", Offset = "0x2F25C30", VA = "0x182F26E30")]
public StringBuilder AppendFormat(IFormatProvider provider, string format, object arg0, object arg1)
{
return null;
}
/// <summary>Appends the string returned by processing a composite format string, which contains zero or more format items, to this instance. Each format item is replaced by the string representation of either of three arguments using a specified format provider.</summary>
/// <param name="provider">An object that supplies culture-specific formatting information.</param>
/// <param name="format">A composite format string.</param>
/// <param name="arg0">The first object to format.</param>
/// <param name="arg1">The second object to format.</param>
/// <param name="arg2">The third object to format.</param>
/// <returns>A reference to this instance after the append operation has completed. After the append operation, this instance contains any data that existed before the operation, suffixed by a copy of <paramref name="format" /> where any format specification is replaced by the string representation of the corresponding object argument.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="format" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.FormatException">
/// <paramref name="format" /> is invalid.
/// -or-
/// The index of a format item is less than 0 (zero), or greater than or equal to 3 (three).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The length of the expanded string would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001243 RID: 4675 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001243")]
[Address(RVA = "0x2F26F40", Offset = "0x2F25D40", VA = "0x182F26F40")]
public StringBuilder AppendFormat(IFormatProvider provider, string format, object arg0, object arg1, object arg2)
{
return null;
}
// Token: 0x06001244 RID: 4676 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001244")]
[Address(RVA = "0x2F28050", Offset = "0x2F26E50", VA = "0x182F28050")]
private static void FormatError()
{
}
// Token: 0x06001245 RID: 4677 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001245")]
[Address(RVA = "0x2F26600", Offset = "0x2F25400", VA = "0x182F26600")]
internal StringBuilder AppendFormatHelper(IFormatProvider provider, string format, ParamsArray args)
{
return null;
}
/// <summary>Replaces all occurrences of a specified string in this instance with another specified string.</summary>
/// <param name="oldValue">The string to replace.</param>
/// <param name="newValue">The string that replaces <paramref name="oldValue" />, or <see langword="null" />.</param>
/// <returns>A reference to this instance with all instances of <paramref name="oldValue" /> replaced by <paramref name="newValue" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="oldValue" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The length of <paramref name="oldValue" /> is zero.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001246 RID: 4678 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001246")]
[Address(RVA = "0x2F29400", Offset = "0x2F28200", VA = "0x182F29400")]
public StringBuilder Replace(string oldValue, string newValue)
{
return null;
}
/// <summary>Replaces, within a substring of this instance, all occurrences of a specified string with another specified string.</summary>
/// <param name="oldValue">The string to replace.</param>
/// <param name="newValue">The string that replaces <paramref name="oldValue" />, or <see langword="null" />.</param>
/// <param name="startIndex">The position in this instance where the substring begins.</param>
/// <param name="count">The length of the substring.</param>
/// <returns>A reference to this instance with all instances of <paramref name="oldValue" /> replaced by <paramref name="newValue" /> in the range from <paramref name="startIndex" /> to <paramref name="startIndex" /> + <paramref name="count" /> - 1.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="oldValue" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The length of <paramref name="oldValue" /> is zero.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="startIndex" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="startIndex" /> plus <paramref name="count" /> indicates a character position not within this instance.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
// Token: 0x06001247 RID: 4679 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001247")]
[Address(RVA = "0x2F28FE0", Offset = "0x2F27DE0", VA = "0x182F28FE0")]
public StringBuilder Replace(string oldValue, string newValue, int startIndex, int count)
{
return null;
}
/// <summary>Appends an array of Unicode characters starting at a specified address to this instance.</summary>
/// <param name="value">A pointer to an array of characters.</param>
/// <param name="valueCount">The number of characters in the array.</param>
/// <returns>A reference to this instance after the append operation has completed.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="valueCount" /> is less than zero.
/// -or-
/// Enlarging the value of this instance would exceed <see cref="P:System.Text.StringBuilder.MaxCapacity" />.</exception>
/// <exception cref="T:System.NullReferenceException">
/// <paramref name="value" /> is a null pointer.</exception>
// Token: 0x06001248 RID: 4680 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001248")]
[Address(RVA = "0x2F27290", Offset = "0x2F26090", VA = "0x182F27290")]
[CLSCompliant(false)]
public unsafe StringBuilder Append(char* value, int valueCount)
{
return null;
}
// Token: 0x06001249 RID: 4681 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001249")]
[Address(RVA = "0x2F280C0", Offset = "0x2F26EC0", VA = "0x182F280C0")]
private unsafe void Insert(int index, char* value, int valueCount)
{
}
// Token: 0x0600124A RID: 4682 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600124A")]
[Address(RVA = "0x2F28B70", Offset = "0x2F27970", VA = "0x182F28B70")]
private void ReplaceAllInChunk(int[] replacements, int replacementsCount, StringBuilder sourceChunk, int removeCount, string value)
{
}
// Token: 0x0600124B RID: 4683 RVA: 0x0000E178 File Offset: 0x0000C378
[Token(Token = "0x600124B")]
[Address(RVA = "0x2F29430", Offset = "0x2F28230", VA = "0x182F29430")]
private bool StartsWith(StringBuilder chunk, int indexInChunk, int count, string value)
{
return default(bool);
}
// Token: 0x0600124C RID: 4684 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600124C")]
[Address(RVA = "0x2F28EA0", Offset = "0x2F27CA0", VA = "0x182F28EA0")]
private unsafe void ReplaceInPlaceAtChunk(ref StringBuilder chunk, ref int indexInChunk, char* value, int count)
{
}
// Token: 0x0600124D RID: 4685 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600124D")]
[Address(RVA = "0x2F296F0", Offset = "0x2F284F0", VA = "0x182F296F0")]
private unsafe static void ThreadSafeCopy(char* sourcePtr, char[] destination, int destinationIndex, int count)
{
}
// Token: 0x0600124E RID: 4686 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600124E")]
[Address(RVA = "0x2F29600", Offset = "0x2F28400", VA = "0x182F29600")]
private static void ThreadSafeCopy(char[] source, int sourceIndex, char[] destination, int destinationIndex, int count)
{
}
// Token: 0x0600124F RID: 4687 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600124F")]
[Address(RVA = "0x2F28010", Offset = "0x2F26E10", VA = "0x182F28010")]
private StringBuilder FindChunkForIndex(int index)
{
return null;
}
// Token: 0x06001250 RID: 4688 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001250")]
[Address(RVA = "0x2F287B0", Offset = "0x2F275B0", VA = "0x182F287B0")]
private StringBuilder Next(StringBuilder chunk)
{
return null;
}
// Token: 0x06001251 RID: 4689 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001251")]
[Address(RVA = "0x2F27E90", Offset = "0x2F26C90", VA = "0x182F27E90")]
private void ExpandByABlock(int minBlockCharCount)
{
}
// Token: 0x06001252 RID: 4690 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001252")]
[Address(RVA = "0x2F29EE0", Offset = "0x2F28CE0", VA = "0x182F29EE0")]
private StringBuilder(StringBuilder from)
{
}
// Token: 0x06001253 RID: 4691 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001253")]
[Address(RVA = "0x2F28470", Offset = "0x2F27270", VA = "0x182F28470")]
private void MakeRoom(int index, int count, out StringBuilder chunk, out int indexInChunk, bool doneMoveFollowingChars)
{
}
// Token: 0x06001254 RID: 4692 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001254")]
[Address(RVA = "0x2F2A260", Offset = "0x2F29060", VA = "0x182F2A260")]
private StringBuilder(int size, int maxCapacity, StringBuilder previousBlock)
{
}
// Token: 0x06001255 RID: 4693 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001255")]
[Address(RVA = "0x2F28800", Offset = "0x2F27600", VA = "0x182F28800")]
private void Remove(int startIndex, int count, out StringBuilder chunk, out int indexInChunk)
{
}
// Token: 0x0400096C RID: 2412
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400096C")]
internal char[] m_ChunkChars;
// Token: 0x0400096D RID: 2413
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400096D")]
internal StringBuilder m_ChunkPrevious;
// Token: 0x0400096E RID: 2414
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400096E")]
internal int m_ChunkLength;
// Token: 0x0400096F RID: 2415
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x400096F")]
internal int m_ChunkOffset;
// Token: 0x04000970 RID: 2416
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4000970")]
internal int m_MaxCapacity;
// Token: 0x04000971 RID: 2417
[Token(Token = "0x4000971")]
internal const int DefaultCapacity = 16;
// Token: 0x04000972 RID: 2418
[Token(Token = "0x4000972")]
private const string CapacityField = "Capacity";
// Token: 0x04000973 RID: 2419
[Token(Token = "0x4000973")]
private const string MaxCapacityField = "m_MaxCapacity";
// Token: 0x04000974 RID: 2420
[Token(Token = "0x4000974")]
private const string StringValueField = "m_StringValue";
// Token: 0x04000975 RID: 2421
[Token(Token = "0x4000975")]
private const string ThreadIDField = "m_currentThread";
// Token: 0x04000976 RID: 2422
[Token(Token = "0x4000976")]
internal const int MaxChunkSize = 8000;
}
}
@@ -0,0 +1,38 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
// Token: 0x020001DC RID: 476
[Token(Token = "0x20001DC")]
internal static class StringBuilderCache
{
// Token: 0x06001256 RID: 4694 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001256")]
[Address(RVA = "0x2F26460", Offset = "0x2F25260", VA = "0x182F26460")]
public static StringBuilder Acquire(int capacity = 16)
{
return null;
}
// Token: 0x06001257 RID: 4695 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001257")]
[Address(RVA = "0x2F265A0", Offset = "0x2F253A0", VA = "0x182F265A0")]
public static void Release(StringBuilder sb)
{
}
// Token: 0x06001258 RID: 4696 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001258")]
[Address(RVA = "0x2F26520", Offset = "0x2F25320", VA = "0x182F26520")]
public static string GetStringAndRelease(StringBuilder sb)
{
return null;
}
// Token: 0x04000977 RID: 2423
[Token(Token = "0x4000977")]
[ThreadStatic]
private static StringBuilder CachedInstance;
}
}
+539
View File
@@ -0,0 +1,539 @@
using System;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a UTF-32 encoding of Unicode characters.</summary>
// Token: 0x020001DF RID: 479
[Token(Token = "0x20001DF")]
[Serializable]
public sealed class UTF32Encoding : Encoding
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class.</summary>
// Token: 0x0600127A RID: 4730 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600127A")]
[Address(RVA = "0x2F2D440", Offset = "0x2F2C240", VA = "0x182F2D440")]
public UTF32Encoding()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class. Parameters specify whether to use the big endian byte order and whether the <see cref="M:System.Text.UTF32Encoding.GetPreamble" /> method returns a Unicode Unicode byte order mark.</summary>
/// <param name="bigEndian">
/// <see langword="true" /> to use the big endian byte order (most significant byte first), or <see langword="false" /> to use the little endian byte order (least significant byte first).</param>
/// <param name="byteOrderMark">
/// <see langword="true" /> to specify that a Unicode byte order mark is provided; otherwise, <see langword="false" />.</param>
// Token: 0x0600127B RID: 4731 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600127B")]
[Address(RVA = "0x2F2D360", Offset = "0x2F2C160", VA = "0x182F2D360")]
public UTF32Encoding(bool bigEndian, bool byteOrderMark)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF32Encoding" /> class. Parameters specify whether to use the big endian byte order, whether to provide a Unicode byte order mark, and whether to throw an exception when an invalid encoding is detected.</summary>
/// <param name="bigEndian">
/// <see langword="true" /> to use the big endian byte order (most significant byte first), or <see langword="false" /> to use the little endian byte order (least significant byte first).</param>
/// <param name="byteOrderMark">
/// <see langword="true" /> to specify that a Unicode byte order mark is provided; otherwise, <see langword="false" />.</param>
/// <param name="throwOnInvalidCharacters">
/// <see langword="true" /> to specify that an exception should be thrown when an invalid encoding is detected; otherwise, <see langword="false" />.</param>
// Token: 0x0600127C RID: 4732 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600127C")]
[Address(RVA = "0x2F2D3C0", Offset = "0x2F2C1C0", VA = "0x182F2D3C0")]
public UTF32Encoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidCharacters)
{
}
// Token: 0x0600127D RID: 4733 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600127D")]
[Address(RVA = "0x2F2D2C0", Offset = "0x2F2C0C0", VA = "0x182F2D2C0", Slot = "5")]
internal override void SetDefaultFallbacks()
{
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x0600127E RID: 4734 RVA: 0x0000E358 File Offset: 0x0000C558
[Token(Token = "0x600127E")]
[Address(RVA = "0x2F2A9A0", Offset = "0x2F297A0", VA = "0x182F2A9A0", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
/// <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x0600127F RID: 4735 RVA: 0x0000E370 File Offset: 0x0000C570
[Token(Token = "0x600127F")]
[Address(RVA = "0x2F2B000", Offset = "0x2F29E00", VA = "0x182F2B000", Slot = "12")]
public override int GetByteCount(string s)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001280 RID: 4736 RVA: 0x0000E388 File Offset: 0x0000C588
[Token(Token = "0x6001280")]
[Address(RVA = "0x2F2AB30", Offset = "0x2F29930", VA = "0x182F2AB30", Slot = "14")]
[CLSCompliant(false)]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
/// <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001281 RID: 4737 RVA: 0x0000E3A0 File Offset: 0x0000C5A0
[Token(Token = "0x6001281")]
[Address(RVA = "0x2F2B9C0", Offset = "0x2F2A7C0", VA = "0x182F2B9C0", Slot = "20")]
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001282 RID: 4738 RVA: 0x0000E3B8 File Offset: 0x0000C5B8
[Token(Token = "0x6001282")]
[Address(RVA = "0x2F2B760", Offset = "0x2F2A560", VA = "0x182F2B760", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by the <paramref name="bytes" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001283 RID: 4739 RVA: 0x0000E3D0 File Offset: 0x0000C5D0
[Token(Token = "0x6001283")]
[Address(RVA = "0x2F2B0A0", Offset = "0x2F29EA0", VA = "0x182F2B0A0", Slot = "22")]
[CLSCompliant(false)]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001284 RID: 4740 RVA: 0x0000E3E8 File Offset: 0x0000C5E8
[Token(Token = "0x6001284")]
[Address(RVA = "0x2F2BD20", Offset = "0x2F2AB20", VA = "0x182F2BD20", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001285 RID: 4741 RVA: 0x0000E400 File Offset: 0x0000C600
[Token(Token = "0x6001285")]
[Address(RVA = "0x2F2BC20", Offset = "0x2F2AA20", VA = "0x182F2BC20", Slot = "24")]
[CLSCompliant(false)]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
/// <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.
/// -or-
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001286 RID: 4742 RVA: 0x0000E418 File Offset: 0x0000C618
[Token(Token = "0x6001286")]
[Address(RVA = "0x2F2C870", Offset = "0x2F2B670", VA = "0x182F2C870", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
/// <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.
/// -or-
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001287 RID: 4743 RVA: 0x0000E430 File Offset: 0x0000C630
[Token(Token = "0x6001287")]
[Address(RVA = "0x2F2CAD0", Offset = "0x2F2B8D0", VA = "0x182F2CAD0", Slot = "29")]
[CLSCompliant(false)]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
/// <summary>Decodes a range of bytes from a byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A string that contains the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for a complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001288 RID: 4744 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001288")]
[Address(RVA = "0x2F2D110", Offset = "0x2F2BF10", VA = "0x182F2D110", Slot = "37")]
public override string GetString(byte[] bytes, int index, int count)
{
return null;
}
// Token: 0x06001289 RID: 4745 RVA: 0x0000E448 File Offset: 0x0000C648
[Token(Token = "0x6001289")]
[Address(RVA = "0x2F2AC30", Offset = "0x2F29A30", VA = "0x182F2AC30", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS encoder)
{
return 0;
}
// Token: 0x0600128A RID: 4746 RVA: 0x0000E460 File Offset: 0x0000C660
[Token(Token = "0x600128A")]
[Address(RVA = "0x2F2B1E0", Offset = "0x2F29FE0", VA = "0x182F2B1E0", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
{
return 0;
}
// Token: 0x0600128B RID: 4747 RVA: 0x0000E478 File Offset: 0x0000C678
[Token(Token = "0x600128B")]
[Address(RVA = "0x2F2BEB0", Offset = "0x2F2ACB0", VA = "0x182F2BEB0", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x0600128C RID: 4748 RVA: 0x0000E490 File Offset: 0x0000C690
[Token(Token = "0x600128C")]
[Address(RVA = "0x2F2C290", Offset = "0x2F2B090", VA = "0x182F2C290", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x0600128D RID: 4749 RVA: 0x0000E4A8 File Offset: 0x0000C6A8
[Token(Token = "0x600128D")]
[Address(RVA = "0x2F2D2A0", Offset = "0x2F2C0A0", VA = "0x182F2D2A0")]
private uint GetSurrogate(char cHigh, char cLow)
{
return 0U;
}
// Token: 0x0600128E RID: 4750 RVA: 0x0000E4C0 File Offset: 0x0000C6C0
[Token(Token = "0x600128E")]
[Address(RVA = "0x2F2CDB0", Offset = "0x2F2BBB0", VA = "0x182F2CDB0")]
private char GetHighSurrogate(uint iChar)
{
return '\0';
}
// Token: 0x0600128F RID: 4751 RVA: 0x0000E4D8 File Offset: 0x0000C6D8
[Token(Token = "0x600128F")]
[Address(RVA = "0x2F2CDD0", Offset = "0x2F2BBD0", VA = "0x182F2CDD0")]
private char GetLowSurrogate(uint iChar)
{
return '\0';
}
/// <summary>Obtains a decoder that converts a UTF-32 encoded sequence of bytes into a sequence of Unicode characters.</summary>
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-32 encoded sequence of bytes into a sequence of Unicode characters.</returns>
// Token: 0x06001290 RID: 4752 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001290")]
[Address(RVA = "0x2F2CC10", Offset = "0x2F2BA10", VA = "0x182F2CC10", Slot = "32")]
public override Decoder GetDecoder()
{
return null;
}
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-32 encoded sequence of bytes.</summary>
/// <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-32 encoded sequence of bytes.</returns>
// Token: 0x06001291 RID: 4753 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001291")]
[Address(RVA = "0x2F2CC90", Offset = "0x2F2BA90", VA = "0x182F2CC90", Slot = "33")]
public override Encoder GetEncoder()
{
return null;
}
/// <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001292 RID: 4754 RVA: 0x0000E4F0 File Offset: 0x0000C6F0
[Token(Token = "0x6001292")]
[Address(RVA = "0x2F2CDF0", Offset = "0x2F2BBF0", VA = "0x182F2CDF0", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
/// <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001293 RID: 4755 RVA: 0x0000E508 File Offset: 0x0000C708
[Token(Token = "0x6001293")]
[Address(RVA = "0x2F2CF20", Offset = "0x2F2BD20", VA = "0x182F2CF20", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
/// <summary>Returns a Unicode byte order mark encoded in UTF-32 format, if the <see cref="T:System.Text.UTF32Encoding" /> object is configured to supply one.</summary>
/// <returns>A byte array containing the Unicode byte order mark, if the <see cref="T:System.Text.UTF32Encoding" /> object is configured to supply one. Otherwise, this method returns a zero-length byte array.</returns>
// Token: 0x06001294 RID: 4756 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001294")]
[Address(RVA = "0x2F2D000", Offset = "0x2F2BE00", VA = "0x182F2D000", Slot = "6")]
public override byte[] GetPreamble()
{
return null;
}
/// <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Text.UTF32Encoding" /> object.</summary>
/// <param name="value">The <see cref="T:System.Object" /> to compare with the current object.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is an instance of <see cref="T:System.Text.UTF32Encoding" /> and is equal to the current object; otherwise, <see langword="false" />.</returns>
// Token: 0x06001295 RID: 4757 RVA: 0x0000E520 File Offset: 0x0000C720
[Token(Token = "0x6001295")]
[Address(RVA = "0x2F2A8D0", Offset = "0x2F296D0", VA = "0x182F2A8D0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code for the current instance.</summary>
/// <returns>The hash code for the current <see cref="T:System.Text.UTF32Encoding" /> object.</returns>
// Token: 0x06001296 RID: 4758 RVA: 0x0000E538 File Offset: 0x0000C738
[Token(Token = "0x6001296")]
[Address(RVA = "0x2F2CD10", Offset = "0x2F2BB10", VA = "0x182F2CD10", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x0400097E RID: 2430
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400097E")]
private bool emitUTF32ByteOrderMark;
// Token: 0x0400097F RID: 2431
[FieldOffset(Offset = "0x39")]
[Token(Token = "0x400097F")]
private bool isThrowException;
// Token: 0x04000980 RID: 2432
[FieldOffset(Offset = "0x3A")]
[Token(Token = "0x4000980")]
private bool bigEndian;
// Token: 0x020001E0 RID: 480
[Token(Token = "0x20001E0")]
[Serializable]
internal class UTF32Decoder : DecoderNLS
{
// Token: 0x06001297 RID: 4759 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001297")]
[Address(RVA = "0x2F197D0", Offset = "0x2F185D0", VA = "0x182F197D0")]
public UTF32Decoder(UTF32Encoding encoding)
{
}
// Token: 0x06001298 RID: 4760 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001298")]
[Address(RVA = "0x2F2A890", Offset = "0x2F29690", VA = "0x182F2A890", Slot = "4")]
public override void Reset()
{
}
// Token: 0x170001D7 RID: 471
// (get) Token: 0x06001299 RID: 4761 RVA: 0x0000E550 File Offset: 0x0000C750
[Token(Token = "0x170001D7")]
internal override bool HasState
{
[Token(Token = "0x6001299")]
[Address(RVA = "0x2F2A8C0", Offset = "0x2F296C0", VA = "0x182F2A8C0", Slot = "14")]
get
{
return default(bool);
}
}
// Token: 0x04000981 RID: 2433
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000981")]
internal int iChar;
// Token: 0x04000982 RID: 2434
[FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000982")]
internal int readByteCount;
}
}
}
+703
View File
@@ -0,0 +1,703 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a UTF-7 encoding of Unicode characters.</summary>
// Token: 0x020001E1 RID: 481
[Token(Token = "0x20001E1")]
[ComVisible(true)]
[Serializable]
public class UTF7Encoding : Encoding
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF7Encoding" /> class.</summary>
// Token: 0x0600129A RID: 4762 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600129A")]
[Address(RVA = "0x2F2F710", Offset = "0x2F2E510", VA = "0x182F2F710")]
public UTF7Encoding()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF7Encoding" /> class. A parameter specifies whether to allow optional characters.</summary>
/// <param name="allowOptionals">
/// <see langword="true" /> to specify that optional characters are allowed; otherwise, <see langword="false" />.</param>
// Token: 0x0600129B RID: 4763 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600129B")]
[Address(RVA = "0x2F2F6A0", Offset = "0x2F2E4A0", VA = "0x182F2F6A0")]
public UTF7Encoding(bool allowOptionals)
{
}
// Token: 0x0600129C RID: 4764 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600129C")]
[Address(RVA = "0x2F2F2E0", Offset = "0x2F2E0E0", VA = "0x182F2F2E0")]
private void MakeTables()
{
}
// Token: 0x0600129D RID: 4765 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600129D")]
[Address(RVA = "0x2F2F610", Offset = "0x2F2E410", VA = "0x182F2F610", Slot = "5")]
internal override void SetDefaultFallbacks()
{
}
// Token: 0x0600129E RID: 4766 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600129E")]
[Address(RVA = "0x2F21C30", Offset = "0x2F20A30", VA = "0x182F21C30")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x0600129F RID: 4767 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600129F")]
[Address(RVA = "0x2F2F550", Offset = "0x2F2E350", VA = "0x182F2F550")]
[OnDeserialized]
private void OnDeserialized(StreamingContext ctx)
{
}
/// <summary>Gets a value indicating whether the specified object is equal to the current <see cref="T:System.Text.UTF7Encoding" /> object.</summary>
/// <param name="value">An object to compare to the current <see cref="T:System.Text.UTF7Encoding" /> object.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is a <see cref="T:System.Text.UTF7Encoding" /> object and is equal to the current <see cref="T:System.Text.UTF7Encoding" /> object; otherwise, <see langword="false" />.</returns>
// Token: 0x060012A0 RID: 4768 RVA: 0x0000E568 File Offset: 0x0000C768
[Token(Token = "0x60012A0")]
[Address(RVA = "0x2F2D480", Offset = "0x2F2C280", VA = "0x182F2D480", Slot = "0")]
[ComVisible(false)]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code for the current <see cref="T:System.Text.UTF7Encoding" /> object.</summary>
/// <returns>A 32-bit signed integer hash code.</returns>
// Token: 0x060012A1 RID: 4769 RVA: 0x0000E580 File Offset: 0x0000C780
[Token(Token = "0x60012A1")]
[Address(RVA = "0x2F2EF60", Offset = "0x2F2DD60", VA = "0x182F2EF60", Slot = "2")]
[ComVisible(false)]
public override int GetHashCode()
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012A2 RID: 4770 RVA: 0x0000E598 File Offset: 0x0000C798
[Token(Token = "0x60012A2")]
[Address(RVA = "0x2F2D6A0", Offset = "0x2F2C4A0", VA = "0x182F2D6A0", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" /> object.</summary>
/// <param name="s">The <see cref="T:System.String" /> object containing the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012A3 RID: 4771 RVA: 0x0000E5B0 File Offset: 0x0000C7B0
[Token(Token = "0x60012A3")]
[Address(RVA = "0x2F2D830", Offset = "0x2F2C630", VA = "0x182F2D830", Slot = "12")]
[ComVisible(false)]
public override int GetByteCount(string s)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" /> in Visual Basic .NET).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012A4 RID: 4772 RVA: 0x0000E5C8 File Offset: 0x0000C7C8
[Token(Token = "0x60012A4")]
[Address(RVA = "0x2F2D5A0", Offset = "0x2F2C3A0", VA = "0x182F2D5A0", Slot = "14")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
/// <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012A5 RID: 4773 RVA: 0x0000E5E0 File Offset: 0x0000C7E0
[Token(Token = "0x60012A5")]
[Address(RVA = "0x2F2E290", Offset = "0x2F2D090", VA = "0x182F2E290", Slot = "20")]
[ComVisible(false)]
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012A6 RID: 4774 RVA: 0x0000E5F8 File Offset: 0x0000C7F8
[Token(Token = "0x60012A6")]
[Address(RVA = "0x2F2D8D0", Offset = "0x2F2C6D0", VA = "0x182F2D8D0", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012A7 RID: 4775 RVA: 0x0000E610 File Offset: 0x0000C810
[Token(Token = "0x60012A7")]
[Address(RVA = "0x2F2E150", Offset = "0x2F2CF50", VA = "0x182F2E150", Slot = "22")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// The resulting number of characters is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012A8 RID: 4776 RVA: 0x0000E628 File Offset: 0x0000C828
[Token(Token = "0x60012A8")]
[Address(RVA = "0x2F2E5F0", Offset = "0x2F2D3F0", VA = "0x182F2E5F0", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of characters is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012A9 RID: 4777 RVA: 0x0000E640 File Offset: 0x0000C840
[Token(Token = "0x60012A9")]
[Address(RVA = "0x2F2E4F0", Offset = "0x2F2D2F0", VA = "0x182F2E4F0", Slot = "24")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
/// <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012AA RID: 4778 RVA: 0x0000E658 File Offset: 0x0000C858
[Token(Token = "0x60012AA")]
[Address(RVA = "0x2F2EC20", Offset = "0x2F2DA20", VA = "0x182F2EC20", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
/// <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012AB RID: 4779 RVA: 0x0000E670 File Offset: 0x0000C870
[Token(Token = "0x60012AB")]
[Address(RVA = "0x2F2EAE0", Offset = "0x2F2D8E0", VA = "0x182F2EAE0", Slot = "29")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
/// <summary>Decodes a range of bytes from a byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012AC RID: 4780 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012AC")]
[Address(RVA = "0x2F2F150", Offset = "0x2F2DF50", VA = "0x182F2F150", Slot = "37")]
[ComVisible(false)]
public override string GetString(byte[] bytes, int index, int count)
{
return null;
}
// Token: 0x060012AD RID: 4781 RVA: 0x0000E688 File Offset: 0x0000C888
[Token(Token = "0x60012AD")]
[Address(RVA = "0x2F2D570", Offset = "0x2F2C370", VA = "0x182F2D570", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS baseEncoder)
{
return 0;
}
// Token: 0x060012AE RID: 4782 RVA: 0x0000E6A0 File Offset: 0x0000C8A0
[Token(Token = "0x60012AE")]
[Address(RVA = "0x2F2DB30", Offset = "0x2F2C930", VA = "0x182F2DB30", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS baseEncoder)
{
return 0;
}
// Token: 0x060012AF RID: 4783 RVA: 0x0000E6B8 File Offset: 0x0000C8B8
[Token(Token = "0x60012AF")]
[Address(RVA = "0x2F2E780", Offset = "0x2F2D580", VA = "0x182F2E780", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x060012B0 RID: 4784 RVA: 0x0000E6D0 File Offset: 0x0000C8D0
[Token(Token = "0x60012B0")]
[Address(RVA = "0x2F2E7B0", Offset = "0x2F2D5B0", VA = "0x182F2E7B0", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
{
return 0;
}
/// <summary>Obtains a decoder that converts a UTF-7 encoded sequence of bytes into a sequence of Unicode characters.</summary>
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-7 encoded sequence of bytes into a sequence of Unicode characters.</returns>
// Token: 0x060012B1 RID: 4785 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012B1")]
[Address(RVA = "0x2F2EE80", Offset = "0x2F2DC80", VA = "0x182F2EE80", Slot = "32")]
public override global::System.Text.Decoder GetDecoder()
{
return null;
}
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-7 encoded sequence of bytes.</summary>
/// <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-7 encoded sequence of bytes.</returns>
// Token: 0x060012B2 RID: 4786 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012B2")]
[Address(RVA = "0x2F2EF00", Offset = "0x2F2DD00", VA = "0x182F2EF00", Slot = "33")]
public override global::System.Text.Encoder GetEncoder()
{
return null;
}
/// <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012B3 RID: 4787 RVA: 0x0000E6E8 File Offset: 0x0000C8E8
[Token(Token = "0x60012B3")]
[Address(RVA = "0x2F2EFE0", Offset = "0x2F2DDE0", VA = "0x182F2EFE0", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
/// <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.
/// -or-
/// The resulting number of characters is greater than the maximum number that can be returned as an int.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012B4 RID: 4788 RVA: 0x0000E700 File Offset: 0x0000C900
[Token(Token = "0x60012B4")]
[Address(RVA = "0x2F2F0C0", Offset = "0x2F2DEC0", VA = "0x182F2F0C0", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
// Token: 0x04000983 RID: 2435
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000983")]
private byte[] base64Bytes;
// Token: 0x04000984 RID: 2436
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4000984")]
private sbyte[] base64Values;
// Token: 0x04000985 RID: 2437
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4000985")]
private bool[] directEncode;
// Token: 0x04000986 RID: 2438
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4000986")]
[OptionalField]
private bool m_allowOptionals;
// Token: 0x020001E2 RID: 482
[Token(Token = "0x20001E2")]
[Serializable]
private class Decoder : DecoderNLS, ISerializable
{
// Token: 0x060012B5 RID: 4789 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012B5")]
[Address(RVA = "0x2F197D0", Offset = "0x2F185D0", VA = "0x182F197D0")]
public Decoder(UTF7Encoding encoding)
{
}
// Token: 0x060012B6 RID: 4790 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012B6")]
[Address(RVA = "0x2F19E30", Offset = "0x2F18C30", VA = "0x182F19E30")]
internal Decoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012B7 RID: 4791 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012B7")]
[Address(RVA = "0x2F19D60", Offset = "0x2F18B60", VA = "0x182F19D60", Slot = "13")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012B8 RID: 4792 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012B8")]
[Address(RVA = "0x2F19D30", Offset = "0x2F18B30", VA = "0x182F19D30", Slot = "4")]
public override void Reset()
{
}
// Token: 0x170001D8 RID: 472
// (get) Token: 0x060012B9 RID: 4793 RVA: 0x0000E718 File Offset: 0x0000C918
[Token(Token = "0x170001D8")]
internal override bool HasState
{
[Token(Token = "0x60012B9")]
[Address(RVA = "0x2F1A080", Offset = "0x2F18E80", VA = "0x182F1A080", Slot = "14")]
get
{
return default(bool);
}
}
// Token: 0x04000987 RID: 2439
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000987")]
internal int bits;
// Token: 0x04000988 RID: 2440
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x4000988")]
internal int bitCount;
// Token: 0x04000989 RID: 2441
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000989")]
internal bool firstByte;
}
// Token: 0x020001E3 RID: 483
[Token(Token = "0x20001E3")]
[Serializable]
private class Encoder : EncoderNLS, ISerializable
{
// Token: 0x060012BA RID: 4794 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012BA")]
[Address(RVA = "0x2920260", Offset = "0x291F060", VA = "0x182920260")]
public Encoder(UTF7Encoding encoding)
{
}
// Token: 0x060012BB RID: 4795 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012BB")]
[Address(RVA = "0x2920080", Offset = "0x291EE80", VA = "0x182920080")]
internal Encoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012BC RID: 4796 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012BC")]
[Address(RVA = "0x291FFD0", Offset = "0x291EDD0", VA = "0x18291FFD0", Slot = "9")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012BD RID: 4797 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012BD")]
[Address(RVA = "0x291FFA0", Offset = "0x291EDA0", VA = "0x18291FFA0", Slot = "4")]
public override void Reset()
{
}
// Token: 0x0400098A RID: 2442
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x400098A")]
internal int bits;
// Token: 0x0400098B RID: 2443
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
[Token(Token = "0x400098B")]
internal int bitCount;
}
// Token: 0x020001E4 RID: 484
[Token(Token = "0x20001E4")]
[Serializable]
internal sealed class DecoderUTF7Fallback : DecoderFallback
{
// Token: 0x060012BE RID: 4798 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012BE")]
[Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")]
public DecoderUTF7Fallback()
{
}
// Token: 0x060012BF RID: 4799 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012BF")]
[Address(RVA = "0x291F9C0", Offset = "0x291E7C0", VA = "0x18291F9C0", Slot = "4")]
public override DecoderFallbackBuffer CreateFallbackBuffer()
{
return null;
}
// Token: 0x170001D9 RID: 473
// (get) Token: 0x060012C0 RID: 4800 RVA: 0x0000E730 File Offset: 0x0000C930
[Token(Token = "0x170001D9")]
public override int MaxCharCount
{
[Token(Token = "0x60012C0")]
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "5")]
get
{
return 0;
}
}
// Token: 0x060012C1 RID: 4801 RVA: 0x0000E748 File Offset: 0x0000C948
[Token(Token = "0x60012C1")]
[Address(RVA = "0x291FA10", Offset = "0x291E810", VA = "0x18291FA10", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
// Token: 0x060012C2 RID: 4802 RVA: 0x0000E760 File Offset: 0x0000C960
[Token(Token = "0x60012C2")]
[Address(RVA = "0x291FA60", Offset = "0x291E860", VA = "0x18291FA60", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
}
// Token: 0x020001E5 RID: 485
[Token(Token = "0x20001E5")]
internal sealed class DecoderUTF7FallbackBuffer : DecoderFallbackBuffer
{
// Token: 0x060012C3 RID: 4803 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012C3")]
[Address(RVA = "0x291F9A0", Offset = "0x291E7A0", VA = "0x18291F9A0")]
public DecoderUTF7FallbackBuffer(UTF7Encoding.DecoderUTF7Fallback fallback)
{
}
// Token: 0x060012C4 RID: 4804 RVA: 0x0000E778 File Offset: 0x0000C978
[Token(Token = "0x60012C4")]
[Address(RVA = "0x291F890", Offset = "0x291E690", VA = "0x18291F890", Slot = "4")]
public override bool Fallback(byte[] bytesUnknown, int index)
{
return default(bool);
}
// Token: 0x060012C5 RID: 4805 RVA: 0x0000E790 File Offset: 0x0000C990
[Token(Token = "0x60012C5")]
[Address(RVA = "0x291F8E0", Offset = "0x291E6E0", VA = "0x18291F8E0", Slot = "5")]
public override char GetNextChar()
{
return '\0';
}
// Token: 0x170001DA RID: 474
// (get) Token: 0x060012C6 RID: 4806 RVA: 0x0000E7A8 File Offset: 0x0000C9A8
[Token(Token = "0x170001DA")]
public override int Remaining
{
[Token(Token = "0x60012C6")]
[Address(RVA = "0x291F9B0", Offset = "0x291E7B0", VA = "0x18291F9B0", Slot = "6")]
get
{
return 0;
}
}
// Token: 0x060012C7 RID: 4807 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012C7")]
[Address(RVA = "0x291F990", Offset = "0x291E790", VA = "0x18291F990", Slot = "7")]
public override void Reset()
{
}
// Token: 0x060012C8 RID: 4808 RVA: 0x0000E7C0 File Offset: 0x0000C9C0
[Token(Token = "0x60012C8")]
[Address(RVA = "0x291F900", Offset = "0x291E700", VA = "0x18291F900", Slot = "9")]
internal unsafe override int InternalFallback(byte[] bytes, byte* pBytes)
{
return 0;
}
// Token: 0x0400098C RID: 2444
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400098C")]
private char cFallback;
// Token: 0x0400098D RID: 2445
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x400098D")]
private int iCount;
// Token: 0x0400098E RID: 2446
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x400098E")]
private int iSize;
}
}
}
+610
View File
@@ -0,0 +1,610 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a UTF-8 encoding of Unicode characters.</summary>
// Token: 0x020001E6 RID: 486
[Token(Token = "0x20001E6")]
[ComVisible(true)]
[Serializable]
public class UTF8Encoding : Encoding
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF8Encoding" /> class.</summary>
// Token: 0x060012C9 RID: 4809 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012C9")]
[Address(RVA = "0x292C850", Offset = "0x292B650", VA = "0x18292C850")]
public UTF8Encoding()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF8Encoding" /> class. A parameter specifies whether to provide a Unicode byte order mark.</summary>
/// <param name="encoderShouldEmitUTF8Identifier">
/// <see langword="true" /> to specify that the <see cref="M:System.Text.UTF8Encoding.GetPreamble" /> method returns a Unicode byte order mark; otherwise, <see langword="false" />.</param>
// Token: 0x060012CA RID: 4810 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012CA")]
[Address(RVA = "0x292C820", Offset = "0x292B620", VA = "0x18292C820")]
public UTF8Encoding(bool encoderShouldEmitUTF8Identifier)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UTF8Encoding" /> class. Parameters specify whether to provide a Unicode byte order mark and whether to throw an exception when an invalid encoding is detected.</summary>
/// <param name="encoderShouldEmitUTF8Identifier">
/// <see langword="true" /> to specify that the <see cref="M:System.Text.UTF8Encoding.GetPreamble" /> method should return a Unicode byte order mark; otherwise, <see langword="false" />.</param>
/// <param name="throwOnInvalidBytes">
/// <see langword="true" /> to throw an exception when an invalid encoding is detected; otherwise, <see langword="false" />.</param>
// Token: 0x060012CB RID: 4811 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012CB")]
[Address(RVA = "0x292C7C0", Offset = "0x292B5C0", VA = "0x18292C7C0")]
public UTF8Encoding(bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes)
{
}
// Token: 0x060012CC RID: 4812 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012CC")]
[Address(RVA = "0x292C720", Offset = "0x292B520", VA = "0x18292C720", Slot = "5")]
internal override void SetDefaultFallbacks()
{
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// The <see cref="P:System.Text.Encoding.EncoderFallback" /> property is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012CD RID: 4813 RVA: 0x0000E7D8 File Offset: 0x0000C9D8
[Token(Token = "0x60012CD")]
[Address(RVA = "0x2929950", Offset = "0x2928750", VA = "0x182929950", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified <see cref="T:System.String" />.</summary>
/// <param name="chars">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012CE RID: 4814 RVA: 0x0000E7F0 File Offset: 0x0000C9F0
[Token(Token = "0x60012CE")]
[Address(RVA = "0x2929AE0", Offset = "0x29288E0", VA = "0x182929AE0", Slot = "12")]
public override int GetByteCount(string chars)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for a complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012CF RID: 4815 RVA: 0x0000E808 File Offset: 0x0000CA08
[Token(Token = "0x60012CF")]
[Address(RVA = "0x2929260", Offset = "0x2928060", VA = "0x182929260", Slot = "14")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
/// <param name="s">The <see cref="T:System.String" /> containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012D0 RID: 4816 RVA: 0x0000E820 File Offset: 0x0000CA20
[Token(Token = "0x60012D0")]
[Address(RVA = "0x292A8C0", Offset = "0x29296C0", VA = "0x18292A8C0", Slot = "20")]
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012D1 RID: 4817 RVA: 0x0000E838 File Offset: 0x0000CA38
[Token(Token = "0x60012D1")]
[Address(RVA = "0x292A660", Offset = "0x2929460", VA = "0x18292A660", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012D2 RID: 4818 RVA: 0x0000E850 File Offset: 0x0000CA50
[Token(Token = "0x60012D2")]
[Address(RVA = "0x292AB20", Offset = "0x2929920", VA = "0x18292AB20", Slot = "22")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012D3 RID: 4819 RVA: 0x0000E868 File Offset: 0x0000CA68
[Token(Token = "0x60012D3")]
[Address(RVA = "0x292B260", Offset = "0x292A060", VA = "0x18292B260", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012D4 RID: 4820 RVA: 0x0000E880 File Offset: 0x0000CA80
[Token(Token = "0x60012D4")]
[Address(RVA = "0x292B160", Offset = "0x2929F60", VA = "0x18292B160", Slot = "24")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
/// <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.
/// -or-
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012D5 RID: 4821 RVA: 0x0000E898 File Offset: 0x0000CA98
[Token(Token = "0x60012D5")]
[Address(RVA = "0x292B530", Offset = "0x292A330", VA = "0x18292B530", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
/// <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.
/// -or-
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.
/// -or-
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012D6 RID: 4822 RVA: 0x0000E8B0 File Offset: 0x0000CAB0
[Token(Token = "0x60012D6")]
[Address(RVA = "0x292B3F0", Offset = "0x292A1F0", VA = "0x18292B3F0", Slot = "29")]
[CLSCompliant(false)]
[ComVisible(false)]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
/// <summary>Decodes a range of bytes from a byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A <see cref="T:System.String" /> containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012D7 RID: 4823 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012D7")]
[Address(RVA = "0x292C570", Offset = "0x292B370", VA = "0x18292C570", Slot = "37")]
[ComVisible(false)]
public override string GetString(byte[] bytes, int index, int count)
{
return null;
}
// Token: 0x060012D8 RID: 4824 RVA: 0x0000E8C8 File Offset: 0x0000CAC8
[Token(Token = "0x60012D8")]
[Address(RVA = "0x2929360", Offset = "0x2928160", VA = "0x182929360", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS baseEncoder)
{
return 0;
}
// Token: 0x060012D9 RID: 4825 RVA: 0x0000E8E0 File Offset: 0x0000CAE0
[Token(Token = "0x60012D9")]
[Address(RVA = "0x292C700", Offset = "0x292B500", VA = "0x18292C700")]
private unsafe static int PtrDiff(char* a, char* b)
{
return 0;
}
// Token: 0x060012DA RID: 4826 RVA: 0x0000E8F8 File Offset: 0x0000CAF8
[Token(Token = "0x60012DA")]
[Address(RVA = "0x292C710", Offset = "0x292B510", VA = "0x18292C710")]
private unsafe static int PtrDiff(byte* a, byte* b)
{
return 0;
}
// Token: 0x060012DB RID: 4827 RVA: 0x0000E910 File Offset: 0x0000CB10
[Token(Token = "0x60012DB")]
[Address(RVA = "0x461290", Offset = "0x460090", VA = "0x180461290")]
private static bool InRange(int ch, int start, int end)
{
return default(bool);
}
// Token: 0x060012DC RID: 4828 RVA: 0x0000E928 File Offset: 0x0000CB28
[Token(Token = "0x60012DC")]
[Address(RVA = "0x2929EB0", Offset = "0x2928CB0", VA = "0x182929EB0", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS baseEncoder)
{
return 0;
}
// Token: 0x060012DD RID: 4829 RVA: 0x0000E940 File Offset: 0x0000CB40
[Token(Token = "0x60012DD")]
[Address(RVA = "0x292AC60", Offset = "0x2929A60", VA = "0x18292AC60", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x060012DE RID: 4830 RVA: 0x0000E958 File Offset: 0x0000CB58
[Token(Token = "0x60012DE")]
[Address(RVA = "0x292B790", Offset = "0x292A590", VA = "0x18292B790", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x060012DF RID: 4831 RVA: 0x0000E970 File Offset: 0x0000CB70
[Token(Token = "0x60012DF")]
[Address(RVA = "0x2929190", Offset = "0x2927F90", VA = "0x182929190")]
private unsafe bool FallbackInvalidByteSequence(ref byte* pSrc, int ch, DecoderFallbackBuffer fallback, ref char* pTarget)
{
return default(bool);
}
// Token: 0x060012E0 RID: 4832 RVA: 0x0000E988 File Offset: 0x0000CB88
[Token(Token = "0x60012E0")]
[Address(RVA = "0x2929210", Offset = "0x2928010", VA = "0x182929210")]
private unsafe int FallbackInvalidByteSequence(byte* pSrc, int ch, DecoderFallbackBuffer fallback)
{
return 0;
}
// Token: 0x060012E1 RID: 4833 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012E1")]
[Address(RVA = "0x2929B80", Offset = "0x2928980", VA = "0x182929B80")]
private unsafe byte[] GetBytesUnknown(ref byte* pSrc, int ch)
{
return null;
}
/// <summary>Obtains a decoder that converts a UTF-8 encoded sequence of bytes into a sequence of Unicode characters.</summary>
/// <returns>A decoder that converts a UTF-8 encoded sequence of bytes into a sequence of Unicode characters.</returns>
// Token: 0x060012E2 RID: 4834 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012E2")]
[Address(RVA = "0x292C160", Offset = "0x292AF60", VA = "0x18292C160", Slot = "32")]
public override Decoder GetDecoder()
{
return null;
}
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-8 encoded sequence of bytes.</summary>
/// <returns>A <see cref="T:System.Text.Encoder" /> that converts a sequence of Unicode characters into a UTF-8 encoded sequence of bytes.</returns>
// Token: 0x060012E3 RID: 4835 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012E3")]
[Address(RVA = "0x292C1C0", Offset = "0x292AFC0", VA = "0x18292C1C0", Slot = "33")]
public override Encoder GetEncoder()
{
return null;
}
/// <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x060012E4 RID: 4836 RVA: 0x0000E9A0 File Offset: 0x0000CBA0
[Token(Token = "0x60012E4")]
[Address(RVA = "0x292C290", Offset = "0x292B090", VA = "0x18292C290", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
/// <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for complete explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x060012E5 RID: 4837 RVA: 0x0000E9B8 File Offset: 0x0000CBB8
[Token(Token = "0x60012E5")]
[Address(RVA = "0x292C3B0", Offset = "0x292B1B0", VA = "0x18292C3B0", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
/// <summary>Returns a Unicode byte order mark encoded in UTF-8 format, if the <see cref="T:System.Text.UTF8Encoding" /> encoding object is configured to supply one.</summary>
/// <returns>A byte array containing the Unicode byte order mark, if the <see cref="T:System.Text.UTF8Encoding" /> encoding object is configured to supply one. Otherwise, this method returns a zero-length byte array.</returns>
// Token: 0x060012E6 RID: 4838 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x60012E6")]
[Address(RVA = "0x292C4D0", Offset = "0x292B2D0", VA = "0x18292C4D0", Slot = "6")]
public override byte[] GetPreamble()
{
return null;
}
/// <summary>Determines whether the specified object is equal to the current <see cref="T:System.Text.UTF8Encoding" /> object.</summary>
/// <param name="value">The object to compare with the current instance.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is an instance of <see cref="T:System.Text.UTF8Encoding" /> and is equal to the current object; otherwise, <see langword="false" />.</returns>
// Token: 0x060012E7 RID: 4839 RVA: 0x0000E9D0 File Offset: 0x0000CBD0
[Token(Token = "0x60012E7")]
[Address(RVA = "0x29290A0", Offset = "0x2927EA0", VA = "0x1829290A0", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code for the current instance.</summary>
/// <returns>The hash code for the current instance.</returns>
// Token: 0x060012E8 RID: 4840 RVA: 0x0000E9E8 File Offset: 0x0000CBE8
[Token(Token = "0x60012E8")]
[Address(RVA = "0x292C220", Offset = "0x292B020", VA = "0x18292C220", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x0400098F RID: 2447
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x400098F")]
private bool emitUTF8Identifier;
// Token: 0x04000990 RID: 2448
[global::Cpp2IlInjected.FieldOffset(Offset = "0x39")]
[Token(Token = "0x4000990")]
private bool isThrowException;
// Token: 0x020001E7 RID: 487
[Token(Token = "0x20001E7")]
[Serializable]
internal class UTF8Encoder : EncoderNLS, ISerializable
{
// Token: 0x060012E9 RID: 4841 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012E9")]
[Address(RVA = "0x2920260", Offset = "0x291F060", VA = "0x182920260")]
public UTF8Encoder(UTF8Encoding encoding)
{
}
// Token: 0x060012EA RID: 4842 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012EA")]
[Address(RVA = "0x2928E50", Offset = "0x2927C50", VA = "0x182928E50")]
internal UTF8Encoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012EB RID: 4843 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012EB")]
[Address(RVA = "0x2928D70", Offset = "0x2927B70", VA = "0x182928D70", Slot = "9")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012EC RID: 4844 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012EC")]
[Address(RVA = "0x2928D40", Offset = "0x2927B40", VA = "0x182928D40", Slot = "4")]
public override void Reset()
{
}
// Token: 0x04000991 RID: 2449
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000991")]
internal int surrogateChar;
}
// Token: 0x020001E8 RID: 488
[Token(Token = "0x20001E8")]
[Serializable]
internal class UTF8Decoder : DecoderNLS, ISerializable
{
// Token: 0x060012ED RID: 4845 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012ED")]
[Address(RVA = "0x2928AD0", Offset = "0x29278D0", VA = "0x182928AD0")]
public UTF8Decoder(UTF8Encoding encoding)
{
}
// Token: 0x060012EE RID: 4846 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012EE")]
[Address(RVA = "0x2928AE0", Offset = "0x29278E0", VA = "0x182928AE0")]
internal UTF8Decoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012EF RID: 4847 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012EF")]
[Address(RVA = "0x29289C0", Offset = "0x29277C0", VA = "0x1829289C0", Slot = "13")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x060012F0 RID: 4848 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60012F0")]
[Address(RVA = "0x2928990", Offset = "0x2927790", VA = "0x182928990", Slot = "4")]
public override void Reset()
{
}
// Token: 0x170001DB RID: 475
// (get) Token: 0x060012F1 RID: 4849 RVA: 0x0000EA00 File Offset: 0x0000CC00
[Token(Token = "0x170001DB")]
internal override bool HasState
{
[Token(Token = "0x60012F1")]
[Address(RVA = "0x2928D30", Offset = "0x2927B30", VA = "0x182928D30", Slot = "14")]
get
{
return default(bool);
}
}
// Token: 0x04000992 RID: 2450
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4000992")]
internal int bits;
}
}
}
+551
View File
@@ -0,0 +1,551 @@
using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cpp2IlInjected;
namespace System.Text
{
/// <summary>Represents a UTF-16 encoding of Unicode characters.</summary>
// Token: 0x020001DD RID: 477
[Token(Token = "0x20001DD")]
[ComVisible(true)]
[Serializable]
public class UnicodeEncoding : Encoding
{
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UnicodeEncoding" /> class.</summary>
// Token: 0x06001259 RID: 4697 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001259")]
[Address(RVA = "0x2930730", Offset = "0x292F530", VA = "0x182930730")]
public UnicodeEncoding()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UnicodeEncoding" /> class. Parameters specify whether to use the big endian byte order and whether the <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> method returns a Unicode byte order mark.</summary>
/// <param name="bigEndian">
/// <see langword="true" /> to use the big endian byte order (most significant byte first), or <see langword="false" /> to use the little endian byte order (least significant byte first).</param>
/// <param name="byteOrderMark">
/// <see langword="true" /> to specify that the <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> method returns a Unicode byte order mark; otherwise, <see langword="false" />.</param>
// Token: 0x0600125A RID: 4698 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600125A")]
[Address(RVA = "0x2930670", Offset = "0x292F470", VA = "0x182930670")]
public UnicodeEncoding(bool bigEndian, bool byteOrderMark)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Text.UnicodeEncoding" /> class. Parameters specify whether to use the big endian byte order, whether to provide a Unicode byte order mark, and whether to throw an exception when an invalid encoding is detected.</summary>
/// <param name="bigEndian">
/// <see langword="true" /> to use the big endian byte order (most significant byte first); <see langword="false" /> to use the little endian byte order (least significant byte first).</param>
/// <param name="byteOrderMark">
/// <see langword="true" /> to specify that the <see cref="M:System.Text.UnicodeEncoding.GetPreamble" /> method returns a Unicode byte order mark; otherwise, <see langword="false" />.</param>
/// <param name="throwOnInvalidBytes">
/// <see langword="true" /> to specify that an exception should be thrown when an invalid encoding is detected; otherwise, <see langword="false" />.</param>
// Token: 0x0600125B RID: 4699 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600125B")]
[Address(RVA = "0x29306C0", Offset = "0x292F4C0", VA = "0x1829306C0")]
public UnicodeEncoding(bool bigEndian, bool byteOrderMark, bool throwOnInvalidBytes)
{
}
// Token: 0x0600125C RID: 4700 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600125C")]
[Address(RVA = "0x134FD30", Offset = "0x134EB30", VA = "0x18134FD30")]
[OnDeserializing]
private void OnDeserializing(StreamingContext ctx)
{
}
// Token: 0x0600125D RID: 4701 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600125D")]
[Address(RVA = "0x2930550", Offset = "0x292F350", VA = "0x182930550", Slot = "5")]
internal override void SetDefaultFallbacks()
{
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters from the specified character array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="index">The index of the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x0600125E RID: 4702 RVA: 0x0000E190 File Offset: 0x0000C390
[Token(Token = "0x600125E")]
[Address(RVA = "0x292D2F0", Offset = "0x292C0F0", VA = "0x18292D2F0", Slot = "13")]
public override int GetByteCount(char[] chars, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding the characters in the specified string.</summary>
/// <param name="s">The string that contains the set of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x0600125F RID: 4703 RVA: 0x0000E1A8 File Offset: 0x0000C3A8
[Token(Token = "0x600125F")]
[Address(RVA = "0x292C9A0", Offset = "0x292B7A0", VA = "0x18292C9A0", Slot = "12")]
public override int GetByteCount(string s)
{
return 0;
}
/// <summary>Calculates the number of bytes produced by encoding a set of characters starting at the specified character pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="count">The number of characters to encode.</param>
/// <returns>The number of bytes produced by encoding the specified characters.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled and <paramref name="chars" /> contains an invalid sequence of characters.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001260 RID: 4704 RVA: 0x0000E1C0 File Offset: 0x0000C3C0
[Token(Token = "0x6001260")]
[Address(RVA = "0x292CA40", Offset = "0x292B840", VA = "0x18292CA40", Slot = "14")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetByteCount(char* chars, int count)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified <see cref="T:System.String" /> into the specified byte array.</summary>
/// <param name="s">The string containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="s" /> is <see langword="null" />.
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="s" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001261 RID: 4705 RVA: 0x0000E1D8 File Offset: 0x0000C3D8
[Token(Token = "0x6001261")]
[Address(RVA = "0x292DE10", Offset = "0x292CC10", VA = "0x18292DE10", Slot = "20")]
public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters from the specified character array into the specified byte array.</summary>
/// <param name="chars">The character array containing the set of characters to encode.</param>
/// <param name="charIndex">The index of the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">The byte array to contain the resulting sequence of bytes.</param>
/// <param name="byteIndex">The index at which to start writing the resulting sequence of bytes.</param>
/// <returns>The actual number of bytes written into <paramref name="bytes" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charIndex" /> or <paramref name="charCount" /> or <paramref name="byteIndex" /> is less than zero.
/// -or-
/// <paramref name="charIndex" /> and <paramref name="charCount" /> do not denote a valid range in <paramref name="chars" />.
/// -or-
/// <paramref name="byteIndex" /> is not a valid index in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="bytes" /> does not have enough capacity from <paramref name="byteIndex" /> to the end of the array to accommodate the resulting bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001262 RID: 4706 RVA: 0x0000E1F0 File Offset: 0x0000C3F0
[Token(Token = "0x6001262")]
[Address(RVA = "0x292E1B0", Offset = "0x292CFB0", VA = "0x18292E1B0", Slot = "18")]
public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
{
return 0;
}
/// <summary>Encodes a set of characters starting at the specified character pointer into a sequence of bytes that are stored starting at the specified byte pointer.</summary>
/// <param name="chars">A pointer to the first character to encode.</param>
/// <param name="charCount">The number of characters to encode.</param>
/// <param name="bytes">A pointer to the location at which to start writing the resulting sequence of bytes.</param>
/// <param name="byteCount">The maximum number of bytes to write.</param>
/// <returns>The actual number of bytes written at the location indicated by the <paramref name="bytes" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> or <paramref name="byteCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="chars" /> contains an invalid sequence of characters.
/// -or-
/// <paramref name="byteCount" /> is less than the resulting number of bytes.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001263 RID: 4707 RVA: 0x0000E208 File Offset: 0x0000C408
[Token(Token = "0x6001263")]
[Address(RVA = "0x292E070", Offset = "0x292CE70", VA = "0x18292E070", Slot = "22")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes from the specified byte array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001264 RID: 4708 RVA: 0x0000E220 File Offset: 0x0000C420
[Token(Token = "0x6001264")]
[Address(RVA = "0x292EEC0", Offset = "0x292DCC0", VA = "0x18292EEC0", Slot = "23")]
public override int GetCharCount(byte[] bytes, int index, int count)
{
return 0;
}
/// <summary>Calculates the number of characters produced by decoding a sequence of bytes starting at the specified byte pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>The number of characters produced by decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="count" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001265 RID: 4709 RVA: 0x0000E238 File Offset: 0x0000C438
[Token(Token = "0x6001265")]
[Address(RVA = "0x292E410", Offset = "0x292D210", VA = "0x18292E410", Slot = "24")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetCharCount(byte* bytes, int count)
{
return 0;
}
/// <summary>Decodes a sequence of bytes from the specified byte array into the specified character array.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="byteIndex">The index of the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">The character array to contain the resulting set of characters.</param>
/// <param name="charIndex">The index at which to start writing the resulting set of characters.</param>
/// <returns>The actual number of characters written into <paramref name="chars" />.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteIndex" /> or <paramref name="byteCount" /> or <paramref name="charIndex" /> is less than zero.
/// -or-
/// <paramref name="byteindex" /> and <paramref name="byteCount" /> do not denote a valid range in <paramref name="bytes" />.
/// -or-
/// <paramref name="charIndex" /> is not a valid index in <paramref name="chars" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.
/// -or-
/// <paramref name="chars" /> does not have enough capacity from <paramref name="charIndex" /> to the end of the array to accommodate the resulting characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001266 RID: 4710 RVA: 0x0000E250 File Offset: 0x0000C450
[Token(Token = "0x6001266")]
[Address(RVA = "0x292F050", Offset = "0x292DE50", VA = "0x18292F050", Slot = "28")]
public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
{
return 0;
}
/// <summary>Decodes a sequence of bytes starting at the specified byte pointer into a set of characters that are stored starting at the specified character pointer.</summary>
/// <param name="bytes">A pointer to the first byte to decode.</param>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <param name="chars">A pointer to the location at which to start writing the resulting set of characters.</param>
/// <param name="charCount">The maximum number of characters to write.</param>
/// <returns>The actual number of characters written at the location indicated by the <paramref name="chars" /> parameter.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).
/// -or-
/// <paramref name="chars" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> or <paramref name="charCount" /> is less than zero.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.
/// -or-
/// <paramref name="charCount" /> is less than the resulting number of characters.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001267 RID: 4711 RVA: 0x0000E268 File Offset: 0x0000C468
[Token(Token = "0x6001267")]
[Address(RVA = "0x292F2B0", Offset = "0x292E0B0", VA = "0x18292F2B0", Slot = "29")]
[ComVisible(false)]
[CLSCompliant(false)]
public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
{
return 0;
}
/// <summary>Decodes a range of bytes from a byte array into a string.</summary>
/// <param name="bytes">The byte array containing the sequence of bytes to decode.</param>
/// <param name="index">The index of the first byte to decode.</param>
/// <param name="count">The number of bytes to decode.</param>
/// <returns>A <see cref="T:System.String" /> object containing the results of decoding the specified sequence of bytes.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="bytes" /> is <see langword="null" /> (<see langword="Nothing" />).</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="index" /> or <paramref name="count" /> is less than zero.
/// -or-
/// <paramref name="index" /> and <paramref name="count" /> do not denote a valid range in <paramref name="bytes" />.</exception>
/// <exception cref="T:System.ArgumentException">Error detection is enabled, and <paramref name="bytes" /> contains an invalid sequence of bytes.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001268 RID: 4712 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6001268")]
[Address(RVA = "0x29303C0", Offset = "0x292F1C0", VA = "0x1829303C0", Slot = "37")]
[ComVisible(false)]
public override string GetString(byte[] bytes, int index, int count)
{
return null;
}
// Token: 0x06001269 RID: 4713 RVA: 0x0000E280 File Offset: 0x0000C480
[Token(Token = "0x6001269")]
[Address(RVA = "0x292CB40", Offset = "0x292B940", VA = "0x18292CB40", Slot = "15")]
internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS encoder)
{
return 0;
}
// Token: 0x0600126A RID: 4714 RVA: 0x0000E298 File Offset: 0x0000C498
[Token(Token = "0x600126A")]
[Address(RVA = "0x292D480", Offset = "0x292C280", VA = "0x18292D480", Slot = "21")]
internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS encoder)
{
return 0;
}
// Token: 0x0600126B RID: 4715 RVA: 0x0000E2B0 File Offset: 0x0000C4B0
[Token(Token = "0x600126B")]
[Address(RVA = "0x292E510", Offset = "0x292D310", VA = "0x18292E510", Slot = "25")]
internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
{
return 0;
}
// Token: 0x0600126C RID: 4716 RVA: 0x0000E2C8 File Offset: 0x0000C4C8
[Token(Token = "0x600126C")]
[Address(RVA = "0x292F3F0", Offset = "0x292E1F0", VA = "0x18292F3F0", Slot = "30")]
internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
{
return 0;
}
/// <summary>Obtains an encoder that converts a sequence of Unicode characters into a UTF-16 encoded sequence of bytes.</summary>
/// <returns>A <see cref="T:System.Text.Encoder" /> object that converts a sequence of Unicode characters into a UTF-16 encoded sequence of bytes.</returns>
// Token: 0x0600126D RID: 4717 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600126D")]
[Address(RVA = "0x292FF50", Offset = "0x292ED50", VA = "0x18292FF50", Slot = "33")]
[ComVisible(false)]
public override Encoder GetEncoder()
{
return null;
}
/// <summary>Obtains a decoder that converts a UTF-16 encoded sequence of bytes into a sequence of Unicode characters.</summary>
/// <returns>A <see cref="T:System.Text.Decoder" /> that converts a UTF-16 encoded sequence of bytes into a sequence of Unicode characters.</returns>
// Token: 0x0600126E RID: 4718 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600126E")]
[Address(RVA = "0x292FEF0", Offset = "0x292ECF0", VA = "0x18292FEF0", Slot = "32")]
public override global::System.Text.Decoder GetDecoder()
{
return null;
}
/// <summary>Returns a Unicode byte order mark encoded in UTF-16 format, if the constructor for this instance requests a byte order mark.</summary>
/// <returns>A byte array containing the Unicode byte order mark, if the <see cref="T:System.Text.UnicodeEncoding" /> object is configured to supply one. Otherwise, this method returns a zero-length byte array.</returns>
// Token: 0x0600126F RID: 4719 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600126F")]
[Address(RVA = "0x29302B0", Offset = "0x292F0B0", VA = "0x1829302B0", Slot = "6")]
public override byte[] GetPreamble()
{
return null;
}
/// <summary>Calculates the maximum number of bytes produced by encoding the specified number of characters.</summary>
/// <param name="charCount">The number of characters to encode.</param>
/// <returns>The maximum number of bytes produced by encoding the specified number of characters.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="charCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.EncoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.EncoderFallback" /> is set to <see cref="T:System.Text.EncoderExceptionFallback" />.</exception>
// Token: 0x06001270 RID: 4720 RVA: 0x0000E2E0 File Offset: 0x0000C4E0
[Token(Token = "0x6001270")]
[Address(RVA = "0x2930050", Offset = "0x292EE50", VA = "0x182930050", Slot = "34")]
public override int GetMaxByteCount(int charCount)
{
return 0;
}
/// <summary>Calculates the maximum number of characters produced by decoding the specified number of bytes.</summary>
/// <param name="byteCount">The number of bytes to decode.</param>
/// <returns>The maximum number of characters produced by decoding the specified number of bytes.</returns>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="byteCount" /> is less than zero.
/// -or-
/// The resulting number of bytes is greater than the maximum number that can be returned as an integer.</exception>
/// <exception cref="T:System.Text.DecoderFallbackException">A fallback occurred (see Character Encoding in the .NET Framework for fuller explanation)
/// -and-
/// <see cref="P:System.Text.Encoding.DecoderFallback" /> is set to <see cref="T:System.Text.DecoderExceptionFallback" />.</exception>
// Token: 0x06001271 RID: 4721 RVA: 0x0000E2F8 File Offset: 0x0000C4F8
[Token(Token = "0x6001271")]
[Address(RVA = "0x2930180", Offset = "0x292EF80", VA = "0x182930180", Slot = "35")]
public override int GetMaxCharCount(int byteCount)
{
return 0;
}
/// <summary>Determines whether the specified <see cref="T:System.Object" /> is equal to the current <see cref="T:System.Text.UnicodeEncoding" /> object.</summary>
/// <param name="value">The object to compare with the current object.</param>
/// <returns>
/// <see langword="true" /> if <paramref name="value" /> is an instance of <see cref="T:System.Text.UnicodeEncoding" /> and is equal to the current object; otherwise, <see langword="false" />.</returns>
// Token: 0x06001272 RID: 4722 RVA: 0x0000E310 File Offset: 0x0000C510
[Token(Token = "0x6001272")]
[Address(RVA = "0x292C880", Offset = "0x292B680", VA = "0x18292C880", Slot = "0")]
public override bool Equals(object value)
{
return default(bool);
}
/// <summary>Returns the hash code for the current instance.</summary>
/// <returns>The hash code for the current <see cref="T:System.Text.UnicodeEncoding" /> object.</returns>
// Token: 0x06001273 RID: 4723 RVA: 0x0000E328 File Offset: 0x0000C528
[Token(Token = "0x6001273")]
[Address(RVA = "0x292FFB0", Offset = "0x292EDB0", VA = "0x18292FFB0", Slot = "2")]
public override int GetHashCode()
{
return 0;
}
// Token: 0x04000978 RID: 2424
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4000978")]
[OptionalField]
internal bool isThrowException;
// Token: 0x04000979 RID: 2425
[global::Cpp2IlInjected.FieldOffset(Offset = "0x39")]
[Token(Token = "0x4000979")]
internal bool bigEndian;
// Token: 0x0400097A RID: 2426
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3A")]
[Token(Token = "0x400097A")]
internal bool byteOrderMark;
// Token: 0x0400097B RID: 2427
[Token(Token = "0x400097B")]
private static readonly ulong highLowPatternMask;
// Token: 0x020001DE RID: 478
[Token(Token = "0x20001DE")]
[Serializable]
private class Decoder : DecoderNLS, ISerializable
{
// Token: 0x06001275 RID: 4725 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001275")]
[Address(RVA = "0x291FC20", Offset = "0x291EA20", VA = "0x18291FC20")]
public Decoder(UnicodeEncoding encoding)
{
}
// Token: 0x06001276 RID: 4726 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001276")]
[Address(RVA = "0x291FC30", Offset = "0x291EA30", VA = "0x18291FC30")]
internal Decoder(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06001277 RID: 4727 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001277")]
[Address(RVA = "0x291FAA0", Offset = "0x291E8A0", VA = "0x18291FAA0", Slot = "13")]
void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context)
{
}
// Token: 0x06001278 RID: 4728 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6001278")]
[Address(RVA = "0x291FA70", Offset = "0x291E870", VA = "0x18291FA70", Slot = "4")]
public override void Reset()
{
}
// Token: 0x170001D6 RID: 470
// (get) Token: 0x06001279 RID: 4729 RVA: 0x0000E340 File Offset: 0x0000C540
[Token(Token = "0x170001D6")]
internal override bool HasState
{
[Token(Token = "0x6001279")]
[Address(RVA = "0x291FF80", Offset = "0x291ED80", VA = "0x18291FF80", Slot = "14")]
get
{
return default(bool);
}
}
// Token: 0x0400097C RID: 2428
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400097C")]
internal int lastByte;
// Token: 0x0400097D RID: 2429
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x400097D")]
internal char lastChar;
}
}
}