587 lines
26 KiB
C#
587 lines
26 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.IO
|
|
{
|
|
/// <summary>Implements a <see cref="T:System.IO.TextReader" /> that reads characters from a byte stream in a particular encoding.</summary>
|
|
// Token: 0x0200029C RID: 668
|
|
[Token(Token = "0x200029C")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public class StreamReader : TextReader
|
|
{
|
|
// Token: 0x170002E7 RID: 743
|
|
// (get) Token: 0x06001850 RID: 6224 RVA: 0x00010638 File Offset: 0x0000E838
|
|
[Token(Token = "0x170002E7")]
|
|
internal static int DefaultBufferSize
|
|
{
|
|
[Token(Token = "0x6001850")]
|
|
[Address(RVA = "0x2947FF0", Offset = "0x2946DF0", VA = "0x182947FF0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001851 RID: 6225 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001851")]
|
|
[Address(RVA = "0x2946600", Offset = "0x2945400", VA = "0x182946600")]
|
|
private void CheckAsyncTaskInProgress()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001852 RID: 6226 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001852")]
|
|
[Address(RVA = "0x2947F90", Offset = "0x2946D90", VA = "0x182947F90")]
|
|
internal StreamReader()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream.</summary>
|
|
/// <param name="stream">The stream to be read.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="stream" /> does not support reading.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001853 RID: 6227 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001853")]
|
|
[Address(RVA = "0x29479A0", Offset = "0x29467A0", VA = "0x1829479A0")]
|
|
public StreamReader(Stream stream)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified byte order mark detection option.</summary>
|
|
/// <param name="stream">The stream to be read.</param>
|
|
/// <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="stream" /> does not support reading.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001854 RID: 6228 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001854")]
|
|
[Address(RVA = "0x2947A30", Offset = "0x2946830", VA = "0x182947A30")]
|
|
public StreamReader(Stream stream, bool detectEncodingFromByteOrderMarks)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified character encoding.</summary>
|
|
/// <param name="stream">The stream to be read.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="stream" /> does not support reading.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="stream" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001855 RID: 6229 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001855")]
|
|
[Address(RVA = "0x2947CF0", Offset = "0x2946AF0", VA = "0x182947CF0")]
|
|
public StreamReader(Stream stream, Encoding encoding)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream, with the specified character encoding and byte order mark detection option.</summary>
|
|
/// <param name="stream">The stream to be read.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="stream" /> does not support reading.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="stream" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
|
// Token: 0x06001856 RID: 6230 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001856")]
|
|
[Address(RVA = "0x2947840", Offset = "0x2946640", VA = "0x182947840")]
|
|
public StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified stream based on the specified character encoding, byte order mark detection option, and buffer size, and optionally leaves the stream open.</summary>
|
|
/// <param name="stream">The stream to read.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <param name="detectEncodingFromByteOrderMarks">
|
|
/// <see langword="true" /> to look for byte order marks at the beginning of the file; otherwise, <see langword="false" />.</param>
|
|
/// <param name="bufferSize">The minimum buffer size.</param>
|
|
/// <param name="leaveOpen">
|
|
/// <see langword="true" /> to leave the stream open after the <see cref="T:System.IO.StreamReader" /> object is disposed; otherwise, <see langword="false" />.</param>
|
|
// Token: 0x06001857 RID: 6231 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001857")]
|
|
[Address(RVA = "0x2947AD0", Offset = "0x29468D0", VA = "0x182947AD0")]
|
|
public StreamReader(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified file name.</summary>
|
|
/// <param name="path">The complete file path to be read.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="path" /> is an empty string ("").</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
|
|
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
|
/// <exception cref="T:System.IO.IOException">
|
|
/// <paramref name="path" /> includes an incorrect or invalid syntax for file name, directory name, or volume label.</exception>
|
|
// Token: 0x06001858 RID: 6232 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001858")]
|
|
[Address(RVA = "0x2947C60", Offset = "0x2946A60", VA = "0x182947C60")]
|
|
public StreamReader(string path)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified file name, with the specified byte order mark detection option.</summary>
|
|
/// <param name="path">The complete file path to be read.</param>
|
|
/// <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="path" /> is an empty string ("").</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
|
|
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
|
/// <exception cref="T:System.IO.IOException">
|
|
/// <paramref name="path" /> includes an incorrect or invalid syntax for file name, directory name, or volume label.</exception>
|
|
// Token: 0x06001859 RID: 6233 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001859")]
|
|
[Address(RVA = "0x29477A0", Offset = "0x29465A0", VA = "0x1829477A0")]
|
|
public StreamReader(string path, bool detectEncodingFromByteOrderMarks)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified file name, with the specified character encoding.</summary>
|
|
/// <param name="path">The complete file path to be read.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="path" /> is an empty string ("").</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="path" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
|
|
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">
|
|
/// <paramref name="path" /> includes an incorrect or invalid syntax for file name, directory name, or volume label.</exception>
|
|
// Token: 0x0600185A RID: 6234 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600185A")]
|
|
[Address(RVA = "0x2947910", Offset = "0x2946710", VA = "0x182947910")]
|
|
public StreamReader(string path, Encoding encoding)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamReader" /> class for the specified file name, with the specified character encoding, byte order mark detection option, and buffer size.</summary>
|
|
/// <param name="path">The complete file path to be read.</param>
|
|
/// <param name="encoding">The character encoding to use.</param>
|
|
/// <param name="detectEncodingFromByteOrderMarks">Indicates whether to look for byte order marks at the beginning of the file.</param>
|
|
/// <param name="bufferSize">The minimum buffer size, in number of 16-bit characters.</param>
|
|
/// <exception cref="T:System.ArgumentException">
|
|
/// <paramref name="path" /> is an empty string ("").</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="path" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
|
|
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
|
/// <exception cref="T:System.NotSupportedException">
|
|
/// <paramref name="path" /> includes an incorrect or invalid syntax for file name, directory name, or volume label.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="buffersize" /> is less than or equal to zero.</exception>
|
|
// Token: 0x0600185B RID: 6235 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600185B")]
|
|
[Address(RVA = "0x29478E0", Offset = "0x29466E0", VA = "0x1829478E0")]
|
|
public StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600185C RID: 6236 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600185C")]
|
|
[Address(RVA = "0x2947D80", Offset = "0x2946B80", VA = "0x182947D80")]
|
|
internal StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool checkHost)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600185D RID: 6237 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600185D")]
|
|
[Address(RVA = "0x2946AE0", Offset = "0x29458E0", VA = "0x182946AE0")]
|
|
private void Init(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600185E RID: 6238 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600185E")]
|
|
[Address(RVA = "0x2946BF0", Offset = "0x29459F0", VA = "0x182946BF0")]
|
|
internal void Init(Stream stream)
|
|
{
|
|
}
|
|
|
|
/// <summary>Closes the <see cref="T:System.IO.StreamReader" /> object and the underlying stream, and releases any system resources associated with the reader.</summary>
|
|
// Token: 0x0600185F RID: 6239 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600185F")]
|
|
[Address(RVA = "0x6A2590", Offset = "0x6A1390", VA = "0x1806A2590", Slot = "7")]
|
|
public override void Close()
|
|
{
|
|
}
|
|
|
|
/// <summary>Closes the underlying stream, releases the unmanaged resources used by the <see cref="T:System.IO.StreamReader" />, and optionally releases the managed resources.</summary>
|
|
/// <param name="disposing">
|
|
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
|
|
// Token: 0x06001860 RID: 6240 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001860")]
|
|
[Address(RVA = "0x2946A00", Offset = "0x2945800", VA = "0x182946A00", Slot = "8")]
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Gets the current character encoding that the current <see cref="T:System.IO.StreamReader" /> object is using.</summary>
|
|
/// <returns>The current character encoding used by the current reader. The value can be different after the first call to any <see cref="Overload:System.IO.StreamReader.Read" /> method of <see cref="T:System.IO.StreamReader" />, since encoding autodetection is not done until the first call to a <see cref="Overload:System.IO.StreamReader.Read" /> method.</returns>
|
|
// Token: 0x170002E8 RID: 744
|
|
// (get) Token: 0x06001861 RID: 6241 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002E8")]
|
|
public virtual Encoding CurrentEncoding
|
|
{
|
|
[Token(Token = "0x6001861")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns the underlying stream.</summary>
|
|
/// <returns>The underlying stream.</returns>
|
|
// Token: 0x170002E9 RID: 745
|
|
// (get) Token: 0x06001862 RID: 6242 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002E9")]
|
|
public virtual Stream BaseStream
|
|
{
|
|
[Token(Token = "0x6001862")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "15")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170002EA RID: 746
|
|
// (get) Token: 0x06001863 RID: 6243 RVA: 0x00010650 File Offset: 0x0000E850
|
|
[Token(Token = "0x170002EA")]
|
|
internal bool LeaveOpen
|
|
{
|
|
[Token(Token = "0x6001863")]
|
|
[Address(RVA = "0x2948050", Offset = "0x2946E50", VA = "0x182948050")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets a value that indicates whether the current stream position is at the end of the stream.</summary>
|
|
/// <returns>
|
|
/// <see langword="true" /> if the current stream position is at the end of the stream; otherwise <see langword="false" />.</returns>
|
|
/// <exception cref="T:System.ObjectDisposedException">The underlying stream has been disposed.</exception>
|
|
// Token: 0x170002EB RID: 747
|
|
// (get) Token: 0x06001864 RID: 6244 RVA: 0x00010668 File Offset: 0x0000E868
|
|
[Token(Token = "0x170002EB")]
|
|
public bool EndOfStream
|
|
{
|
|
[Token(Token = "0x6001864")]
|
|
[Address(RVA = "0x2948000", Offset = "0x2946E00", VA = "0x182948000")]
|
|
get
|
|
{
|
|
return default(bool);
|
|
}
|
|
}
|
|
|
|
/// <summary>Returns the next available character but does not consume it.</summary>
|
|
/// <returns>An integer representing the next character to be read, or -1 if there are no characters to be read or if the stream does not support seeking.</returns>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001865 RID: 6245 RVA: 0x00010680 File Offset: 0x0000E880
|
|
[Token(Token = "0x6001865")]
|
|
[Address(RVA = "0x2946D10", Offset = "0x2945B10", VA = "0x182946D10", Slot = "9")]
|
|
public override int Peek()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001866 RID: 6246 RVA: 0x00010698 File Offset: 0x0000E898
|
|
[Token(Token = "0x6001866")]
|
|
[Address(RVA = "0x29466D0", Offset = "0x29454D0", VA = "0x1829466D0")]
|
|
internal bool DataAvailable()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
/// <summary>Reads the next character from the input stream and advances the character position by one character.</summary>
|
|
/// <returns>The next character from the input stream represented as an <see cref="T:System.Int32" /> object, or -1 if no more characters are available.</returns>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001867 RID: 6247 RVA: 0x000106B0 File Offset: 0x0000E8B0
|
|
[Token(Token = "0x6001867")]
|
|
[Address(RVA = "0x2947490", Offset = "0x2946290", VA = "0x182947490", Slot = "10")]
|
|
public override int Read()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a specified maximum of characters from the current stream into a buffer, beginning at the specified index.</summary>
|
|
/// <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (index + count - 1) replaced by the characters read from the current source.</param>
|
|
/// <param name="index">The index of <paramref name="buffer" /> at which to begin writing.</param>
|
|
/// <param name="count">The maximum number of characters to read.</param>
|
|
/// <returns>The number of characters that have been read, or 0 if at the end of the stream and no data was read. The number will be less than or equal to the <paramref name="count" /> parameter, depending on whether the data is available within the stream.</returns>
|
|
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
|
/// <exception cref="T:System.ArgumentNullException">
|
|
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
|
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
|
/// <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs, such as the stream is closed.</exception>
|
|
// Token: 0x06001868 RID: 6248 RVA: 0x000106C8 File Offset: 0x0000E8C8
|
|
[Token(Token = "0x6001868")]
|
|
[Address(RVA = "0x2947520", Offset = "0x2946320", VA = "0x182947520", Slot = "11")]
|
|
public override int Read([In] [Out] char[] buffer, int index, int count)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads all characters from the current position to the end of the stream.</summary>
|
|
/// <returns>The rest of the stream as a string, from the current position to the end. If the current position is at the end of the stream, returns an empty string ("").</returns>
|
|
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x06001869 RID: 6249 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001869")]
|
|
[Address(RVA = "0x29473B0", Offset = "0x29461B0", VA = "0x1829473B0", Slot = "12")]
|
|
public override string ReadToEnd()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600186A RID: 6250 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600186A")]
|
|
[Address(RVA = "0x2946690", Offset = "0x2945490", VA = "0x182946690")]
|
|
private void CompressBuffer(int n)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600186B RID: 6251 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600186B")]
|
|
[Address(RVA = "0x29466E0", Offset = "0x29454E0", VA = "0x1829466E0")]
|
|
private void DetectEncoding()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600186C RID: 6252 RVA: 0x000106E0 File Offset: 0x0000E8E0
|
|
[Token(Token = "0x600186C")]
|
|
[Address(RVA = "0x2946C00", Offset = "0x2945A00", VA = "0x182946C00")]
|
|
private bool IsPreamble()
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x0600186D RID: 6253 RVA: 0x000106F8 File Offset: 0x0000E8F8
|
|
[Token(Token = "0x600186D")]
|
|
[Address(RVA = "0x2946FF0", Offset = "0x2945DF0", VA = "0x182946FF0", Slot = "16")]
|
|
internal virtual int ReadBuffer()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x0600186E RID: 6254 RVA: 0x00010710 File Offset: 0x0000E910
|
|
[Token(Token = "0x600186E")]
|
|
[Address(RVA = "0x2946DA0", Offset = "0x2945BA0", VA = "0x182946DA0")]
|
|
private int ReadBuffer(char[] userBuffer, int userOffset, int desiredChars, out bool readToUserBuffer)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>Reads a line of characters from the current stream and returns the data as a string.</summary>
|
|
/// <returns>The next line from the input stream, or <see langword="null" /> if the end of the input stream is reached.</returns>
|
|
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
|
|
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
|
// Token: 0x0600186F RID: 6255 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600186F")]
|
|
[Address(RVA = "0x29471A0", Offset = "0x2945FA0", VA = "0x1829471A0", Slot = "13")]
|
|
public override string ReadLine()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>A <see cref="T:System.IO.StreamReader" /> object around an empty stream.</summary>
|
|
// Token: 0x04000D08 RID: 3336
|
|
[Token(Token = "0x4000D08")]
|
|
public new static readonly StreamReader Null;
|
|
|
|
// Token: 0x04000D09 RID: 3337
|
|
[Token(Token = "0x4000D09")]
|
|
private const int DefaultFileStreamBufferSize = 4096;
|
|
|
|
// Token: 0x04000D0A RID: 3338
|
|
[Token(Token = "0x4000D0A")]
|
|
private const int MinBufferSize = 128;
|
|
|
|
// Token: 0x04000D0B RID: 3339
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000D0B")]
|
|
private Stream stream;
|
|
|
|
// Token: 0x04000D0C RID: 3340
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000D0C")]
|
|
private Encoding encoding;
|
|
|
|
// Token: 0x04000D0D RID: 3341
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000D0D")]
|
|
private Decoder decoder;
|
|
|
|
// Token: 0x04000D0E RID: 3342
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4000D0E")]
|
|
private byte[] byteBuffer;
|
|
|
|
// Token: 0x04000D0F RID: 3343
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x4000D0F")]
|
|
private char[] charBuffer;
|
|
|
|
// Token: 0x04000D10 RID: 3344
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000D10")]
|
|
private byte[] _preamble;
|
|
|
|
// Token: 0x04000D11 RID: 3345
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000D11")]
|
|
private int charPos;
|
|
|
|
// Token: 0x04000D12 RID: 3346
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4C")]
|
|
[Token(Token = "0x4000D12")]
|
|
private int charLen;
|
|
|
|
// Token: 0x04000D13 RID: 3347
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4000D13")]
|
|
private int byteLen;
|
|
|
|
// Token: 0x04000D14 RID: 3348
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
|
|
[Token(Token = "0x4000D14")]
|
|
private int bytePos;
|
|
|
|
// Token: 0x04000D15 RID: 3349
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4000D15")]
|
|
private int _maxCharsPerBuffer;
|
|
|
|
// Token: 0x04000D16 RID: 3350
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
|
|
[Token(Token = "0x4000D16")]
|
|
private bool _detectEncoding;
|
|
|
|
// Token: 0x04000D17 RID: 3351
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5D")]
|
|
[Token(Token = "0x4000D17")]
|
|
private bool _checkPreamble;
|
|
|
|
// Token: 0x04000D18 RID: 3352
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5E")]
|
|
[Token(Token = "0x4000D18")]
|
|
private bool _isBlocked;
|
|
|
|
// Token: 0x04000D19 RID: 3353
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5F")]
|
|
[Token(Token = "0x4000D19")]
|
|
private bool _closable;
|
|
|
|
// Token: 0x04000D1A RID: 3354
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4000D1A")]
|
|
[NonSerialized]
|
|
private Task _asyncReadTask;
|
|
|
|
// Token: 0x0200029D RID: 669
|
|
[Token(Token = "0x200029D")]
|
|
private class NullStreamReader : StreamReader
|
|
{
|
|
// Token: 0x06001871 RID: 6257 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001871")]
|
|
[Address(RVA = "0x2602BD0", Offset = "0x26019D0", VA = "0x182602BD0")]
|
|
internal NullStreamReader()
|
|
{
|
|
}
|
|
|
|
// Token: 0x170002EC RID: 748
|
|
// (get) Token: 0x06001872 RID: 6258 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002EC")]
|
|
public override Stream BaseStream
|
|
{
|
|
[Token(Token = "0x6001872")]
|
|
[Address(RVA = "0x2602C60", Offset = "0x2601A60", VA = "0x182602C60", Slot = "15")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170002ED RID: 749
|
|
// (get) Token: 0x06001873 RID: 6259 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x170002ED")]
|
|
public override Encoding CurrentEncoding
|
|
{
|
|
[Token(Token = "0x6001873")]
|
|
[Address(RVA = "0x2602CC0", Offset = "0x2601AC0", VA = "0x182602CC0", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001874 RID: 6260 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6001874")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "8")]
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001875 RID: 6261 RVA: 0x00010728 File Offset: 0x0000E928
|
|
[Token(Token = "0x6001875")]
|
|
[Address(RVA = "0x4F9EF0", Offset = "0x4F8CF0", VA = "0x1804F9EF0", Slot = "9")]
|
|
public override int Peek()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001876 RID: 6262 RVA: 0x00010740 File Offset: 0x0000E940
|
|
[Token(Token = "0x6001876")]
|
|
[Address(RVA = "0x4F9EF0", Offset = "0x4F8CF0", VA = "0x1804F9EF0", Slot = "10")]
|
|
public override int Read()
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001877 RID: 6263 RVA: 0x00010758 File Offset: 0x0000E958
|
|
[Token(Token = "0x6001877")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "11")]
|
|
public override int Read(char[] buffer, int index, int count)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
// Token: 0x06001878 RID: 6264 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001878")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "13")]
|
|
public override string ReadLine()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06001879 RID: 6265 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6001879")]
|
|
[Address(RVA = "0x2602B90", Offset = "0x2601990", VA = "0x182602B90", Slot = "12")]
|
|
public override string ReadToEnd()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600187A RID: 6266 RVA: 0x00010770 File Offset: 0x0000E970
|
|
[Token(Token = "0x600187A")]
|
|
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "16")]
|
|
internal override int ReadBuffer()
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
}
|
|
}
|