m
This commit is contained in:
@@ -0,0 +1,439 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Reads primitive data types as binary values in a specific encoding.</summary>
|
||||
// Token: 0x02000281 RID: 641
|
||||
[Token(Token = "0x2000281")]
|
||||
[ComVisible(true)]
|
||||
public class BinaryReader : IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and using UTF-8 encoding.</summary>
|
||||
/// <param name="input">The input stream.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The stream does not support reading, is <see langword="null" />, or is already closed.</exception>
|
||||
// Token: 0x06001721 RID: 5921 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001721")]
|
||||
[Address(RVA = "0x2BA3A30", Offset = "0x2BA2A30", VA = "0x182BA3A30")]
|
||||
public BinaryReader(Stream input)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and character encoding.</summary>
|
||||
/// <param name="input">The input stream.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The stream does not support reading, is <see langword="null" />, or is already closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="encoding" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001722 RID: 5922 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001722")]
|
||||
[Address(RVA = "0x2BA3800", Offset = "0x2BA2800", VA = "0x182BA3800")]
|
||||
public BinaryReader(Stream input, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryReader" /> class based on the specified stream and character encoding, and optionally leaves the stream open.</summary>
|
||||
/// <param name="input">The input stream.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <param name="leaveOpen">
|
||||
/// <see langword="true" /> to leave the stream open after the <see cref="T:System.IO.BinaryReader" /> object is disposed; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The stream does not support reading, is <see langword="null" />, or is already closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="encoding" /> or <paramref name="input" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001723 RID: 5923 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001723")]
|
||||
[Address(RVA = "0x2BA3820", Offset = "0x2BA2820", VA = "0x182BA3820")]
|
||||
public BinaryReader(Stream input, Encoding encoding, bool leaveOpen)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Exposes access to the underlying stream of the <see cref="T:System.IO.BinaryReader" />.</summary>
|
||||
/// <returns>The underlying stream associated with the <see langword="BinaryReader" />.</returns>
|
||||
// Token: 0x170002BF RID: 703
|
||||
// (get) Token: 0x06001724 RID: 5924 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002BF")]
|
||||
public virtual Stream BaseStream
|
||||
{
|
||||
[Token(Token = "0x6001724")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Closes the current reader and the underlying stream.</summary>
|
||||
// Token: 0x06001725 RID: 5925 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001725")]
|
||||
[Address(RVA = "0x2BA20A0", Offset = "0x2BA10A0", VA = "0x182BA20A0", Slot = "6")]
|
||||
public virtual void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.BinaryReader" /> class 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: 0x06001726 RID: 5926 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001726")]
|
||||
[Address(RVA = "0x2BA20C0", Offset = "0x2BA10C0", VA = "0x182BA20C0", Slot = "7")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.IO.BinaryReader" /> class.</summary>
|
||||
// Token: 0x06001727 RID: 5927 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001727")]
|
||||
[Address(RVA = "0x2BA20A0", Offset = "0x2BA10A0", VA = "0x182BA20A0", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Reads characters from the underlying stream and advances the current position of the stream in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary>
|
||||
/// <returns>The next character from the input stream, or -1 if no characters are currently available.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001728 RID: 5928 RVA: 0x00010278 File Offset: 0x0000E478
|
||||
[Token(Token = "0x6001728")]
|
||||
[Address(RVA = "0x2BA37D0", Offset = "0x2BA27D0", VA = "0x182BA37D0", Slot = "8")]
|
||||
public virtual int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a <see langword="Boolean" /> value from the current stream and advances the current position of the stream by one byte.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the byte is nonzero; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001729 RID: 5929 RVA: 0x00010290 File Offset: 0x0000E490
|
||||
[Token(Token = "0x6001729")]
|
||||
[Address(RVA = "0x2BA2910", Offset = "0x2BA1910", VA = "0x182BA2910", Slot = "9")]
|
||||
public virtual bool ReadBoolean()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Reads the next byte from the current stream and advances the current position of the stream by one byte.</summary>
|
||||
/// <returns>The next byte read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600172A RID: 5930 RVA: 0x000102A8 File Offset: 0x0000E4A8
|
||||
[Token(Token = "0x600172A")]
|
||||
[Address(RVA = "0x2BA2960", Offset = "0x2BA1960", VA = "0x182BA2960", Slot = "10")]
|
||||
public virtual byte ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a signed byte from this stream and advances the current position of the stream by one byte.</summary>
|
||||
/// <returns>A signed byte read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600172B RID: 5931 RVA: 0x000102C0 File Offset: 0x0000E4C0
|
||||
[Token(Token = "0x600172B")]
|
||||
[Address(RVA = "0x2BA31C0", Offset = "0x2BA21C0", VA = "0x182BA31C0", Slot = "11")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual sbyte ReadSByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads the next character from the current stream and advances the current position of the stream in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary>
|
||||
/// <returns>A character read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">A surrogate character was read.</exception>
|
||||
// Token: 0x0600172C RID: 5932 RVA: 0x000102D8 File Offset: 0x0000E4D8
|
||||
[Token(Token = "0x600172C")]
|
||||
[Address(RVA = "0x2BA2B40", Offset = "0x2BA1B40", VA = "0x182BA2B40", Slot = "12")]
|
||||
public virtual char ReadChar()
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
|
||||
/// <summary>Reads a 2-byte signed integer from the current stream and advances the current position of the stream by two bytes.</summary>
|
||||
/// <returns>A 2-byte signed integer read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600172D RID: 5933 RVA: 0x000102F0 File Offset: 0x0000E4F0
|
||||
[Token(Token = "0x600172D")]
|
||||
[Address(RVA = "0x2BA2DF0", Offset = "0x2BA1DF0", VA = "0x182BA2DF0", Slot = "13")]
|
||||
public virtual short ReadInt16()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 2-byte unsigned integer from the current stream using little-endian encoding and advances the position of the stream by two bytes.</summary>
|
||||
/// <returns>A 2-byte unsigned integer read from this stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600172E RID: 5934 RVA: 0x00010308 File Offset: 0x0000E508
|
||||
[Token(Token = "0x600172E")]
|
||||
[Address(RVA = "0x2BA2DF0", Offset = "0x2BA1DF0", VA = "0x182BA2DF0", Slot = "14")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual ushort ReadUInt16()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 4-byte signed integer from the current stream and advances the current position of the stream by four bytes.</summary>
|
||||
/// <returns>A 4-byte signed integer read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600172F RID: 5935 RVA: 0x00010320 File Offset: 0x0000E520
|
||||
[Token(Token = "0x600172F")]
|
||||
[Address(RVA = "0x2BA2E70", Offset = "0x2BA1E70", VA = "0x182BA2E70", Slot = "15")]
|
||||
public virtual int ReadInt32()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 4-byte unsigned integer from the current stream and advances the position of the stream by four bytes.</summary>
|
||||
/// <returns>A 4-byte unsigned integer read from this stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001730 RID: 5936 RVA: 0x00010338 File Offset: 0x0000E538
|
||||
[Token(Token = "0x6001730")]
|
||||
[Address(RVA = "0x2BA3540", Offset = "0x2BA2540", VA = "0x182BA3540", Slot = "16")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual uint ReadUInt32()
|
||||
{
|
||||
return 0U;
|
||||
}
|
||||
|
||||
/// <summary>Reads an 8-byte signed integer from the current stream and advances the current position of the stream by eight bytes.</summary>
|
||||
/// <returns>An 8-byte signed integer read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001731 RID: 5937 RVA: 0x00010350 File Offset: 0x0000E550
|
||||
[Token(Token = "0x6001731")]
|
||||
[Address(RVA = "0x2BA3010", Offset = "0x2BA2010", VA = "0x182BA3010", Slot = "17")]
|
||||
public virtual long ReadInt64()
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Reads an 8-byte unsigned integer from the current stream and advances the position of the stream by eight bytes.</summary>
|
||||
/// <returns>An 8-byte unsigned integer read from this stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001732 RID: 5938 RVA: 0x00010368 File Offset: 0x0000E568
|
||||
[Token(Token = "0x6001732")]
|
||||
[Address(RVA = "0x2BA3010", Offset = "0x2BA2010", VA = "0x182BA3010", Slot = "18")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual ulong ReadUInt64()
|
||||
{
|
||||
return 0UL;
|
||||
}
|
||||
|
||||
/// <summary>Reads a 4-byte floating point value from the current stream and advances the current position of the stream by four bytes.</summary>
|
||||
/// <returns>A 4-byte floating point value read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001733 RID: 5939 RVA: 0x00010380 File Offset: 0x0000E580
|
||||
[Token(Token = "0x6001733")]
|
||||
[Address(RVA = "0x2BA3210", Offset = "0x2BA2210", VA = "0x182BA3210", Slot = "19")]
|
||||
public virtual float ReadSingle()
|
||||
{
|
||||
return 0f;
|
||||
}
|
||||
|
||||
/// <summary>Reads an 8-byte floating point value from the current stream and advances the current position of the stream by eight bytes.</summary>
|
||||
/// <returns>An 8-byte floating point value read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001734 RID: 5940 RVA: 0x00010398 File Offset: 0x0000E598
|
||||
[Token(Token = "0x6001734")]
|
||||
[Address(RVA = "0x2BA2DB0", Offset = "0x2BA1DB0", VA = "0x182BA2DB0", Slot = "20")]
|
||||
public virtual double ReadDouble()
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a decimal value from the current stream and advances the current position of the stream by sixteen bytes.</summary>
|
||||
/// <returns>A decimal value read from the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001735 RID: 5941 RVA: 0x000103B0 File Offset: 0x0000E5B0
|
||||
[Token(Token = "0x6001735")]
|
||||
[Address(RVA = "0x2BA2CC0", Offset = "0x2BA1CC0", VA = "0x182BA2CC0", Slot = "21")]
|
||||
public virtual decimal ReadDecimal()
|
||||
{
|
||||
return 0m;
|
||||
}
|
||||
|
||||
/// <summary>Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.</summary>
|
||||
/// <returns>The string being read.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001736 RID: 5942 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001736")]
|
||||
[Address(RVA = "0x2BA3250", Offset = "0x2BA2250", VA = "0x182BA3250", Slot = "22")]
|
||||
public virtual string ReadString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001737 RID: 5943 RVA: 0x000103C8 File Offset: 0x0000E5C8
|
||||
[Token(Token = "0x6001737")]
|
||||
[Address(RVA = "0x2BA2270", Offset = "0x2BA1270", VA = "0x182BA2270")]
|
||||
private int InternalReadChars(char[] buffer, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001738 RID: 5944 RVA: 0x000103E0 File Offset: 0x0000E5E0
|
||||
[Token(Token = "0x6001738")]
|
||||
[Address(RVA = "0x2BA2570", Offset = "0x2BA1570", VA = "0x182BA2570")]
|
||||
private int InternalReadOneChar()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads the specified number of characters from the current stream, returns the data in a character array, and advances the current position in accordance with the <see langword="Encoding" /> used and the specific character being read from the stream.</summary>
|
||||
/// <param name="count">The number of characters to read.</param>
|
||||
/// <returns>A character array containing data read from the underlying stream. This might be less than the number of characters requested if the end of the stream is reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="count" /> is negative.</exception>
|
||||
// Token: 0x06001739 RID: 5945 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001739")]
|
||||
[Address(RVA = "0x2BA2B70", Offset = "0x2BA1B70", VA = "0x182BA2B70", Slot = "23")]
|
||||
public virtual char[] ReadChars(int count)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads the specified number of bytes from the stream, starting from a specified point in the byte array.</summary>
|
||||
/// <param name="buffer">The buffer to read data into.</param>
|
||||
/// <param name="index">The starting point in the buffer at which to begin reading into the buffer.</param>
|
||||
/// <param name="count">The number of bytes to read.</param>
|
||||
/// <returns>The number of bytes read into <paramref name="buffer" />. This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.
|
||||
/// -or-
|
||||
/// The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</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.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600173A RID: 5946 RVA: 0x000103F8 File Offset: 0x0000E5F8
|
||||
[Token(Token = "0x600173A")]
|
||||
[Address(RVA = "0x2BA3610", Offset = "0x2BA2610", VA = "0x182BA3610", Slot = "24")]
|
||||
public virtual int Read(byte[] buffer, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.</summary>
|
||||
/// <param name="count">The number of bytes to read. This value must be 0 or a non-negative number or an exception will occur.</param>
|
||||
/// <returns>A byte array containing data read from the underlying stream. This might be less than the number of bytes requested if the end of the stream is reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The number of decoded characters to read is greater than <paramref name="count" />. This can happen if a Unicode decoder returns fallback characters or a surrogate pair.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="count" /> is negative.</exception>
|
||||
// Token: 0x0600173B RID: 5947 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600173B")]
|
||||
[Address(RVA = "0x2BA29B0", Offset = "0x2BA19B0", VA = "0x182BA29B0", Slot = "25")]
|
||||
public virtual byte[] ReadBytes(int count)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Fills the internal buffer with the specified number of bytes read from the stream.</summary>
|
||||
/// <param name="numBytes">The number of bytes to be read.</param>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached before <paramref name="numBytes" /> could be read.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">Requested <paramref name="numBytes" /> is larger than the internal buffer size.</exception>
|
||||
// Token: 0x0600173C RID: 5948 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600173C")]
|
||||
[Address(RVA = "0x2BA2120", Offset = "0x2BA1120", VA = "0x182BA2120", Slot = "26")]
|
||||
protected virtual void FillBuffer(int numBytes)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Reads in a 32-bit integer in compressed format.</summary>
|
||||
/// <returns>A 32-bit integer in compressed format.</returns>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.FormatException">The stream is corrupted.</exception>
|
||||
// Token: 0x0600173D RID: 5949 RVA: 0x00010410 File Offset: 0x0000E610
|
||||
[Token(Token = "0x600173D")]
|
||||
[Address(RVA = "0x2BA2860", Offset = "0x2BA1860", VA = "0x182BA2860")]
|
||||
protected internal int Read7BitEncodedInt()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04000C79 RID: 3193
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000C79")]
|
||||
private Stream m_stream;
|
||||
|
||||
// Token: 0x04000C7A RID: 3194
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000C7A")]
|
||||
private byte[] m_buffer;
|
||||
|
||||
// Token: 0x04000C7B RID: 3195
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000C7B")]
|
||||
private Decoder m_decoder;
|
||||
|
||||
// Token: 0x04000C7C RID: 3196
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000C7C")]
|
||||
private byte[] m_charBytes;
|
||||
|
||||
// Token: 0x04000C7D RID: 3197
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000C7D")]
|
||||
private char[] m_singleChar;
|
||||
|
||||
// Token: 0x04000C7E RID: 3198
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000C7E")]
|
||||
private char[] m_charBuffer;
|
||||
|
||||
// Token: 0x04000C7F RID: 3199
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000C7F")]
|
||||
private int m_maxCharsSize;
|
||||
|
||||
// Token: 0x04000C80 RID: 3200
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x4000C80")]
|
||||
private bool m_2BytesPerChar;
|
||||
|
||||
// Token: 0x04000C81 RID: 3201
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x45")]
|
||||
[Token(Token = "0x4000C81")]
|
||||
private bool m_isMemoryStream;
|
||||
|
||||
// Token: 0x04000C82 RID: 3202
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x46")]
|
||||
[Token(Token = "0x4000C82")]
|
||||
private bool m_leaveOpen;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,357 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Writes primitive types in binary to a stream and supports writing strings in a specific encoding.</summary>
|
||||
// Token: 0x02000282 RID: 642
|
||||
[Token(Token = "0x2000282")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class BinaryWriter : IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class that writes to a stream.</summary>
|
||||
// Token: 0x0600173E RID: 5950 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600173E")]
|
||||
[Address(RVA = "0x2BA4C30", Offset = "0x2BA3C30", VA = "0x182BA4C30")]
|
||||
protected BinaryWriter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class based on the specified stream and using UTF-8 encoding.</summary>
|
||||
/// <param name="output">The output stream.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The stream does not support writing or is already closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="output" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x0600173F RID: 5951 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600173F")]
|
||||
[Address(RVA = "0x2BA4BB0", Offset = "0x2BA3BB0", VA = "0x182BA4BB0")]
|
||||
public BinaryWriter(Stream output)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class based on the specified stream and character encoding.</summary>
|
||||
/// <param name="output">The output stream.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The stream does not support writing or is already closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="output" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001740 RID: 5952 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001740")]
|
||||
[Address(RVA = "0x2BA4B90", Offset = "0x2BA3B90", VA = "0x182BA4B90")]
|
||||
public BinaryWriter(Stream output, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BinaryWriter" /> class based on the specified stream and character encoding, and optionally leaves the stream open.</summary>
|
||||
/// <param name="output">The output stream.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <param name="leaveOpen">
|
||||
/// <see langword="true" /> to leave the stream open after the <see cref="T:System.IO.BinaryWriter" /> object is disposed; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The stream does not support writing or is already closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="output" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001741 RID: 5953 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001741")]
|
||||
[Address(RVA = "0x2BA4A30", Offset = "0x2BA3A30", VA = "0x182BA4A30")]
|
||||
public BinaryWriter(Stream output, Encoding encoding, bool leaveOpen)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Closes the current <see cref="T:System.IO.BinaryWriter" /> and the underlying stream.</summary>
|
||||
// Token: 0x06001742 RID: 5954 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001742")]
|
||||
[Address(RVA = "0x2BA3AB0", Offset = "0x2BA2AB0", VA = "0x182BA3AB0", Slot = "5")]
|
||||
public virtual void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.BinaryWriter" /> 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: 0x06001743 RID: 5955 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001743")]
|
||||
[Address(RVA = "0x2BA3AD0", Offset = "0x2BA2AD0", VA = "0x182BA3AD0", Slot = "6")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.IO.BinaryWriter" /> class.</summary>
|
||||
// Token: 0x06001744 RID: 5956 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001744")]
|
||||
[Address(RVA = "0x2BA3AB0", Offset = "0x2BA2AB0", VA = "0x182BA3AB0", Slot = "4")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.</summary>
|
||||
// Token: 0x06001745 RID: 5957 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001745")]
|
||||
[Address(RVA = "0x493A40", Offset = "0x492A40", VA = "0x180493A40", Slot = "7")]
|
||||
public virtual void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a one-byte <see langword="Boolean" /> value to the current stream, with 0 representing <see langword="false" /> and 1 representing <see langword="true" />.</summary>
|
||||
/// <param name="value">The <see langword="Boolean" /> value to write (0 or 1).</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001746 RID: 5958 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001746")]
|
||||
[Address(RVA = "0x2BA3FF0", Offset = "0x2BA2FF0", VA = "0x182BA3FF0", Slot = "8")]
|
||||
public virtual void Write(bool value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes an unsigned byte to the current stream and advances the stream position by one byte.</summary>
|
||||
/// <param name="value">The unsigned byte to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001747 RID: 5959 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001747")]
|
||||
[Address(RVA = "0xAC4CC0", Offset = "0xAC3CC0", VA = "0x180AC4CC0", Slot = "9")]
|
||||
public virtual void Write(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a signed byte to the current stream and advances the stream position by one byte.</summary>
|
||||
/// <param name="value">The signed byte to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001748 RID: 5960 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001748")]
|
||||
[Address(RVA = "0xAC4CC0", Offset = "0xAC3CC0", VA = "0x180AC4CC0", Slot = "10")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual void Write(sbyte value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a byte array to the underlying stream.</summary>
|
||||
/// <param name="buffer">A byte array containing the data to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001749 RID: 5961 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001749")]
|
||||
[Address(RVA = "0x2BA4880", Offset = "0x2BA3880", VA = "0x182BA4880", Slot = "11")]
|
||||
public virtual void Write(byte[] buffer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a region of a byte array to the current stream.</summary>
|
||||
/// <param name="buffer">A byte array containing the data to write.</param>
|
||||
/// <param name="index">The index of the first byte to read from <paramref name="buffer" /> and to write to the stream.</param>
|
||||
/// <param name="count">The number of bytes to read from <paramref name="buffer" /> and to write to the stream.</param>
|
||||
/// <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.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x0600174A RID: 5962 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600174A")]
|
||||
[Address(RVA = "0x2358F30", Offset = "0x2357F30", VA = "0x182358F30", Slot = "12")]
|
||||
public virtual void Write(byte[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a Unicode character to the current stream and advances the current position of the stream in accordance with the <see langword="Encoding" /> used and the specific characters being written to the stream.</summary>
|
||||
/// <param name="ch">The non-surrogate, Unicode character to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="ch" /> is a single surrogate character.</exception>
|
||||
// Token: 0x0600174B RID: 5963 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600174B")]
|
||||
[Address(RVA = "0x2BA4740", Offset = "0x2BA3740", VA = "0x182BA4740", Slot = "13")]
|
||||
public virtual void Write(char ch)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a character array to the current stream and advances the current position of the stream in accordance with the <see langword="Encoding" /> used and the specific characters being written to the stream.</summary>
|
||||
/// <param name="chars">A character array containing the data to write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="chars" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600174C RID: 5964 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600174C")]
|
||||
[Address(RVA = "0x2BA3E80", Offset = "0x2BA2E80", VA = "0x182BA3E80", Slot = "14")]
|
||||
public virtual void Write(char[] chars)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes an eight-byte floating-point value to the current stream and advances the stream position by eight bytes.</summary>
|
||||
/// <param name="value">The eight-byte floating-point value to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x0600174D RID: 5965 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600174D")]
|
||||
[Address(RVA = "0x2BA3FA0", Offset = "0x2BA2FA0", VA = "0x182BA3FA0", Slot = "15")]
|
||||
public virtual void Write(double value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a two-byte signed integer to the current stream and advances the stream position by two bytes.</summary>
|
||||
/// <param name="value">The two-byte signed integer to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x0600174E RID: 5966 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600174E")]
|
||||
[Address(RVA = "0x2BA3C30", Offset = "0x2BA2C30", VA = "0x182BA3C30", Slot = "16")]
|
||||
public virtual void Write(short value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes.</summary>
|
||||
/// <param name="value">The two-byte unsigned integer to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x0600174F RID: 5967 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600174F")]
|
||||
[Address(RVA = "0x2BA3BA0", Offset = "0x2BA2BA0", VA = "0x182BA3BA0", Slot = "17")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual void Write(ushort value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a four-byte signed integer to the current stream and advances the stream position by four bytes.</summary>
|
||||
/// <param name="value">The four-byte signed integer to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001750 RID: 5968 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001750")]
|
||||
[Address(RVA = "0x2BA4060", Offset = "0x2BA3060", VA = "0x182BA4060", Slot = "18")]
|
||||
public virtual void Write(int value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a four-byte unsigned integer to the current stream and advances the stream position by four bytes.</summary>
|
||||
/// <param name="value">The four-byte unsigned integer to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001751 RID: 5969 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001751")]
|
||||
[Address(RVA = "0x2BA4310", Offset = "0x2BA3310", VA = "0x182BA4310", Slot = "19")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual void Write(uint value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes an eight-byte signed integer to the current stream and advances the stream position by eight bytes.</summary>
|
||||
/// <param name="value">The eight-byte signed integer to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001752 RID: 5970 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001752")]
|
||||
[Address(RVA = "0x2BA3CC0", Offset = "0x2BA2CC0", VA = "0x182BA3CC0", Slot = "20")]
|
||||
public virtual void Write(long value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes an eight-byte unsigned integer to the current stream and advances the stream position by eight bytes.</summary>
|
||||
/// <param name="value">The eight-byte unsigned integer to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001753 RID: 5971 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001753")]
|
||||
[Address(RVA = "0x2BA4150", Offset = "0x2BA3150", VA = "0x182BA4150", Slot = "21")]
|
||||
[CLSCompliant(false)]
|
||||
public virtual void Write(ulong value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.</summary>
|
||||
/// <param name="value">The four-byte floating-point value to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001754 RID: 5972 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001754")]
|
||||
[Address(RVA = "0x2BA3F50", Offset = "0x2BA2F50", VA = "0x182BA3F50", Slot = "22")]
|
||||
public virtual void Write(float value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a length-prefixed string to this stream in the current encoding of the <see cref="T:System.IO.BinaryWriter" />, and advances the current position of the stream in accordance with the encoding used and the specific characters being written to the stream.</summary>
|
||||
/// <param name="value">The value to write.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001755 RID: 5973 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001755")]
|
||||
[Address(RVA = "0x2BA4400", Offset = "0x2BA3400", VA = "0x182BA4400", Slot = "23")]
|
||||
public virtual void Write(string value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a 32-bit integer in a compressed format.</summary>
|
||||
/// <param name="value">The 32-bit integer to be written.</param>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">The end of the stream is reached.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is closed.</exception>
|
||||
// Token: 0x06001756 RID: 5974 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001756")]
|
||||
[Address(RVA = "0x2BA3B30", Offset = "0x2BA2B30", VA = "0x182BA3B30")]
|
||||
protected void Write7BitEncodedInt(int value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Specifies a <see cref="T:System.IO.BinaryWriter" /> with no backing store.</summary>
|
||||
// Token: 0x04000C83 RID: 3203
|
||||
[Token(Token = "0x4000C83")]
|
||||
public static readonly BinaryWriter Null;
|
||||
|
||||
/// <summary>Holds the underlying stream.</summary>
|
||||
// Token: 0x04000C84 RID: 3204
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000C84")]
|
||||
protected Stream OutStream;
|
||||
|
||||
// Token: 0x04000C85 RID: 3205
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000C85")]
|
||||
private byte[] _buffer;
|
||||
|
||||
// Token: 0x04000C86 RID: 3206
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000C86")]
|
||||
private Encoding _encoding;
|
||||
|
||||
// Token: 0x04000C87 RID: 3207
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000C87")]
|
||||
private Encoder _encoder;
|
||||
|
||||
// Token: 0x04000C88 RID: 3208
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000C88")]
|
||||
[OptionalField]
|
||||
private bool _leaveOpen;
|
||||
|
||||
// Token: 0x04000C89 RID: 3209
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000C89")]
|
||||
[OptionalField]
|
||||
private char[] _tmpOneCharBuffer;
|
||||
|
||||
// Token: 0x04000C8A RID: 3210
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000C8A")]
|
||||
private byte[] _largeByteBuffer;
|
||||
|
||||
// Token: 0x04000C8B RID: 3211
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000C8B")]
|
||||
private int _maxChars;
|
||||
|
||||
// Token: 0x04000C8C RID: 3212
|
||||
[Token(Token = "0x4000C8C")]
|
||||
private const int LargeByteBufferSize = 256;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,565 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Adds a buffering layer to read and write operations on another stream. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000283 RID: 643
|
||||
[Token(Token = "0x2000283")]
|
||||
[ComVisible(true)]
|
||||
public sealed class BufferedStream : Stream
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BufferedStream" /> class with a default buffer size of 4096 bytes.</summary>
|
||||
/// <param name="stream">The current stream.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001758 RID: 5976 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001758")]
|
||||
[Address(RVA = "0x2BA7F00", Offset = "0x2BA6F00", VA = "0x182BA7F00")]
|
||||
public BufferedStream(Stream stream)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.BufferedStream" /> class with the specified buffer size.</summary>
|
||||
/// <param name="stream">The current stream.</param>
|
||||
/// <param name="bufferSize">The buffer size in bytes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative.</exception>
|
||||
// Token: 0x06001759 RID: 5977 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001759")]
|
||||
[Address(RVA = "0x2BA7D40", Offset = "0x2BA6D40", VA = "0x182BA7D40")]
|
||||
public BufferedStream(Stream stream, int bufferSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175A RID: 5978 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175A")]
|
||||
[Address(RVA = "0x2BA5BC0", Offset = "0x2BA4BC0", VA = "0x182BA5BC0")]
|
||||
private void EnsureNotClosed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175B RID: 5979 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175B")]
|
||||
[Address(RVA = "0x2BA5B40", Offset = "0x2BA4B40", VA = "0x182BA5B40")]
|
||||
private void EnsureCanSeek()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175C RID: 5980 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175C")]
|
||||
[Address(RVA = "0x2BA5B00", Offset = "0x2BA4B00", VA = "0x182BA5B00")]
|
||||
private void EnsureCanRead()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175D RID: 5981 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175D")]
|
||||
[Address(RVA = "0x2BA5B80", Offset = "0x2BA4B80", VA = "0x182BA5B80")]
|
||||
private void EnsureCanWrite()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175E RID: 5982 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175E")]
|
||||
[Address(RVA = "0x2BA5A50", Offset = "0x2BA4A50", VA = "0x182BA5A50")]
|
||||
private void EnsureBeginEndAwaitableAllocated()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600175F RID: 5983 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600175F")]
|
||||
[Address(RVA = "0x2BA5BD0", Offset = "0x2BA4BD0", VA = "0x182BA5BD0")]
|
||||
private void EnsureShadowBufferAllocated()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001760 RID: 5984 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001760")]
|
||||
[Address(RVA = "0x2BA5AB0", Offset = "0x2BA4AB0", VA = "0x182BA5AB0")]
|
||||
private void EnsureBufferAllocated()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the current stream supports reading.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports reading; <see langword="false" /> if the stream is closed or was opened with write-only access.</returns>
|
||||
// Token: 0x170002C0 RID: 704
|
||||
// (get) Token: 0x06001761 RID: 5985 RVA: 0x00010428 File Offset: 0x0000E628
|
||||
[Token(Token = "0x170002C0")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6001761")]
|
||||
[Address(RVA = "0x2BA7F10", Offset = "0x2BA6F10", VA = "0x182BA7F10", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the current stream supports writing.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports writing; <see langword="false" /> if the stream is closed or was opened with read-only access.</returns>
|
||||
// Token: 0x170002C1 RID: 705
|
||||
// (get) Token: 0x06001762 RID: 5986 RVA: 0x00010440 File Offset: 0x0000E640
|
||||
[Token(Token = "0x170002C1")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6001762")]
|
||||
[Address(RVA = "0x2BA7F50", Offset = "0x2BA6F50", VA = "0x182BA7F50", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the current stream supports seeking.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports seeking; <see langword="false" /> if the stream is closed or if the stream was constructed from an operating system handle such as a pipe or output to the console.</returns>
|
||||
// Token: 0x170002C2 RID: 706
|
||||
// (get) Token: 0x06001763 RID: 5987 RVA: 0x00010458 File Offset: 0x0000E658
|
||||
[Token(Token = "0x170002C2")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6001763")]
|
||||
[Address(RVA = "0x2BA7F30", Offset = "0x2BA6F30", VA = "0x182BA7F30", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the stream length in bytes.</summary>
|
||||
/// <returns>The stream length in bytes.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">The underlying stream is <see langword="null" /> or closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x170002C3 RID: 707
|
||||
// (get) Token: 0x06001764 RID: 5988 RVA: 0x00010470 File Offset: 0x0000E670
|
||||
[Token(Token = "0x170002C3")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6001764")]
|
||||
[Address(RVA = "0x2BA7F70", Offset = "0x2BA6F70", VA = "0x182BA7F70", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the position within the current stream.</summary>
|
||||
/// <returns>The position within the current stream.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The value passed to <see cref="M:System.IO.BufferedStream.Seek(System.Int64,System.IO.SeekOrigin)" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs, such as the stream being closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x170002C4 RID: 708
|
||||
// (get) Token: 0x06001765 RID: 5989 RVA: 0x00010488 File Offset: 0x0000E688
|
||||
// (set) Token: 0x06001766 RID: 5990 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002C4")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6001765")]
|
||||
[Address(RVA = "0x2BA8000", Offset = "0x2BA7000", VA = "0x182BA8000", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
[Token(Token = "0x6001766")]
|
||||
[Address(RVA = "0x2BA8080", Offset = "0x2BA7080", VA = "0x182BA8080", Slot = "12")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001767 RID: 5991 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001767")]
|
||||
[Address(RVA = "0x2BA5800", Offset = "0x2BA4800", VA = "0x182BA5800", Slot = "16")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Clears all buffers for this stream and causes any buffered data to be written to the underlying device.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The data source or repository is not open.</exception>
|
||||
// Token: 0x06001768 RID: 5992 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001768")]
|
||||
[Address(RVA = "0x2BA6130", Offset = "0x2BA5130", VA = "0x182BA6130", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.</summary>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous flush operation.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
// Token: 0x06001769 RID: 5993 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001769")]
|
||||
[Address(RVA = "0x2BA5DB0", Offset = "0x2BA4DB0", VA = "0x182BA5DB0", Slot = "18")]
|
||||
public override Task FlushAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600176A RID: 5994 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600176A")]
|
||||
[Address(RVA = "0x2BA5C90", Offset = "0x2BA4C90", VA = "0x182BA5C90")]
|
||||
private static Task FlushAsyncInternal(CancellationToken cancellationToken, BufferedStream _this, Stream stream, int writePos, int readPos, int readLen)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600176B RID: 5995 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600176B")]
|
||||
[Address(RVA = "0x2BA5F90", Offset = "0x2BA4F90", VA = "0x182BA5F90")]
|
||||
private void FlushRead()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600176C RID: 5996 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600176C")]
|
||||
[Address(RVA = "0x2BA5730", Offset = "0x2BA4730", VA = "0x182BA5730")]
|
||||
private void ClearReadBufferBeforeWrite()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600176D RID: 5997 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600176D")]
|
||||
[Address(RVA = "0x2BA60D0", Offset = "0x2BA50D0", VA = "0x182BA60D0")]
|
||||
private void FlushWrite()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600176E RID: 5998 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600176E")]
|
||||
[Address(RVA = "0x2BA5FE0", Offset = "0x2BA4FE0", VA = "0x182BA5FE0")]
|
||||
private Task FlushWriteAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600176F RID: 5999 RVA: 0x000104A0 File Offset: 0x0000E6A0
|
||||
[Token(Token = "0x600176F")]
|
||||
[Address(RVA = "0x2BA6970", Offset = "0x2BA5970", VA = "0x182BA6970")]
|
||||
private int ReadFromBuffer(byte[] array, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001770 RID: 6000 RVA: 0x000104B8 File Offset: 0x0000E6B8
|
||||
[Token(Token = "0x6001770")]
|
||||
[Address(RVA = "0x2BA69D0", Offset = "0x2BA59D0", VA = "0x182BA69D0")]
|
||||
private int ReadFromBuffer(byte[] array, int offset, int count, out Exception error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Copies bytes from the current buffered stream to an array.</summary>
|
||||
/// <param name="array">The buffer to which bytes are to be copied.</param>
|
||||
/// <param name="offset">The byte offset in the buffer at which to begin reading bytes.</param>
|
||||
/// <param name="count">The number of bytes to be read.</param>
|
||||
/// <returns>The total number of bytes read into <paramref name="array" />. This can be less than the number of bytes requested if that many bytes are not currently available, or 0 if the end of the stream has been reached before any data can be read.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">Length of <paramref name="array" /> minus <paramref name="offset" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is not open or is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001771 RID: 6001 RVA: 0x000104D0 File Offset: 0x0000E6D0
|
||||
[Token(Token = "0x6001771")]
|
||||
[Address(RVA = "0x2BA6BE0", Offset = "0x2BA5BE0", VA = "0x182BA6BE0", Slot = "27")]
|
||||
public override int Read([In] [Out] byte[] array, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Begins an asynchronous read operation. (Consider using <see cref="M:System.IO.BufferedStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
|
||||
/// <param name="buffer">The buffer to read the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data read from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="callback">An optional asynchronous callback, to be called when the read is complete.</param>
|
||||
/// <param name="state">A user-provided object that distinguishes this particular asynchronous read request from other requests.</param>
|
||||
/// <returns>An object that represents the asynchronous read, which could still be pending.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">Attempted an asynchronous read past the end of the stream.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="offset" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current stream does not support the read operation.</exception>
|
||||
// Token: 0x06001772 RID: 6002 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001772")]
|
||||
[Address(RVA = "0x2BA4DD0", Offset = "0x2BA3DD0", VA = "0x182BA4DD0", Slot = "19")]
|
||||
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001773 RID: 6003 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001773")]
|
||||
[Address(RVA = "0x2BA4D00", Offset = "0x2BA3D00", VA = "0x182BA4D00")]
|
||||
private IAsyncResult BeginReadFromUnderlyingStream(byte[] buffer, int offset, int count, AsyncCallback callback, object state, int bytesAlreadySatisfied, Task semaphoreLockTask)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Waits for the pending asynchronous read operation to complete. (Consider using <see cref="M:System.IO.BufferedStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
|
||||
/// <param name="asyncResult">The reference to the pending asynchronous request to wait for.</param>
|
||||
/// <returns>The number of bytes read from the stream, between 0 (zero) and the number of bytes you requested. Streams only return 0 only at the end of the stream, otherwise, they should block until at least 1 byte is available.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">This <see cref="T:System.IAsyncResult" /> object was not created by calling <see cref="M:System.IO.BufferedStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> on this class.</exception>
|
||||
// Token: 0x06001774 RID: 6004 RVA: 0x000104E8 File Offset: 0x0000E6E8
|
||||
[Token(Token = "0x6001774")]
|
||||
[Address(RVA = "0x2BA5930", Offset = "0x2BA4930", VA = "0x182BA5930", Slot = "20")]
|
||||
public override int EndRead(IAsyncResult asyncResult)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001775 RID: 6005 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001775")]
|
||||
[Address(RVA = "0x2BA62E0", Offset = "0x2BA52E0", VA = "0x182BA62E0")]
|
||||
private Task<int> LastSyncCompletedReadTask(int val)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation.</exception>
|
||||
// Token: 0x06001776 RID: 6006 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001776")]
|
||||
[Address(RVA = "0x2BA6380", Offset = "0x2BA5380", VA = "0x182BA6380", Slot = "21")]
|
||||
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001777 RID: 6007 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001777")]
|
||||
[Address(RVA = "0x2BA6A90", Offset = "0x2BA5A90", VA = "0x182BA6A90")]
|
||||
private Task<int> ReadFromUnderlyingStreamAsync(byte[] array, int offset, int count, CancellationToken cancellationToken, int bytesAlreadySatisfied, Task semaphoreLockTask, bool useApmPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads a byte from the underlying stream and returns the byte cast to an <see langword="int" />, or returns -1 if reading from the end of the stream.</summary>
|
||||
/// <returns>The byte cast to an <see langword="int" />, or -1 if reading from the end of the stream.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs, such as the stream being closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001778 RID: 6008 RVA: 0x00010500 File Offset: 0x0000E700
|
||||
[Token(Token = "0x6001778")]
|
||||
[Address(RVA = "0x2BA6810", Offset = "0x2BA5810", VA = "0x182BA6810", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001779 RID: 6009 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001779")]
|
||||
[Address(RVA = "0x2BA7750", Offset = "0x2BA6750", VA = "0x182BA7750")]
|
||||
private void WriteToBuffer(byte[] array, ref int offset, ref int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600177A RID: 6010 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600177A")]
|
||||
[Address(RVA = "0x2BA76C0", Offset = "0x2BA66C0", VA = "0x182BA76C0")]
|
||||
private void WriteToBuffer(byte[] array, ref int offset, ref int count, out Exception error)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies bytes to the buffered stream and advances the current position within the buffered stream by the number of bytes written.</summary>
|
||||
/// <param name="array">The byte array from which to copy <paramref name="count" /> bytes to the current buffered stream.</param>
|
||||
/// <param name="offset">The offset in the buffer at which to begin copying bytes to the current buffered stream.</param>
|
||||
/// <param name="count">The number of bytes to be written to the current buffered stream.</param>
|
||||
/// <exception cref="T:System.ArgumentException">Length of <paramref name="array" /> minus <paramref name="offset" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is closed or <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x0600177B RID: 6011 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600177B")]
|
||||
[Address(RVA = "0x2BA7980", Offset = "0x2BA6980", VA = "0x182BA7980", Slot = "29")]
|
||||
public override void Write(byte[] array, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Begins an asynchronous write operation. (Consider using <see cref="M:System.IO.BufferedStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
|
||||
/// <param name="buffer">The buffer containing data to write to the current stream.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="callback">The method to be called when the asynchronous write operation is completed.</param>
|
||||
/// <param name="state">A user-provided object that distinguishes this particular asynchronous write request from other requests.</param>
|
||||
/// <returns>An object that references the asynchronous write which could still be pending.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="buffer" /> length minus <paramref name="offset" /> 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="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
// Token: 0x0600177C RID: 6012 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600177C")]
|
||||
[Address(RVA = "0x2BA52E0", Offset = "0x2BA42E0", VA = "0x182BA52E0", Slot = "22")]
|
||||
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600177D RID: 6013 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600177D")]
|
||||
[Address(RVA = "0x2BA5220", Offset = "0x2BA4220", VA = "0x182BA5220")]
|
||||
private IAsyncResult BeginWriteToUnderlyingStream(byte[] buffer, int offset, int count, AsyncCallback callback, object state, Task semaphoreLockTask)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Ends an asynchronous write operation and blocks until the I/O operation is complete. (Consider using <see cref="M:System.IO.BufferedStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
|
||||
/// <param name="asyncResult">The pending asynchronous request.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">This <see cref="T:System.IAsyncResult" /> object was not created by calling <see cref="M:System.IO.BufferedStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> on this class.</exception>
|
||||
// Token: 0x0600177E RID: 6014 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600177E")]
|
||||
[Address(RVA = "0x2BA59C0", Offset = "0x2BA49C0", VA = "0x182BA59C0", Slot = "23")]
|
||||
public override void EndWrite(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous write operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation.</exception>
|
||||
// Token: 0x0600177F RID: 6015 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600177F")]
|
||||
[Address(RVA = "0x2BA7150", Offset = "0x2BA6150", VA = "0x182BA7150", Slot = "24")]
|
||||
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001780 RID: 6016 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001780")]
|
||||
[Address(RVA = "0x2BA7850", Offset = "0x2BA6850", VA = "0x182BA7850")]
|
||||
private Task WriteToUnderlyingStreamAsync(byte[] array, int offset, int count, CancellationToken cancellationToken, Task semaphoreLockTask, bool useApmPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Writes a byte to the current position in the buffered stream.</summary>
|
||||
/// <param name="value">A byte to write to the stream.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001781 RID: 6017 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001781")]
|
||||
[Address(RVA = "0x2BA7590", Offset = "0x2BA6590", VA = "0x182BA7590", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the position within the current buffered stream.</summary>
|
||||
/// <param name="offset">A byte offset relative to <paramref name="origin" />.</param>
|
||||
/// <param name="origin">A value of type <see cref="T:System.IO.SeekOrigin" /> indicating the reference point from which to obtain the new position.</param>
|
||||
/// <returns>The new position within the current buffered stream.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is not open or is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001782 RID: 6018 RVA: 0x00010518 File Offset: 0x0000E718
|
||||
[Token(Token = "0x6001782")]
|
||||
[Address(RVA = "0x2BA6EB0", Offset = "0x2BA5EB0", VA = "0x182BA6EB0", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Sets the length of the buffered stream.</summary>
|
||||
/// <param name="value">An integer indicating the desired length of the current buffered stream in bytes.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="value" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is not open or is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support both writing and seeking.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001783 RID: 6019 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001783")]
|
||||
[Address(RVA = "0x2BA7030", Offset = "0x2BA6030", VA = "0x182BA7030", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000C8D RID: 3213
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000C8D")]
|
||||
private Stream _stream;
|
||||
|
||||
// Token: 0x04000C8E RID: 3214
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000C8E")]
|
||||
private byte[] _buffer;
|
||||
|
||||
// Token: 0x04000C8F RID: 3215
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000C8F")]
|
||||
private readonly int _bufferSize;
|
||||
|
||||
// Token: 0x04000C90 RID: 3216
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x4000C90")]
|
||||
private int _readPos;
|
||||
|
||||
// Token: 0x04000C91 RID: 3217
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000C91")]
|
||||
private int _readLen;
|
||||
|
||||
// Token: 0x04000C92 RID: 3218
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
||||
[Token(Token = "0x4000C92")]
|
||||
private int _writePos;
|
||||
|
||||
// Token: 0x04000C93 RID: 3219
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000C93")]
|
||||
private BeginEndAwaitableAdapter _beginEndAwaitable;
|
||||
|
||||
// Token: 0x04000C94 RID: 3220
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000C94")]
|
||||
private Task<int> _lastSyncCompletedReadTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C8 RID: 712
|
||||
[Token(Token = "0x20002C8")]
|
||||
internal class CStreamReader : StreamReader
|
||||
{
|
||||
// Token: 0x06001A4A RID: 6730 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A4A")]
|
||||
[Address(RVA = "0x2BA8520", Offset = "0x2BA7520", VA = "0x182BA8520")]
|
||||
public CStreamReader(Stream stream, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A4B RID: 6731 RVA: 0x00011568 File Offset: 0x0000F768
|
||||
[Token(Token = "0x6001A4B")]
|
||||
[Address(RVA = "0x2BA81C0", Offset = "0x2BA71C0", VA = "0x182BA81C0", Slot = "9")]
|
||||
public override int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A4C RID: 6732 RVA: 0x00011580 File Offset: 0x0000F780
|
||||
[Token(Token = "0x6001A4C")]
|
||||
[Address(RVA = "0x2BA84A0", Offset = "0x2BA74A0", VA = "0x182BA84A0", Slot = "10")]
|
||||
public override int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A4D RID: 6733 RVA: 0x00011598 File Offset: 0x0000F798
|
||||
[Token(Token = "0x6001A4D")]
|
||||
[Address(RVA = "0x2BA8310", Offset = "0x2BA7310", VA = "0x182BA8310", Slot = "11")]
|
||||
public override int Read([In] [Out] char[] dest, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A4E RID: 6734 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A4E")]
|
||||
[Address(RVA = "0x2BA8230", Offset = "0x2BA7230", VA = "0x182BA8230", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A4F RID: 6735 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A4F")]
|
||||
[Address(RVA = "0x2BA82A0", Offset = "0x2BA72A0", VA = "0x182BA82A0", Slot = "12")]
|
||||
public override string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000DE2 RID: 3554
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000DE2")]
|
||||
private TermInfoDriver driver;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C9 RID: 713
|
||||
[Token(Token = "0x20002C9")]
|
||||
internal class CStreamWriter : StreamWriter
|
||||
{
|
||||
// Token: 0x06001A50 RID: 6736 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A50")]
|
||||
[Address(RVA = "0x2BA8C10", Offset = "0x2BA7C10", VA = "0x182BA8C10")]
|
||||
public CStreamWriter(Stream stream, Encoding encoding, bool leaveOpen)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A51 RID: 6737 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A51")]
|
||||
[Address(RVA = "0x2BA8840", Offset = "0x2BA7840", VA = "0x182BA8840", Slot = "15")]
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A52 RID: 6738 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A52")]
|
||||
[Address(RVA = "0x2BA8AA0", Offset = "0x2BA7AA0", VA = "0x182BA8AA0", Slot = "13")]
|
||||
public override void Write(char val)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A53 RID: 6739 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A53")]
|
||||
[Address(RVA = "0x2BA8710", Offset = "0x2BA7710", VA = "0x182BA8710")]
|
||||
public void InternalWriteString(string val)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A54 RID: 6740 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A54")]
|
||||
[Address(RVA = "0x2BA8620", Offset = "0x2BA7620", VA = "0x182BA8620")]
|
||||
public void InternalWriteChar(char val)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A55 RID: 6741 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A55")]
|
||||
[Address(RVA = "0x2BA8690", Offset = "0x2BA7690", VA = "0x182BA8690")]
|
||||
public void InternalWriteChars(char[] buffer, int n)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A56 RID: 6742 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A56")]
|
||||
[Address(RVA = "0x2BA8BD0", Offset = "0x2BA7BD0", VA = "0x182BA8BD0", Slot = "14")]
|
||||
public override void Write(char[] val)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A57 RID: 6743 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A57")]
|
||||
[Address(RVA = "0x2BA8780", Offset = "0x2BA7780", VA = "0x182BA8780", Slot = "18")]
|
||||
public override void Write(string val)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000DE3 RID: 3555
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000DE3")]
|
||||
private TermInfoDriver driver;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,483 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Exposes static methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.</summary>
|
||||
// Token: 0x02000288 RID: 648
|
||||
[Token(Token = "0x2000288")]
|
||||
[ComVisible(true)]
|
||||
public static class Directory
|
||||
{
|
||||
/// <summary>Returns the names of files (including their paths) in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <returns>An array of the full names (including paths) for the files in the specified directory, or an empty array if no files are found.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.
|
||||
/// -or-
|
||||
/// A network error has occurred.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600178C RID: 6028 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600178C")]
|
||||
[Address(RVA = "0x2BAB820", Offset = "0x2BAA820", VA = "0x182BAB820")]
|
||||
public static string[] GetFiles(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of files (including their paths) that match the specified search pattern in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of the full names (including paths) for the files in the specified directory that match the specified search pattern, or an empty array if no files are found.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.
|
||||
/// -or-
|
||||
/// A network error has occurred.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using <see cref="M:System.IO.Path.GetInvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> doesn't contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600178D RID: 6029 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600178D")]
|
||||
[Address(RVA = "0x2BAB620", Offset = "0x2BAA620", VA = "0x182BAB620")]
|
||||
public static string[] GetFiles(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of files (including their paths) that match the specified search pattern in the specified directory, using a value to determine whether to search subdirectories.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.</param>
|
||||
/// <returns>An array of the full names (including paths) for the files in the specified directory that match the specified search pattern and option, or an empty array if no files are found.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchpattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is not found or is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.
|
||||
/// -or-
|
||||
/// A network error has occurred.</exception>
|
||||
// Token: 0x0600178E RID: 6030 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600178E")]
|
||||
[Address(RVA = "0x2BAB6F0", Offset = "0x2BAA6F0", VA = "0x182BAB6F0")]
|
||||
public static string[] GetFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600178F RID: 6031 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600178F")]
|
||||
[Address(RVA = "0x2BABCD0", Offset = "0x2BAACD0", VA = "0x182BABCD0")]
|
||||
private static string[] InternalGetFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of subdirectories (including their paths) in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <returns>An array of the full names (including paths) of subdirectories in the specified path, or an empty array if no directories are found.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001790 RID: 6032 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001790")]
|
||||
[Address(RVA = "0x2BAB4C0", Offset = "0x2BAA4C0", VA = "0x182BAB4C0")]
|
||||
public static string[] GetDirectories(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of subdirectories (including their paths) that match the specified search pattern in the specified directory.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of the full names (including paths) of the subdirectories that match the search pattern in the specified directory, or an empty array if no directories are found.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using <see cref="M:System.IO.Path.GetInvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> doesn't contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001791 RID: 6033 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001791")]
|
||||
[Address(RVA = "0x2BAB3F0", Offset = "0x2BAA3F0", VA = "0x182BAB3F0")]
|
||||
public static string[] GetDirectories(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the names of the subdirectories (including their paths) that match the specified search pattern in the specified directory, and optionally searches subdirectories.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of subdirectories in <paramref name="path" />. This parameter can contain a combination of valid literal and wildcard characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include all subdirectories or only the current directory.</param>
|
||||
/// <returns>An array of the full names (including paths) of the subdirectories that match the specified criteria, or an empty array if no directories are found.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001792 RID: 6034 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001792")]
|
||||
[Address(RVA = "0x2BAB2C0", Offset = "0x2BAA2C0", VA = "0x182BAB2C0")]
|
||||
public static string[] GetDirectories(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001793 RID: 6035 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001793")]
|
||||
[Address(RVA = "0x2BABBA0", Offset = "0x2BAABA0", VA = "0x182BABBA0")]
|
||||
private static string[] InternalGetDirectories(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an array of file names and directory names that match a search pattern in a specified path.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of file and directories in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of file names and directory names that match the specified search criteria, or an empty array if no files or directories are found.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001794 RID: 6036 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001794")]
|
||||
[Address(RVA = "0x2BAB550", Offset = "0x2BAA550", VA = "0x182BAB550")]
|
||||
public static string[] GetFileSystemEntries(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001795 RID: 6037 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001795")]
|
||||
[Address(RVA = "0x2BABCA0", Offset = "0x2BAACA0", VA = "0x182BABCA0")]
|
||||
private static string[] InternalGetFileSystemEntries(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001796 RID: 6038 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001796")]
|
||||
[Address(RVA = "0x2BABBD0", Offset = "0x2BAABD0", VA = "0x182BABBD0")]
|
||||
internal static string[] InternalGetFileDirectoryNames(string path, string userPathOriginal, string searchPattern, bool includeFiles, bool includeDirs, SearchOption searchOption, bool checkHost)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerable collection of file names that match a search pattern in a specified path.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An enumerable collection of the full names (including paths) for the files in the directory specified by <paramref name="path" /> and that match the specified search pattern.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> is invalid, such as referring to an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or combined exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001797 RID: 6039 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001797")]
|
||||
[Address(RVA = "0x2BAAD50", Offset = "0x2BA9D50", VA = "0x182BAAD50")]
|
||||
public static IEnumerable<string> EnumerateFiles(string path, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an enumerable collection of file names that match a search pattern in a specified path, and optionally searches subdirectories.</summary>
|
||||
/// <param name="path">The relative or absolute path to the directory to search. This string is not case-sensitive.</param>
|
||||
/// <param name="searchPattern">The search string to match against the names of files in <paramref name="path" />. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include only the current directory or should include all subdirectories.
|
||||
/// The default value is <see cref="F:System.IO.SearchOption.TopDirectoryOnly" />.</param>
|
||||
/// <returns>An enumerable collection of the full names (including paths) for the files in the directory specified by <paramref name="path" /> and that match the specified search pattern and option.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> does not contain a valid pattern.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.
|
||||
/// -or-
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> is invalid, such as referring to an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> is a file name.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or combined exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001798 RID: 6040 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001798")]
|
||||
[Address(RVA = "0x2BAAE20", Offset = "0x2BA9E20", VA = "0x182BAAE20")]
|
||||
public static IEnumerable<string> EnumerateFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001799 RID: 6041 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001799")]
|
||||
[Address(RVA = "0x2BABB70", Offset = "0x2BAAB70", VA = "0x182BABB70")]
|
||||
private static IEnumerable<string> InternalEnumerateFiles(string path, string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600179A RID: 6042 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600179A")]
|
||||
[Address(RVA = "0x2BAAD20", Offset = "0x2BA9D20", VA = "0x182BAAD20")]
|
||||
private static IEnumerable<string> EnumerateFileSystemNames(string path, string searchPattern, SearchOption searchOption, bool includeFiles, bool includeDirs)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates all directories and subdirectories in the specified path unless they already exist.</summary>
|
||||
/// <param name="path">The directory to create.</param>
|
||||
/// <returns>An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">The directory specified by <paramref name="path" /> is a file.
|
||||
/// -or-
|
||||
/// The network name is not known.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> is prefixed with, or contains, only a colon character (:).</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> contains a colon character (:) that is not part of a drive label ("C:\").</exception>
|
||||
// Token: 0x0600179B RID: 6043 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600179B")]
|
||||
[Address(RVA = "0x2BAA850", Offset = "0x2BA9850", VA = "0x182BAA850")]
|
||||
public static DirectoryInfo CreateDirectory(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600179C RID: 6044 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600179C")]
|
||||
[Address(RVA = "0x2BAA6A0", Offset = "0x2BA96A0", VA = "0x182BAA6A0")]
|
||||
private static DirectoryInfo CreateDirectoriesInternal(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Deletes an empty directory from a specified path.</summary>
|
||||
/// <param name="path">The name of the empty directory to remove. This directory must be writable and empty.</param>
|
||||
/// <exception cref="T:System.IO.IOException">A file with the same name and location specified by <paramref name="path" /> exists.
|
||||
/// -or-
|
||||
/// The directory is the application's current working directory.
|
||||
/// -or-
|
||||
/// The directory specified by <paramref name="path" /> is not empty.
|
||||
/// -or-
|
||||
/// The directory is read-only or contains a read-only file.
|
||||
/// -or-
|
||||
/// The directory is being used by another process.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> does not exist or could not be found.
|
||||
/// -or-
|
||||
/// The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600179D RID: 6045 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600179D")]
|
||||
[Address(RVA = "0x2BAAA80", Offset = "0x2BA9A80", VA = "0x182BAAA80")]
|
||||
public static void Delete(string path)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600179E RID: 6046 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600179E")]
|
||||
[Address(RVA = "0x2BABDE0", Offset = "0x2BAADE0", VA = "0x182BABDE0")]
|
||||
private static void RecursiveDelete(string path)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Deletes the specified directory and, if indicated, any subdirectories and files in the directory.</summary>
|
||||
/// <param name="path">The name of the directory to remove.</param>
|
||||
/// <param name="recursive">
|
||||
/// <see langword="true" /> to remove directories, subdirectories, and files in <paramref name="path" />; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.IO.IOException">A file with the same name and location specified by <paramref name="path" /> exists.
|
||||
/// -or-
|
||||
/// The directory specified by <paramref name="path" /> is read-only, or <paramref name="recursive" /> is <see langword="false" /> and <paramref name="path" /> is not an empty directory.
|
||||
/// -or-
|
||||
/// The directory is the application's current working directory.
|
||||
/// -or-
|
||||
/// The directory contains a read-only file.
|
||||
/// -or-
|
||||
/// The directory is being used by another process.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters by using the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> does not exist or could not be found.
|
||||
/// -or-
|
||||
/// The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x0600179F RID: 6047 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600179F")]
|
||||
[Address(RVA = "0x2BAAC90", Offset = "0x2BA9C90", VA = "0x182BAAC90")]
|
||||
public static void Delete(string path, bool recursive)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the given path refers to an existing directory on disk.</summary>
|
||||
/// <param name="path">The path to test.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="path" /> refers to an existing directory; <see langword="false" /> if the directory does not exist or an error occurs when trying to determine if the specified directory exists.</returns>
|
||||
// Token: 0x060017A0 RID: 6048 RVA: 0x00010530 File Offset: 0x0000E730
|
||||
[Token(Token = "0x60017A0")]
|
||||
[Address(RVA = "0x2BAAF50", Offset = "0x2BA9F50", VA = "0x182BAAF50")]
|
||||
public static bool Exists(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets the current working directory of the application.</summary>
|
||||
/// <returns>A string that contains the absolute path of the current working directory, and does not end with a backslash (\).</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The operating system is Windows CE, which does not have current directory functionality.
|
||||
/// This method is available in the .NET Compact Framework, but is not currently supported.</exception>
|
||||
// Token: 0x060017A1 RID: 6049 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017A1")]
|
||||
[Address(RVA = "0x2BAB020", Offset = "0x2BAA020", VA = "0x182BAB020")]
|
||||
public static string GetCurrentDirectory()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017A2 RID: 6050 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017A2")]
|
||||
[Address(RVA = "0x2BABAD0", Offset = "0x2BAAAD0", VA = "0x182BABAD0")]
|
||||
internal static string InsecureGetCurrentDirectory()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017A3 RID: 6051 RVA: 0x00010548 File Offset: 0x0000E748
|
||||
[Token(Token = "0x60017A3")]
|
||||
[Address(RVA = "0x2BABD00", Offset = "0x2BAAD00", VA = "0x182BABD00")]
|
||||
private static bool IsRootDirectory(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Retrieves the parent directory of the specified path, including both absolute and relative paths.</summary>
|
||||
/// <param name="path">The path for which to retrieve the parent directory.</param>
|
||||
/// <returns>The parent directory, or <see langword="null" /> if <paramref name="path" /> is the root directory, including the root of a UNC server or share name.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">The directory specified by <paramref name="path" /> is read-only.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters. You can query for invalid characters with the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length. For more information, see the <see cref="T:System.IO.PathTooLongException" /> topic.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">.NET Framework only: The caller does not have the required permissions.</exception>
|
||||
// Token: 0x060017A4 RID: 6052 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017A4")]
|
||||
[Address(RVA = "0x2BAB8B0", Offset = "0x2BAA8B0", VA = "0x182BAB8B0")]
|
||||
public static DirectoryInfo GetParent(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017A5 RID: 6053 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017A5")]
|
||||
[Address(RVA = "0x2BAB0C0", Offset = "0x2BAA0C0", VA = "0x182BAB0C0")]
|
||||
internal static string GetDemandDir(string fullPath, bool thisDirOnly)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x02000289 RID: 649
|
||||
[Token(Token = "0x2000289")]
|
||||
internal sealed class SearchData
|
||||
{
|
||||
// Token: 0x060017A6 RID: 6054 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017A6")]
|
||||
[Address(RVA = "0x6E7930", Offset = "0x6E6930", VA = "0x1806E7930")]
|
||||
public SearchData(string fullPath, string userPath, SearchOption searchOption)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CC0 RID: 3264
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CC0")]
|
||||
public readonly string fullPath;
|
||||
|
||||
// Token: 0x04000CC1 RID: 3265
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CC1")]
|
||||
public readonly string userPath;
|
||||
|
||||
// Token: 0x04000CC2 RID: 3266
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000CC2")]
|
||||
public readonly SearchOption searchOption;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,313 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Exposes instance methods for creating, moving, and enumerating through directories and subdirectories. This class cannot be inherited.</summary>
|
||||
// Token: 0x020002B2 RID: 690
|
||||
[Token(Token = "0x20002B2")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class DirectoryInfo : FileSystemInfo
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DirectoryInfo" /> class on the specified path.</summary>
|
||||
/// <param name="path">A string specifying the path on which to create the <see langword="DirectoryInfo" />.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains invalid characters such as ", <, >, or |.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
// Token: 0x06001958 RID: 6488 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001958")]
|
||||
[Address(RVA = "0x2BAA2F0", Offset = "0x2BA92F0", VA = "0x182BAA2F0")]
|
||||
public DirectoryInfo(string path)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001959 RID: 6489 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001959")]
|
||||
[Address(RVA = "0x2BAA330", Offset = "0x2BA9330", VA = "0x182BAA330")]
|
||||
internal DirectoryInfo(string path, bool simpleOriginalPath)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600195A RID: 6490 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600195A")]
|
||||
[Address(RVA = "0x2BAA300", Offset = "0x2BA9300", VA = "0x182BAA300")]
|
||||
private DirectoryInfo(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600195B RID: 6491 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600195B")]
|
||||
[Address(RVA = "0x2BA9EB0", Offset = "0x2BA8EB0", VA = "0x182BA9EB0")]
|
||||
private void Initialize()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the directory exists.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the directory exists; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x1700030D RID: 781
|
||||
// (get) Token: 0x0600195C RID: 6492 RVA: 0x00010CF8 File Offset: 0x0000EEF8
|
||||
[Token(Token = "0x1700030D")]
|
||||
public override bool Exists
|
||||
{
|
||||
[Token(Token = "0x600195C")]
|
||||
[Address(RVA = "0x2BAA560", Offset = "0x2BA9560", VA = "0x182BAA560", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the name of this <see cref="T:System.IO.DirectoryInfo" /> instance.</summary>
|
||||
/// <returns>The directory name.</returns>
|
||||
// Token: 0x1700030E RID: 782
|
||||
// (get) Token: 0x0600195D RID: 6493 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700030E")]
|
||||
public override string Name
|
||||
{
|
||||
[Token(Token = "0x600195D")]
|
||||
[Address(RVA = "0x417720", Offset = "0x416720", VA = "0x180417720", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the parent directory of a specified subdirectory.</summary>
|
||||
/// <returns>The parent directory, or <see langword="null" /> if the path is null or if the file path denotes a root (such as "\", "C:", or * "\\server\share").</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x1700030F RID: 783
|
||||
// (get) Token: 0x0600195E RID: 6494 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700030F")]
|
||||
public DirectoryInfo Parent
|
||||
{
|
||||
[Token(Token = "0x600195E")]
|
||||
[Address(RVA = "0x2BAA5A0", Offset = "0x2BA95A0", VA = "0x182BAA5A0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a directory.</summary>
|
||||
/// <exception cref="T:System.IO.IOException">The directory cannot be created.</exception>
|
||||
// Token: 0x0600195F RID: 6495 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600195F")]
|
||||
[Address(RVA = "0x2BA8EF0", Offset = "0x2BA7EF0", VA = "0x182BA8EF0")]
|
||||
public void Create()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns a file list from the current directory.</summary>
|
||||
/// <returns>An array of type <see cref="T:System.IO.FileInfo" />.</returns>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path is invalid, such as being on an unmapped drive.</exception>
|
||||
// Token: 0x06001960 RID: 6496 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001960")]
|
||||
[Address(RVA = "0x2BA9970", Offset = "0x2BA8970", VA = "0x182BA9970")]
|
||||
public FileInfo[] GetFiles()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns a file list from the current directory matching the given search pattern.</summary>
|
||||
/// <param name="searchPattern">The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of type <see cref="T:System.IO.FileInfo" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="searchPattern" /> contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001961 RID: 6497 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001961")]
|
||||
[Address(RVA = "0x2BA9D20", Offset = "0x2BA8D20", VA = "0x182BA9D20")]
|
||||
public FileInfo[] GetFiles(string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the subdirectories of the current directory.</summary>
|
||||
/// <returns>An array of <see cref="T:System.IO.DirectoryInfo" /> objects.</returns>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path encapsulated in the <see cref="T:System.IO.DirectoryInfo" /> object is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001962 RID: 6498 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001962")]
|
||||
[Address(RVA = "0x2BA9000", Offset = "0x2BA8000", VA = "0x182BA9000")]
|
||||
public DirectoryInfo[] GetDirectories()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an array of directories in the current <see cref="T:System.IO.DirectoryInfo" /> matching the given search criteria.</summary>
|
||||
/// <param name="searchPattern">The search string to match against the names of directories. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of type <see langword="DirectoryInfo" /> matching <paramref name="searchPattern" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="searchPattern" /> contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path encapsulated in the <see langword="DirectoryInfo" /> object is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001963 RID: 6499 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001963")]
|
||||
[Address(RVA = "0x2BA91B0", Offset = "0x2BA81B0", VA = "0x182BA91B0")]
|
||||
public DirectoryInfo[] GetDirectories(string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns an array of strongly typed <see cref="T:System.IO.FileSystemInfo" /> entries representing all the files and subdirectories in a directory.</summary>
|
||||
/// <returns>An array of strongly typed <see cref="T:System.IO.FileSystemInfo" /> entries.</returns>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
// Token: 0x06001964 RID: 6500 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001964")]
|
||||
[Address(RVA = "0x2BA95B0", Offset = "0x2BA85B0", VA = "0x182BA95B0")]
|
||||
public FileSystemInfo[] GetFileSystemInfos()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves an array of strongly typed <see cref="T:System.IO.FileSystemInfo" /> objects representing the files and subdirectories that match the specified search criteria.</summary>
|
||||
/// <param name="searchPattern">The search string to match against the names of directories and files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <returns>An array of strongly typed <see langword="FileSystemInfo" /> objects matching the search criteria.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="searchPattern" /> contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001965 RID: 6501 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001965")]
|
||||
[Address(RVA = "0x2BA94A0", Offset = "0x2BA84A0", VA = "0x182BA94A0")]
|
||||
public FileSystemInfo[] GetFileSystemInfos(string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Retrieves an array of <see cref="T:System.IO.FileSystemInfo" /> objects that represent the files and subdirectories matching the specified search criteria.</summary>
|
||||
/// <param name="searchPattern">The search string to match against the names of directories and filesa. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories. The default value is <see cref="F:System.IO.SearchOption.TopDirectoryOnly" />.</param>
|
||||
/// <returns>An array of file system entries that match the search criteria.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="searchPattern" /> contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001966 RID: 6502 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001966")]
|
||||
[Address(RVA = "0x2BA9340", Offset = "0x2BA8340", VA = "0x182BA9340")]
|
||||
public FileSystemInfo[] GetFileSystemInfos(string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001967 RID: 6503 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001967")]
|
||||
[Address(RVA = "0x2BAA140", Offset = "0x2BA9140", VA = "0x182BAA140")]
|
||||
private void InternalGetFileSystemInfos(string searchPattern, SearchOption searchOption, List<FileSystemInfo> infos)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Deletes this <see cref="T:System.IO.DirectoryInfo" /> if it is empty.</summary>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The directory contains a read-only file.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The directory described by this <see cref="T:System.IO.DirectoryInfo" /> object does not exist or could not be found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The directory is not empty.
|
||||
/// -or-
|
||||
/// The directory is the application's current working directory.
|
||||
/// -or-
|
||||
/// There is an open handle on the directory, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories. For more information, see How to: Enumerate Directories and Files.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001968 RID: 6504 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001968")]
|
||||
[Address(RVA = "0x2BA8F90", Offset = "0x2BA7F90", VA = "0x182BA8F90", Slot = "10")]
|
||||
public override void Delete()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Deletes this instance of a <see cref="T:System.IO.DirectoryInfo" />, specifying whether to delete subdirectories and files.</summary>
|
||||
/// <param name="recursive">
|
||||
/// <see langword="true" /> to delete this directory, its subdirectories, and all files; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The directory contains a read-only file.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The directory described by this <see cref="T:System.IO.DirectoryInfo" /> object does not exist or could not be found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The directory is read-only.
|
||||
/// -or-
|
||||
/// The directory contains one or more files or subdirectories and <paramref name="recursive" /> is <see langword="false" />.
|
||||
/// -or-
|
||||
/// The directory is the application's current working directory.
|
||||
/// -or-
|
||||
/// There is an open handle on the directory or on one of its files, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001969 RID: 6505 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001969")]
|
||||
[Address(RVA = "0x2BA8F00", Offset = "0x2BA7F00", VA = "0x182BA8F00")]
|
||||
public void Delete(bool recursive)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns the original path that was passed by the user.</summary>
|
||||
/// <returns>The original path that was passed by the user.</returns>
|
||||
// Token: 0x0600196A RID: 6506 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600196A")]
|
||||
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600196B RID: 6507 RVA: 0x00010D10 File Offset: 0x0000EF10
|
||||
[Token(Token = "0x600196B")]
|
||||
[Address(RVA = "0x2BA96E0", Offset = "0x2BA86E0", VA = "0x182BA96E0")]
|
||||
internal int GetFilesSubdirs(ArrayList l, string pattern)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Returns a file list from the current directory matching the given search pattern and using a value to determine whether to search subdirectories.</summary>
|
||||
/// <param name="searchPattern">The search string to match against the names of files. This parameter can contain a combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.</param>
|
||||
/// <param name="searchOption">One of the enumeration values that specifies whether the search operation should include only the current directory or all subdirectories.</param>
|
||||
/// <returns>An array of type <see cref="T:System.IO.FileInfo" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="searchPattern" /> contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="searchPattern" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="searchOption" /> is not a valid <see cref="T:System.IO.SearchOption" /> value.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x0600196C RID: 6508 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600196C")]
|
||||
[Address(RVA = "0x2BA99B0", Offset = "0x2BA89B0", VA = "0x182BA99B0")]
|
||||
public FileInfo[] GetFiles(string searchPattern, SearchOption searchOption)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600196D RID: 6509 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600196D")]
|
||||
[Address(RVA = "0x2BA8D80", Offset = "0x2BA7D80", VA = "0x182BA8D80")]
|
||||
internal void CheckPath(string path)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000D56 RID: 3414
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000D56")]
|
||||
private string current;
|
||||
|
||||
// Token: 0x04000D57 RID: 3415
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000D57")]
|
||||
private string parent;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when part of a file or directory cannot be found.</summary>
|
||||
// Token: 0x0200028A RID: 650
|
||||
[Token(Token = "0x200028A")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class DirectoryNotFoundException : IOException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DirectoryNotFoundException" /> class with its message string set to a system-supplied message and its HRESULT set to COR_E_DIRECTORYNOTFOUND.</summary>
|
||||
// Token: 0x060017A7 RID: 6055 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017A7")]
|
||||
[Address(RVA = "0x2BAA610", Offset = "0x2BA9610", VA = "0x182BAA610")]
|
||||
public DirectoryNotFoundException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DirectoryNotFoundException" /> class with its message string set to <paramref name="message" /> and its HRESULT set to COR_E_DIRECTORYNOTFOUND.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x060017A8 RID: 6056 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017A8")]
|
||||
[Address(RVA = "0x2BAA670", Offset = "0x2BA9670", VA = "0x182BAA670")]
|
||||
public DirectoryNotFoundException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DirectoryNotFoundException" /> class with the specified serialization and context information.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x060017A9 RID: 6057 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017A9")]
|
||||
[Address(RVA = "0x71ABC0", Offset = "0x719BC0", VA = "0x18071ABC0")]
|
||||
protected DirectoryNotFoundException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when trying to access a drive or share that is not available.</summary>
|
||||
// Token: 0x0200028B RID: 651
|
||||
[Token(Token = "0x200028B")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class DriveNotFoundException : IOException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DriveNotFoundException" /> class with its message string set to a system-supplied message and its HRESULT set to COR_E_DIRECTORYNOTFOUND.</summary>
|
||||
// Token: 0x060017AA RID: 6058 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017AA")]
|
||||
[Address(RVA = "0x2BAC000", Offset = "0x2BAB000", VA = "0x182BAC000")]
|
||||
public DriveNotFoundException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DriveNotFoundException" /> class with the specified message string and the HRESULT set to COR_E_DIRECTORYNOTFOUND.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> object that describes the error. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x060017AB RID: 6059 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017AB")]
|
||||
[Address(RVA = "0x2BAA670", Offset = "0x2BA9670", VA = "0x182BAA670")]
|
||||
public DriveNotFoundException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.DriveNotFoundException" /> class with the specified serialization and context information.</summary>
|
||||
/// <param name="info">A <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object that contains the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">A <see cref="T:System.Runtime.Serialization.StreamingContext" /> object that contains contextual information about the source or destination of the exception being thrown.</param>
|
||||
// Token: 0x060017AC RID: 6060 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017AC")]
|
||||
[Address(RVA = "0x71ABC0", Offset = "0x719BC0", VA = "0x18071ABC0")]
|
||||
protected DriveNotFoundException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when reading is attempted past the end of a stream.</summary>
|
||||
// Token: 0x0200028C RID: 652
|
||||
[Token(Token = "0x200028C")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class EndOfStreamException : IOException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.EndOfStreamException" /> class with its message string set to a system-supplied message and its HRESULT set to COR_E_ENDOFSTREAM.</summary>
|
||||
// Token: 0x060017AD RID: 6061 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017AD")]
|
||||
[Address(RVA = "0x2BAC090", Offset = "0x2BAB090", VA = "0x182BAC090")]
|
||||
public EndOfStreamException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.EndOfStreamException" /> class with its message string set to <paramref name="message" /> and its HRESULT set to COR_E_ENDOFSTREAM.</summary>
|
||||
/// <param name="message">A string that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x060017AE RID: 6062 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017AE")]
|
||||
[Address(RVA = "0x2BAC060", Offset = "0x2BAB060", VA = "0x182BAC060")]
|
||||
public EndOfStreamException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.EndOfStreamException" /> class with the specified serialization and context information.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x060017AF RID: 6063 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017AF")]
|
||||
[Address(RVA = "0x71ABC0", Offset = "0x719BC0", VA = "0x18071ABC0")]
|
||||
protected EndOfStreamException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,834 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides static methods for the creation, copying, deletion, moving, and opening of a single file, and aids in the creation of <see cref="T:System.IO.FileStream" /> objects.</summary>
|
||||
// Token: 0x020002B4 RID: 692
|
||||
[Token(Token = "0x20002B4")]
|
||||
[ComVisible(true)]
|
||||
public static class File
|
||||
{
|
||||
/// <summary>Copies an existing file to a new file. Overwriting a file of the same name is not allowed.</summary>
|
||||
/// <param name="sourceFileName">The file to copy.</param>
|
||||
/// <param name="destFileName">The name of the destination file. This cannot be a directory or an existing file.</param>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> specifies a directory.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path specified in <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">
|
||||
/// <paramref name="sourceFileName" /> was not found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="destFileName" /> exists.
|
||||
/// -or-
|
||||
/// An I/O error has occurred.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001971 RID: 6513 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001971")]
|
||||
[Address(RVA = "0x2BB14E0", Offset = "0x2BB04E0", VA = "0x182BB14E0")]
|
||||
public static void Copy(string sourceFileName, string destFileName)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Copies an existing file to a new file. Overwriting a file of the same name is allowed.</summary>
|
||||
/// <param name="sourceFileName">The file to copy.</param>
|
||||
/// <param name="destFileName">The name of the destination file. This cannot be a directory.</param>
|
||||
/// <param name="overwrite">
|
||||
/// <see langword="true" /> if the destination file can be overwritten; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// <paramref name="destFileName" /> is read-only.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> specifies a directory.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path specified in <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">
|
||||
/// <paramref name="sourceFileName" /> was not found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="destFileName" /> exists and <paramref name="overwrite" /> is <see langword="false" />.
|
||||
/// -or-
|
||||
/// An I/O error has occurred.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001972 RID: 6514 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001972")]
|
||||
[Address(RVA = "0x2BB0E10", Offset = "0x2BAFE10", VA = "0x182BB0E10")]
|
||||
public static void Copy(string sourceFileName, string destFileName, bool overwrite)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates or overwrites a file in the specified path.</summary>
|
||||
/// <param name="path">The path and name of the file to create.</param>
|
||||
/// <returns>A <see cref="T:System.IO.FileStream" /> that provides read/write access to the file specified in <paramref name="path" />.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a file that is read-only.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while creating the file.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001973 RID: 6515 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001973")]
|
||||
[Address(RVA = "0x2BB15D0", Offset = "0x2BB05D0", VA = "0x182BB15D0")]
|
||||
public static FileStream Create(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates or overwrites the specified file.</summary>
|
||||
/// <param name="path">The name of the file.</param>
|
||||
/// <param name="bufferSize">The number of bytes buffered for reads and writes to the file.</param>
|
||||
/// <returns>A <see cref="T:System.IO.FileStream" /> with the specified buffer size that provides read/write access to the file specified in <paramref name="path" />.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a file that is read-only.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while creating the file.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001974 RID: 6516 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001974")]
|
||||
[Address(RVA = "0x2BB1550", Offset = "0x2BB0550", VA = "0x182BB1550")]
|
||||
public static FileStream Create(string path, int bufferSize)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates or opens a file for writing UTF-8 encoded text. If the file already exists, its contents are overwritten.</summary>
|
||||
/// <param name="path">The file to be opened for writing.</param>
|
||||
/// <returns>A <see cref="T:System.IO.StreamWriter" /> that writes to the specified file using UTF-8 encoding.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001975 RID: 6517 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001975")]
|
||||
[Address(RVA = "0x2BB14F0", Offset = "0x2BB04F0", VA = "0x182BB14F0")]
|
||||
public static StreamWriter CreateText(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Deletes the specified file.</summary>
|
||||
/// <param name="path">The name of the file to be deleted. Wildcard characters are not supported.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The specified file is in use.
|
||||
/// -or-
|
||||
/// There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// The file is an executable file that is in use.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> is a directory.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a read-only file.</exception>
|
||||
// Token: 0x06001976 RID: 6518 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001976")]
|
||||
[Address(RVA = "0x2BB1650", Offset = "0x2BB0650", VA = "0x182BB1650")]
|
||||
public static void Delete(string path)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Determines whether the specified file exists.</summary>
|
||||
/// <param name="path">The file to check.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the caller has the required permissions and <paramref name="path" /> contains the name of an existing file; otherwise, <see langword="false" />. This method also returns <see langword="false" /> if <paramref name="path" /> is <see langword="null" />, an invalid path, or a zero-length string. If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns <see langword="false" /> regardless of the existence of <paramref name="path" />.</returns>
|
||||
// Token: 0x06001977 RID: 6519 RVA: 0x00010D28 File Offset: 0x0000EF28
|
||||
[Token(Token = "0x6001977")]
|
||||
[Address(RVA = "0x2BB1890", Offset = "0x2BB0890", VA = "0x182BB1890")]
|
||||
public static bool Exists(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.IO.FileAttributes" /> of the file on the path.</summary>
|
||||
/// <param name="path">The path to the file.</param>
|
||||
/// <returns>The <see cref="T:System.IO.FileAttributes" /> of the file on the path.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is empty, contains only white spaces, or contains invalid characters.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">
|
||||
/// <paramref name="path" /> represents a file and is invalid, such as being on an unmapped drive, or the file cannot be found.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> represents a directory and is invalid, such as being on an unmapped drive, or the directory cannot be found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">This file is being used by another process.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001978 RID: 6520 RVA: 0x00010D40 File Offset: 0x0000EF40
|
||||
[Token(Token = "0x6001978")]
|
||||
[Address(RVA = "0x2BB1A60", Offset = "0x2BB0A60", VA = "0x182BB1A60")]
|
||||
public static FileAttributes GetAttributes(string path)
|
||||
{
|
||||
return (FileAttributes)0;
|
||||
}
|
||||
|
||||
/// <summary>Returns the creation date and time of the specified file or directory.</summary>
|
||||
/// <param name="path">The file or directory for which to obtain creation date and time information.</param>
|
||||
/// <returns>A <see cref="T:System.DateTime" /> structure set to the creation date and time for the specified file or directory. This value is expressed in local time.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001979 RID: 6521 RVA: 0x00010D58 File Offset: 0x0000EF58
|
||||
[Token(Token = "0x6001979")]
|
||||
[Address(RVA = "0x2BB1B40", Offset = "0x2BB0B40", VA = "0x182BB1B40")]
|
||||
public static DateTime GetCreationTime(string path)
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
|
||||
/// <summary>Returns the date and time the specified file or directory was last accessed.</summary>
|
||||
/// <param name="path">The file or directory for which to obtain access date and time information.</param>
|
||||
/// <returns>A <see cref="T:System.DateTime" /> structure set to the date and time that the specified file or directory was last accessed. This value is expressed in local time.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x0600197A RID: 6522 RVA: 0x00010D70 File Offset: 0x0000EF70
|
||||
[Token(Token = "0x600197A")]
|
||||
[Address(RVA = "0x2BB1C80", Offset = "0x2BB0C80", VA = "0x182BB1C80")]
|
||||
public static DateTime GetLastAccessTime(string path)
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
|
||||
/// <summary>Returns the date and time the specified file or directory was last written to.</summary>
|
||||
/// <param name="path">The file or directory for which to obtain write date and time information.</param>
|
||||
/// <returns>A <see cref="T:System.DateTime" /> structure set to the date and time that the specified file or directory was last written to. This value is expressed in local time.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x0600197B RID: 6523 RVA: 0x00010D88 File Offset: 0x0000EF88
|
||||
[Token(Token = "0x600197B")]
|
||||
[Address(RVA = "0x2BB1F00", Offset = "0x2BB0F00", VA = "0x182BB1F00")]
|
||||
public static DateTime GetLastWriteTime(string path)
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
|
||||
/// <summary>Returns the date and time, in coordinated universal time (UTC), that the specified file or directory was last written to.</summary>
|
||||
/// <param name="path">The file or directory for which to obtain write date and time information.</param>
|
||||
/// <returns>A <see cref="T:System.DateTime" /> structure set to the date and time that the specified file or directory was last written to. This value is expressed in UTC time.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x0600197C RID: 6524 RVA: 0x00010DA0 File Offset: 0x0000EFA0
|
||||
[Token(Token = "0x600197C")]
|
||||
[Address(RVA = "0x2BB1DC0", Offset = "0x2BB0DC0", VA = "0x182BB1DC0")]
|
||||
public static DateTime GetLastWriteTimeUtc(string path)
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
|
||||
/// <summary>Moves a specified file to a new location, providing the option to specify a new file name.</summary>
|
||||
/// <param name="sourceFileName">The name of the file to move. Can include a relative or absolute path.</param>
|
||||
/// <param name="destFileName">The new path and name for the file.</param>
|
||||
/// <exception cref="T:System.IO.IOException">The destination file already exists.
|
||||
/// -or-
|
||||
/// <paramref name="sourceFileName" /> was not found.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is a zero-length string, contains only white space, or contains invalid characters as defined in <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The path specified in <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="sourceFileName" /> or <paramref name="destFileName" /> is in an invalid format.</exception>
|
||||
// Token: 0x0600197D RID: 6525 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600197D")]
|
||||
[Address(RVA = "0x2BB2040", Offset = "0x2BB1040", VA = "0x182BB2040")]
|
||||
public static void Move(string sourceFileName, string destFileName)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Opens a <see cref="T:System.IO.FileStream" /> on the specified path with read/write access with no sharing.</summary>
|
||||
/// <param name="path">The file to open.</param>
|
||||
/// <param name="mode">A <see cref="T:System.IO.FileMode" /> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
|
||||
/// <returns>A <see cref="T:System.IO.FileStream" /> opened in the specified mode and path, with read/write access and not shared.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// <paramref name="mode" /> is <see cref="F:System.IO.FileMode.Create" /> and the specified file is a hidden file.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="mode" /> specified an invalid value.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x0600197E RID: 6526 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600197E")]
|
||||
[Address(RVA = "0x2BB2650", Offset = "0x2BB1650", VA = "0x182BB2650")]
|
||||
public static FileStream Open(string path, FileMode mode)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens a <see cref="T:System.IO.FileStream" /> on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.</summary>
|
||||
/// <param name="path">The file to open.</param>
|
||||
/// <param name="mode">A <see cref="T:System.IO.FileMode" /> value that specifies whether a file is created if one does not exist, and determines whether the contents of existing files are retained or overwritten.</param>
|
||||
/// <param name="access">A <see cref="T:System.IO.FileAccess" /> value that specifies the operations that can be performed on the file.</param>
|
||||
/// <param name="share">A <see cref="T:System.IO.FileShare" /> value specifying the type of access other threads have to the file.</param>
|
||||
/// <returns>A <see cref="T:System.IO.FileStream" /> on the specified path, having the specified mode with read, write, or read/write access and the specified sharing option.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <paramref name="access" /> specified <see langword="Read" /> and <paramref name="mode" /> specified <see langword="Create" />, <see langword="CreateNew" />, <see langword="Truncate" />, or <see langword="Append" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only and <paramref name="access" /> is not <see langword="Read" />.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// <paramref name="mode" /> is <see cref="F:System.IO.FileMode.Create" /> and the specified file is a hidden file.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> specified an invalid value.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x0600197F RID: 6527 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600197F")]
|
||||
[Address(RVA = "0x2BB26E0", Offset = "0x2BB16E0", VA = "0x182BB26E0")]
|
||||
public static FileStream Open(string path, FileMode mode, FileAccess access, FileShare share)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens an existing file for reading.</summary>
|
||||
/// <param name="path">The file to be opened for reading.</param>
|
||||
/// <returns>A read-only <see cref="T:System.IO.FileStream" /> on the specified path.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
// Token: 0x06001980 RID: 6528 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001980")]
|
||||
[Address(RVA = "0x2BB24F0", Offset = "0x2BB14F0", VA = "0x182BB24F0")]
|
||||
public static FileStream OpenRead(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens an existing UTF-8 encoded text file for reading.</summary>
|
||||
/// <param name="path">The file to be opened for reading.</param>
|
||||
/// <returns>A <see cref="T:System.IO.StreamReader" /> on the specified path.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001981 RID: 6529 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001981")]
|
||||
[Address(RVA = "0x2BB2570", Offset = "0x2BB1570", VA = "0x182BB2570")]
|
||||
public static StreamReader OpenText(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens an existing file or creates a new file for writing.</summary>
|
||||
/// <param name="path">The file to be opened for writing.</param>
|
||||
/// <returns>An unshared <see cref="T:System.IO.FileStream" /> object on the specified path with <see cref="F:System.IO.FileAccess.Write" /> access.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a read-only file or directory.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001982 RID: 6530 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001982")]
|
||||
[Address(RVA = "0x2BB25D0", Offset = "0x2BB15D0", VA = "0x182BB25D0")]
|
||||
public static FileStream OpenWrite(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Sets the specified <see cref="T:System.IO.FileAttributes" /> of the file on the specified path.</summary>
|
||||
/// <param name="path">The path to the file.</param>
|
||||
/// <param name="fileAttributes">A bitwise combination of the enumeration values.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is empty, contains only white spaces, contains invalid characters, or the file attribute is invalid.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001983 RID: 6531 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001983")]
|
||||
[Address(RVA = "0x2BB2DD0", Offset = "0x2BB1DD0", VA = "0x182BB2DD0")]
|
||||
public static void SetAttributes(string path, FileAttributes fileAttributes)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the date and time the file was created.</summary>
|
||||
/// <param name="path">The file for which to set the creation date and time information.</param>
|
||||
/// <param name="creationTime">A <see cref="T:System.DateTime" /> containing the value to set for the creation date and time of <paramref name="path" />. This value is expressed in local time.</param>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The specified path was not found.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while performing the operation.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="creationTime" /> specifies a value outside the range of dates, times, or both permitted for this operation.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
// Token: 0x06001984 RID: 6532 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001984")]
|
||||
[Address(RVA = "0x2BB2EB0", Offset = "0x2BB1EB0", VA = "0x182BB2EB0")]
|
||||
public static void SetCreationTime(string path, DateTime creationTime)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the date and time the specified file was last accessed.</summary>
|
||||
/// <param name="path">The file for which to set the access date and time information.</param>
|
||||
/// <param name="lastAccessTime">A <see cref="T:System.DateTime" /> containing the value to set for the last access date and time of <paramref name="path" />. This value is expressed in local time.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The specified path was not found.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="lastAccessTime" /> specifies a value outside the range of dates or times permitted for this operation.</exception>
|
||||
// Token: 0x06001985 RID: 6533 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001985")]
|
||||
[Address(RVA = "0x2BB3000", Offset = "0x2BB2000", VA = "0x182BB3000")]
|
||||
public static void SetLastAccessTime(string path, DateTime lastAccessTime)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the date and time that the specified file was last written to.</summary>
|
||||
/// <param name="path">The file for which to set the date and time information.</param>
|
||||
/// <param name="lastWriteTime">A <see cref="T:System.DateTime" /> containing the value to set for the last write date and time of <paramref name="path" />. This value is expressed in local time.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The specified path was not found.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="lastWriteTime" /> specifies a value outside the range of dates or times permitted for this operation.</exception>
|
||||
// Token: 0x06001986 RID: 6534 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001986")]
|
||||
[Address(RVA = "0x2BB3150", Offset = "0x2BB2150", VA = "0x182BB3150")]
|
||||
public static void SetLastWriteTime(string path, DateTime lastWriteTime)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Opens a binary file, reads the contents of the file into a byte array, and then closes the file.</summary>
|
||||
/// <param name="path">The file to open for reading.</param>
|
||||
/// <returns>A byte array containing the contents of the file.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001987 RID: 6535 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001987")]
|
||||
[Address(RVA = "0x2BB2780", Offset = "0x2BB1780", VA = "0x182BB2780")]
|
||||
public static byte[] ReadAllBytes(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens a text file, reads all lines of the file, and then closes the file.</summary>
|
||||
/// <param name="path">The file to open for reading.</param>
|
||||
/// <returns>A string array containing all lines of the file.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001988 RID: 6536 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001988")]
|
||||
[Address(RVA = "0x2BB2AF0", Offset = "0x2BB1AF0", VA = "0x182BB2AF0")]
|
||||
public static string[] ReadAllLines(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens a file, reads all lines of the file with the specified encoding, and then closes the file.</summary>
|
||||
/// <param name="path">The file to open for reading.</param>
|
||||
/// <param name="encoding">The encoding applied to the contents of the file.</param>
|
||||
/// <returns>A string array containing all lines of the file.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001989 RID: 6537 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001989")]
|
||||
[Address(RVA = "0x2BB2960", Offset = "0x2BB1960", VA = "0x182BB2960")]
|
||||
public static string[] ReadAllLines(string path, Encoding encoding)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600198A RID: 6538 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600198A")]
|
||||
[Address(RVA = "0x2BB2A40", Offset = "0x2BB1A40", VA = "0x182BB2A40")]
|
||||
private static string[] ReadAllLines(StreamReader reader)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Opens a text file, reads all the text in the file, and then closes the file.</summary>
|
||||
/// <param name="path">The file to open for reading.</param>
|
||||
/// <returns>A string containing all the text in the file.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified in <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x0600198B RID: 6539 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600198B")]
|
||||
[Address(RVA = "0x2BB2BE0", Offset = "0x2BB1BE0", VA = "0x182BB2BE0")]
|
||||
public static string ReadAllText(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a new file, writes the specified byte array to the file, and then closes the file. If the target file already exists, it is overwritten.</summary>
|
||||
/// <param name="path">The file to write to.</param>
|
||||
/// <param name="bytes">The bytes to write to the file.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" /> or the byte array is empty.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x0600198C RID: 6540 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600198C")]
|
||||
[Address(RVA = "0x2BB32A0", Offset = "0x2BB22A0", VA = "0x182BB32A0")]
|
||||
public static void WriteAllBytes(string path, byte[] bytes)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a new file, write the specified string array to the file, and then closes the file.</summary>
|
||||
/// <param name="path">The file to write to.</param>
|
||||
/// <param name="contents">The string array to write to the file.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">Either <paramref name="path" /> or <paramref name="contents" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x0600198D RID: 6541 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600198D")]
|
||||
[Address(RVA = "0x2BB3450", Offset = "0x2BB2450", VA = "0x182BB3450")]
|
||||
public static void WriteAllLines(string path, string[] contents)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600198E RID: 6542 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600198E")]
|
||||
[Address(RVA = "0x2BB33D0", Offset = "0x2BB23D0", VA = "0x182BB33D0")]
|
||||
private static void WriteAllLines(StreamWriter writer, string[] contents)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a new file, writes the specified string to the file, and then closes the file. If the target file already exists, it is overwritten.</summary>
|
||||
/// <param name="path">The file to write to.</param>
|
||||
/// <param name="contents">The string to write to the file.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" /> or <paramref name="contents" /> is empty.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x0600198F RID: 6543 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600198F")]
|
||||
[Address(RVA = "0x2BB3560", Offset = "0x2BB2560", VA = "0x182BB3560")]
|
||||
public static void WriteAllText(string path, string contents)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Creates a new file, writes the specified string to the file using the specified encoding, and then closes the file. If the target file already exists, it is overwritten.</summary>
|
||||
/// <param name="path">The file to write to.</param>
|
||||
/// <param name="contents">The string to write to the file.</param>
|
||||
/// <param name="encoding">The encoding to apply to the string.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters as defined by <see cref="F:System.IO.Path.InvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" /> or <paramref name="contents" /> is empty.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specified a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> specified a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> is in an invalid format.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001990 RID: 6544 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001990")]
|
||||
[Address(RVA = "0x2BB35D0", Offset = "0x2BB25D0", VA = "0x182BB35D0")]
|
||||
public static void WriteAllText(string path, string contents, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000310 RID: 784
|
||||
// (get) Token: 0x06001991 RID: 6545 RVA: 0x00010DB8 File Offset: 0x0000EFB8
|
||||
[Token(Token = "0x17000310")]
|
||||
private static DateTime DefaultLocalFileTime
|
||||
{
|
||||
[Token(Token = "0x6001991")]
|
||||
[Address(RVA = "0x2BB36C0", Offset = "0x2BB26C0", VA = "0x182BB36C0")]
|
||||
get
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Reads the lines of a file.</summary>
|
||||
/// <param name="path">The file to read.</param>
|
||||
/// <returns>All the lines of the file, or the lines that are the result of a query.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more invalid characters defined by the <see cref="M:System.IO.Path.GetInvalidPathChars" /> method.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">
|
||||
/// <paramref name="path" /> is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file specified by <paramref name="path" /> was not found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">
|
||||
/// <paramref name="path" /> exceeds the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> specifies a file that is read-only.
|
||||
/// -or-
|
||||
/// This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> is a directory.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
// Token: 0x06001992 RID: 6546 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001992")]
|
||||
[Address(RVA = "0x2BB2CC0", Offset = "0x2BB1CC0", VA = "0x182BB2CC0")]
|
||||
public static IEnumerable<string> ReadLines(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001993 RID: 6547 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001993")]
|
||||
[Address(RVA = "0x2BB2D60", Offset = "0x2BB1D60", VA = "0x182BB2D60")]
|
||||
private static IEnumerable<string> ReadLines(StreamReader reader)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001994 RID: 6548 RVA: 0x00010DD0 File Offset: 0x0000EFD0
|
||||
[Token(Token = "0x6001994")]
|
||||
[Address(RVA = "0x2BB1970", Offset = "0x2BB0970", VA = "0x182BB1970")]
|
||||
internal static int FillAttributeInfo(string path, ref MonoIOStat data, bool tryagain, bool returnErrorOnNotFound)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x04000D59 RID: 3417
|
||||
[Token(Token = "0x4000D59")]
|
||||
private static DateTime? defaultLocalFileTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Defines constants for read, write, or read/write access to a file.</summary>
|
||||
// Token: 0x020002B6 RID: 694
|
||||
[Token(Token = "0x20002B6")]
|
||||
[Flags]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum FileAccess
|
||||
{
|
||||
/// <summary>Read access to the file. Data can be read from the file. Combine with <see langword="Write" /> for read/write access.</summary>
|
||||
// Token: 0x04000D62 RID: 3426
|
||||
[Token(Token = "0x4000D62")]
|
||||
Read = 1,
|
||||
/// <summary>Write access to the file. Data can be written to the file. Combine with <see langword="Read" /> for read/write access.</summary>
|
||||
// Token: 0x04000D63 RID: 3427
|
||||
[Token(Token = "0x4000D63")]
|
||||
Write = 2,
|
||||
/// <summary>Read and write access to the file. Data can be written to and read from the file.</summary>
|
||||
// Token: 0x04000D64 RID: 3428
|
||||
[Token(Token = "0x4000D64")]
|
||||
ReadWrite = 3
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides attributes for files and directories.</summary>
|
||||
// Token: 0x020002B7 RID: 695
|
||||
[Token(Token = "0x20002B7")]
|
||||
[Flags]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum FileAttributes
|
||||
{
|
||||
/// <summary>The file is a candidate for backup or removal.</summary>
|
||||
// Token: 0x04000D66 RID: 3430
|
||||
[Token(Token = "0x4000D66")]
|
||||
Archive = 32,
|
||||
/// <summary>The file is compressed.</summary>
|
||||
// Token: 0x04000D67 RID: 3431
|
||||
[Token(Token = "0x4000D67")]
|
||||
Compressed = 2048,
|
||||
/// <summary>Reserved for future use.</summary>
|
||||
// Token: 0x04000D68 RID: 3432
|
||||
[Token(Token = "0x4000D68")]
|
||||
Device = 64,
|
||||
/// <summary>The file is a directory.</summary>
|
||||
// Token: 0x04000D69 RID: 3433
|
||||
[Token(Token = "0x4000D69")]
|
||||
Directory = 16,
|
||||
/// <summary>The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories.</summary>
|
||||
// Token: 0x04000D6A RID: 3434
|
||||
[Token(Token = "0x4000D6A")]
|
||||
Encrypted = 16384,
|
||||
/// <summary>The file is hidden, and thus is not included in an ordinary directory listing.</summary>
|
||||
// Token: 0x04000D6B RID: 3435
|
||||
[Token(Token = "0x4000D6B")]
|
||||
Hidden = 2,
|
||||
/// <summary>The file is a standard file that has no special attributes. This attribute is valid only if it is used alone.</summary>
|
||||
// Token: 0x04000D6C RID: 3436
|
||||
[Token(Token = "0x4000D6C")]
|
||||
Normal = 128,
|
||||
/// <summary>The file will not be indexed by the operating system's content indexing service.</summary>
|
||||
// Token: 0x04000D6D RID: 3437
|
||||
[Token(Token = "0x4000D6D")]
|
||||
NotContentIndexed = 8192,
|
||||
/// <summary>The file is offline. The data of the file is not immediately available.</summary>
|
||||
// Token: 0x04000D6E RID: 3438
|
||||
[Token(Token = "0x4000D6E")]
|
||||
Offline = 4096,
|
||||
/// <summary>The file is read-only.</summary>
|
||||
// Token: 0x04000D6F RID: 3439
|
||||
[Token(Token = "0x4000D6F")]
|
||||
ReadOnly = 1,
|
||||
/// <summary>The file contains a reparse point, which is a block of user-defined data associated with a file or a directory.</summary>
|
||||
// Token: 0x04000D70 RID: 3440
|
||||
[Token(Token = "0x4000D70")]
|
||||
ReparsePoint = 1024,
|
||||
/// <summary>The file is a sparse file. Sparse files are typically large files whose data consists of mostly zeros.</summary>
|
||||
// Token: 0x04000D71 RID: 3441
|
||||
[Token(Token = "0x4000D71")]
|
||||
SparseFile = 512,
|
||||
/// <summary>The file is a system file. That is, the file is part of the operating system or is used exclusively by the operating system.</summary>
|
||||
// Token: 0x04000D72 RID: 3442
|
||||
[Token(Token = "0x4000D72")]
|
||||
System = 4,
|
||||
/// <summary>The file is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.</summary>
|
||||
// Token: 0x04000D73 RID: 3443
|
||||
[Token(Token = "0x4000D73")]
|
||||
Temporary = 256,
|
||||
/// <summary>The file or directory includes data integrity support. When this value is applied to a file, all data streams in the file have integrity support. When this value is applied to a directory, all new files and subdirectories within that directory, by default, include integrity support.</summary>
|
||||
// Token: 0x04000D74 RID: 3444
|
||||
[Token(Token = "0x4000D74")]
|
||||
IntegrityStream = 32768,
|
||||
/// <summary>The file or directory is excluded from the data integrity scan. When this value is applied to a directory, by default, all new files and subdirectories within that directory are excluded from data integrity.</summary>
|
||||
// Token: 0x04000D75 RID: 3445
|
||||
[Token(Token = "0x4000D75")]
|
||||
NoScrubData = 131072
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,235 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides properties and instance methods for the creation, copying, deletion, moving, and opening of files, and aids in the creation of <see cref="T:System.IO.FileStream" /> objects. This class cannot be inherited.</summary>
|
||||
// Token: 0x0200028D RID: 653
|
||||
[Token(Token = "0x200028D")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public sealed class FileInfo : FileSystemInfo
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileInfo" /> class, which acts as a wrapper for a file path.</summary>
|
||||
/// <param name="fileName">The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="fileName" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The file name is empty, contains only white spaces, or contains invalid characters.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">Access to <paramref name="fileName" /> is denied.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="fileName" /> contains a colon (:) in the middle of the string.</exception>
|
||||
// Token: 0x060017B0 RID: 6064 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017B0")]
|
||||
[Address(RVA = "0x2BAC3D0", Offset = "0x2BAB3D0", VA = "0x182BAC3D0")]
|
||||
public FileInfo(string fileName)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017B1 RID: 6065 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017B1")]
|
||||
[Address(RVA = "0x2BAC280", Offset = "0x2BAB280", VA = "0x182BAC280")]
|
||||
private void Init(string fileName, bool checkHost)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017B2 RID: 6066 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017B2")]
|
||||
[Address(RVA = "0x4AA5C0", Offset = "0x4A95C0", VA = "0x1804AA5C0")]
|
||||
private string GetDisplayPath(string originalPath)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017B3 RID: 6067 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017B3")]
|
||||
[Address(RVA = "0x2BAC4B0", Offset = "0x2BAB4B0", VA = "0x182BAC4B0")]
|
||||
private FileInfo(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the name of the file.</summary>
|
||||
/// <returns>The name of the file.</returns>
|
||||
// Token: 0x170002C5 RID: 709
|
||||
// (get) Token: 0x060017B4 RID: 6068 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002C5")]
|
||||
public override string Name
|
||||
{
|
||||
[Token(Token = "0x60017B4")]
|
||||
[Address(RVA = "0x417720", Offset = "0x416720", VA = "0x180417720", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the size, in bytes, of the current file.</summary>
|
||||
/// <returns>The size of the current file in bytes.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <see cref="M:System.IO.FileSystemInfo.Refresh" /> cannot update the state of the file or directory.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file does not exist.
|
||||
/// -or-
|
||||
/// The <see langword="Length" /> property is called for a directory.</exception>
|
||||
// Token: 0x170002C6 RID: 710
|
||||
// (get) Token: 0x060017B5 RID: 6069 RVA: 0x00010560 File Offset: 0x0000E760
|
||||
[Token(Token = "0x170002C6")]
|
||||
public long Length
|
||||
{
|
||||
[Token(Token = "0x60017B5")]
|
||||
[Address(RVA = "0x2BAC700", Offset = "0x2BAB700", VA = "0x182BAC700")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a string representing the directory's full path.</summary>
|
||||
/// <returns>A string representing the directory's full path.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <see langword="null" /> was passed in for the directory name.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The fully qualified path name exceeds the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x170002C7 RID: 711
|
||||
// (get) Token: 0x060017B6 RID: 6070 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002C7")]
|
||||
public string DirectoryName
|
||||
{
|
||||
[Token(Token = "0x60017B6")]
|
||||
[Address(RVA = "0x2BAC550", Offset = "0x2BAB550", VA = "0x182BAC550")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets an instance of the parent directory.</summary>
|
||||
/// <returns>A <see cref="T:System.IO.DirectoryInfo" /> object representing the parent directory of this file.</returns>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x170002C8 RID: 712
|
||||
// (get) Token: 0x060017B7 RID: 6071 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002C8")]
|
||||
public DirectoryInfo Directory
|
||||
{
|
||||
[Token(Token = "0x60017B7")]
|
||||
[Address(RVA = "0x2BAC5B0", Offset = "0x2BAB5B0", VA = "0x182BAC5B0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value that determines if the current file is read only.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the current file is read only; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file described by the current <see cref="T:System.IO.FileInfo" /> object could not be found.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred while opening the file.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">This operation is not supported on the current platform.
|
||||
/// -or-
|
||||
/// The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The user does not have write permission, but attempted to set this property to <see langword="false" />.</exception>
|
||||
// Token: 0x170002C9 RID: 713
|
||||
// (get) Token: 0x060017B8 RID: 6072 RVA: 0x00010578 File Offset: 0x0000E778
|
||||
// (set) Token: 0x060017B9 RID: 6073 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002C9")]
|
||||
public bool IsReadOnly
|
||||
{
|
||||
[Token(Token = "0x60017B8")]
|
||||
[Address(RVA = "0x2BAC6E0", Offset = "0x2BAB6E0", VA = "0x182BAC6E0")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x60017B9")]
|
||||
[Address(RVA = "0x2BAC750", Offset = "0x2BAB750", VA = "0x182BAC750")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.IO.StreamReader" /> with UTF8 encoding that reads from an existing text file.</summary>
|
||||
/// <returns>A new <see langword="StreamReader" /> with UTF8 encoding.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file is not found.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">
|
||||
/// <paramref name="path" /> is read-only or is a directory.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
// Token: 0x060017BA RID: 6074 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017BA")]
|
||||
[Address(RVA = "0x2BAC310", Offset = "0x2BAB310", VA = "0x182BAC310")]
|
||||
public StreamReader OpenText()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.IO.StreamWriter" /> that writes a new text file.</summary>
|
||||
/// <returns>A new <see langword="StreamWriter" />.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The file name is a directory.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The disk is read-only.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x060017BB RID: 6075 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017BB")]
|
||||
[Address(RVA = "0x2BAC150", Offset = "0x2BAB150", VA = "0x182BAC150")]
|
||||
public StreamWriter CreateText()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a <see cref="T:System.IO.StreamWriter" /> that appends text to the file represented by this instance of the <see cref="T:System.IO.FileInfo" />.</summary>
|
||||
/// <returns>A new <see langword="StreamWriter" />.</returns>
|
||||
// Token: 0x060017BC RID: 6076 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017BC")]
|
||||
[Address(RVA = "0x2BAC0F0", Offset = "0x2BAB0F0", VA = "0x182BAC0F0")]
|
||||
public StreamWriter AppendText()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Permanently deletes a file.</summary>
|
||||
/// <exception cref="T:System.IO.IOException">The target file is open or memory-mapped on a computer running Microsoft Windows NT.
|
||||
/// -or-
|
||||
/// There is an open handle on the file, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The path is a directory.</exception>
|
||||
// Token: 0x060017BD RID: 6077 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017BD")]
|
||||
[Address(RVA = "0x2BAC1B0", Offset = "0x2BAB1B0", VA = "0x182BAC1B0", Slot = "10")]
|
||||
public override void Delete()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether a file exists.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the file exists; <see langword="false" /> if the file does not exist or if the file is a directory.</returns>
|
||||
// Token: 0x170002CA RID: 714
|
||||
// (get) Token: 0x060017BE RID: 6078 RVA: 0x00010590 File Offset: 0x0000E790
|
||||
[Token(Token = "0x170002CA")]
|
||||
public override bool Exists
|
||||
{
|
||||
[Token(Token = "0x60017BE")]
|
||||
[Address(RVA = "0x2BAC660", Offset = "0x2BAB660", VA = "0x182BAC660", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns the path as a string.</summary>
|
||||
/// <returns>A string representing the path.</returns>
|
||||
// Token: 0x060017BF RID: 6079 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017BF")]
|
||||
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000CC3 RID: 3267
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000CC3")]
|
||||
private string _name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when a managed assembly is found but cannot be loaded.</summary>
|
||||
// Token: 0x0200028E RID: 654
|
||||
[Token(Token = "0x200028E")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class FileLoadException : IOException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileLoadException" /> class, setting the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error, such as "Could not load the specified file." This message takes into account the current system culture.</summary>
|
||||
// Token: 0x060017C0 RID: 6080 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017C0")]
|
||||
[Address(RVA = "0x2BACC70", Offset = "0x2BABC70", VA = "0x182BACC70")]
|
||||
public FileLoadException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileLoadException" /> class with the specified error message.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x060017C1 RID: 6081 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017C1")]
|
||||
[Address(RVA = "0x2BACC40", Offset = "0x2BABC40", VA = "0x182BACC40")]
|
||||
public FileLoadException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the error message and the name of the file that caused this exception.</summary>
|
||||
/// <returns>A string containing the error message and the name of the file that caused this exception.</returns>
|
||||
// Token: 0x170002CB RID: 715
|
||||
// (get) Token: 0x060017C2 RID: 6082 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002CB")]
|
||||
public override string Message
|
||||
{
|
||||
[Token(Token = "0x60017C2")]
|
||||
[Address(RVA = "0x2BACDA0", Offset = "0x2BABDA0", VA = "0x182BACDA0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060017C3 RID: 6083 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017C3")]
|
||||
[Address(RVA = "0x2BAC940", Offset = "0x2BAB940", VA = "0x182BAC940")]
|
||||
private void SetMessageField()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns the fully qualified name of the current exception, and possibly the error message, the name of the inner exception, and the stack trace.</summary>
|
||||
/// <returns>A string containing the fully qualified name of this exception, and possibly the error message, the name of the inner exception, and the stack trace, depending on which <see cref="T:System.IO.FileLoadException" /> constructor is used.</returns>
|
||||
// Token: 0x060017C4 RID: 6084 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017C4")]
|
||||
[Address(RVA = "0x2BAC9C0", Offset = "0x2BAB9C0", VA = "0x182BAC9C0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileLoadException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x060017C5 RID: 6085 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017C5")]
|
||||
[Address(RVA = "0x2BACCD0", Offset = "0x2BABCD0", VA = "0x182BACCD0")]
|
||||
protected FileLoadException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the log file that describes why an assembly load failed.</summary>
|
||||
/// <returns>A string containing errors reported by the assembly cache.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x170002CC RID: 716
|
||||
// (get) Token: 0x060017C6 RID: 6086 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002CC")]
|
||||
public string FusionLog
|
||||
{
|
||||
[Token(Token = "0x60017C6")]
|
||||
[Address(RVA = "0x56D550", Offset = "0x56C550", VA = "0x18056D550")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with the file name and additional exception information.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x060017C7 RID: 6087 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017C7")]
|
||||
[Address(RVA = "0x2BAC800", Offset = "0x2BAB800", VA = "0x182BAC800", Slot = "10")]
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017C8 RID: 6088 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017C8")]
|
||||
[Address(RVA = "0x2BAC790", Offset = "0x2BAB790", VA = "0x182BAC790")]
|
||||
internal static string FormatFileLoadExceptionMessage(string fileName, int hResult)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000CC4 RID: 3268
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x4000CC4")]
|
||||
private string _fileName;
|
||||
|
||||
// Token: 0x04000CC5 RID: 3269
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x4000CC5")]
|
||||
private string _fusionLog;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Specifies how the operating system should open a file.</summary>
|
||||
// Token: 0x020002B8 RID: 696
|
||||
[Token(Token = "0x20002B8")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum FileMode
|
||||
{
|
||||
/// <summary>Specifies that the operating system should create a new file. This requires <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Write" /> permission. If the file already exists, an <see cref="T:System.IO.IOException" /> exception is thrown.</summary>
|
||||
// Token: 0x04000D77 RID: 3447
|
||||
[Token(Token = "0x4000D77")]
|
||||
CreateNew = 1,
|
||||
/// <summary>Specifies that the operating system should create a new file. If the file already exists, it will be overwritten. This requires <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Write" /> permission. <see langword="FileMode.Create" /> is equivalent to requesting that if the file does not exist, use <see cref="F:System.IO.FileMode.CreateNew" />; otherwise, use <see cref="F:System.IO.FileMode.Truncate" />. If the file already exists but is a hidden file, an <see cref="T:System.UnauthorizedAccessException" /> exception is thrown.</summary>
|
||||
// Token: 0x04000D78 RID: 3448
|
||||
[Token(Token = "0x4000D78")]
|
||||
Create,
|
||||
/// <summary>Specifies that the operating system should open an existing file. The ability to open the file is dependent on the value specified by the <see cref="T:System.IO.FileAccess" /> enumeration. A <see cref="T:System.IO.FileNotFoundException" /> exception is thrown if the file does not exist.</summary>
|
||||
// Token: 0x04000D79 RID: 3449
|
||||
[Token(Token = "0x4000D79")]
|
||||
Open,
|
||||
/// <summary>Specifies that the operating system should open a file if it exists; otherwise, a new file should be created. If the file is opened with <see langword="FileAccess.Read" />, <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Read" /> permission is required. If the file access is <see langword="FileAccess.Write" />, <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Write" /> permission is required. If the file is opened with <see langword="FileAccess.ReadWrite" />, both <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Read" /> and <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Write" /> permissions are required.</summary>
|
||||
// Token: 0x04000D7A RID: 3450
|
||||
[Token(Token = "0x4000D7A")]
|
||||
OpenOrCreate,
|
||||
/// <summary>Specifies that the operating system should open an existing file. When the file is opened, it should be truncated so that its size is zero bytes. This requires <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Write" /> permission. Attempts to read from a file opened with <see langword="FileMode.Truncate" /> cause an <see cref="T:System.ArgumentException" /> exception.</summary>
|
||||
// Token: 0x04000D7B RID: 3451
|
||||
[Token(Token = "0x4000D7B")]
|
||||
Truncate,
|
||||
/// <summary>Opens the file if it exists and seeks to the end of the file, or creates a new file. This requires <see cref="F:System.Security.Permissions.FileIOPermissionAccess.Append" /> permission. <see langword="FileMode.Append" /> can be used only in conjunction with <see langword="FileAccess.Write" />. Trying to seek to a position before the end of the file throws an <see cref="T:System.IO.IOException" /> exception, and any attempt to read fails and throws a <see cref="T:System.NotSupportedException" /> exception.</summary>
|
||||
// Token: 0x04000D7C RID: 3452
|
||||
[Token(Token = "0x4000D7C")]
|
||||
Append
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when an attempt to access a file that does not exist on disk fails.</summary>
|
||||
// Token: 0x0200028F RID: 655
|
||||
[Token(Token = "0x200028F")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class FileNotFoundException : IOException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileNotFoundException" /> class with its message string set to a system-supplied message.</summary>
|
||||
// Token: 0x060017C9 RID: 6089 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017C9")]
|
||||
[Address(RVA = "0x2BAD260", Offset = "0x2BAC260", VA = "0x182BAD260")]
|
||||
public FileNotFoundException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileNotFoundException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">A description of the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x060017CA RID: 6090 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017CA")]
|
||||
[Address(RVA = "0x2BAD2C0", Offset = "0x2BAC2C0", VA = "0x182BAD2C0")]
|
||||
public FileNotFoundException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileNotFoundException" /> class with a specified error message, and the file name that cannot be found.</summary>
|
||||
/// <param name="message">A description of the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
/// <param name="fileName">The full name of the file with the invalid image.</param>
|
||||
// Token: 0x060017CB RID: 6091 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017CB")]
|
||||
[Address(RVA = "0x2BAD2F0", Offset = "0x2BAC2F0", VA = "0x182BAD2F0")]
|
||||
public FileNotFoundException(string message, string fileName)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the error message that explains the reason for the exception.</summary>
|
||||
/// <returns>The error message.</returns>
|
||||
// Token: 0x170002CD RID: 717
|
||||
// (get) Token: 0x060017CC RID: 6092 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002CD")]
|
||||
public override string Message
|
||||
{
|
||||
[Token(Token = "0x60017CC")]
|
||||
[Address(RVA = "0x2BAD400", Offset = "0x2BAC400", VA = "0x182BAD400", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060017CD RID: 6093 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017CD")]
|
||||
[Address(RVA = "0x2BACF70", Offset = "0x2BABF70", VA = "0x182BACF70")]
|
||||
private void SetMessageField()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns the fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.</summary>
|
||||
/// <returns>The fully qualified name of this exception and possibly the error message, the name of the inner exception, and the stack trace.</returns>
|
||||
// Token: 0x060017CE RID: 6094 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017CE")]
|
||||
[Address(RVA = "0x2BACFE0", Offset = "0x2BABFE0", VA = "0x182BACFE0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileNotFoundException" /> class with the specified serialization and context information.</summary>
|
||||
/// <param name="info">An object that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">An object that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x060017CF RID: 6095 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017CF")]
|
||||
[Address(RVA = "0x2BAD330", Offset = "0x2BAC330", VA = "0x182BAD330")]
|
||||
protected FileNotFoundException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the log file that describes why loading of an assembly failed.</summary>
|
||||
/// <returns>The errors reported by the assembly cache.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x170002CE RID: 718
|
||||
// (get) Token: 0x060017D0 RID: 6096 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002CE")]
|
||||
public string FusionLog
|
||||
{
|
||||
[Token(Token = "0x60017D0")]
|
||||
[Address(RVA = "0x56D550", Offset = "0x56C550", VA = "0x18056D550")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name and additional exception information.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The object that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x060017D1 RID: 6097 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017D1")]
|
||||
[Address(RVA = "0x2BACE30", Offset = "0x2BABE30", VA = "0x182BACE30", Slot = "10")]
|
||||
public override void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CC6 RID: 3270
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x4000CC6")]
|
||||
private string _fileName;
|
||||
|
||||
// Token: 0x04000CC7 RID: 3271
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x4000CC7")]
|
||||
private string _fusionLog;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Represents advanced options for creating a <see cref="T:System.IO.FileStream" /> object.</summary>
|
||||
// Token: 0x020002B9 RID: 697
|
||||
[Token(Token = "0x20002B9")]
|
||||
[Flags]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum FileOptions
|
||||
{
|
||||
/// <summary>Indicates that no additional options should be used when creating a <see cref="T:System.IO.FileStream" /> object.</summary>
|
||||
// Token: 0x04000D7E RID: 3454
|
||||
[Token(Token = "0x4000D7E")]
|
||||
None = 0,
|
||||
/// <summary>Indicates that a file is encrypted and can be decrypted only by using the same user account used for encryption.</summary>
|
||||
// Token: 0x04000D7F RID: 3455
|
||||
[Token(Token = "0x4000D7F")]
|
||||
Encrypted = 16384,
|
||||
/// <summary>Indicates that a file is automatically deleted when it is no longer in use.</summary>
|
||||
// Token: 0x04000D80 RID: 3456
|
||||
[Token(Token = "0x4000D80")]
|
||||
DeleteOnClose = 67108864,
|
||||
/// <summary>Indicates that the file is to be accessed sequentially from beginning to end. The system can use this as a hint to optimize file caching. If an application moves the file pointer for random access, optimum caching may not occur; however, correct operation is still guaranteed.</summary>
|
||||
// Token: 0x04000D81 RID: 3457
|
||||
[Token(Token = "0x4000D81")]
|
||||
SequentialScan = 134217728,
|
||||
/// <summary>Indicates that the file is accessed randomly. The system can use this as a hint to optimize file caching.</summary>
|
||||
// Token: 0x04000D82 RID: 3458
|
||||
[Token(Token = "0x4000D82")]
|
||||
RandomAccess = 268435456,
|
||||
/// <summary>Indicates that a file can be used for asynchronous reading and writing.</summary>
|
||||
// Token: 0x04000D83 RID: 3459
|
||||
[Token(Token = "0x4000D83")]
|
||||
Asynchronous = 1073741824,
|
||||
/// <summary>Indicates that the system should write through any intermediate cache and go directly to disk.</summary>
|
||||
// Token: 0x04000D84 RID: 3460
|
||||
[Token(Token = "0x4000D84")]
|
||||
WriteThrough = -2147483648
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Contains constants for controlling the kind of access other <see cref="T:System.IO.FileStream" /> objects can have to the same file.</summary>
|
||||
// Token: 0x020002BA RID: 698
|
||||
[Token(Token = "0x20002BA")]
|
||||
[Flags]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum FileShare
|
||||
{
|
||||
/// <summary>Declines sharing of the current file. Any request to open the file (by this process or another process) will fail until the file is closed.</summary>
|
||||
// Token: 0x04000D86 RID: 3462
|
||||
[Token(Token = "0x4000D86")]
|
||||
None = 0,
|
||||
/// <summary>Allows subsequent opening of the file for reading. If this flag is not specified, any request to open the file for reading (by this process or another process) will fail until the file is closed. However, even if this flag is specified, additional permissions might still be needed to access the file.</summary>
|
||||
// Token: 0x04000D87 RID: 3463
|
||||
[Token(Token = "0x4000D87")]
|
||||
Read = 1,
|
||||
/// <summary>Allows subsequent opening of the file for writing. If this flag is not specified, any request to open the file for writing (by this process or another process) will fail until the file is closed. However, even if this flag is specified, additional permissions might still be needed to access the file.</summary>
|
||||
// Token: 0x04000D88 RID: 3464
|
||||
[Token(Token = "0x4000D88")]
|
||||
Write = 2,
|
||||
/// <summary>Allows subsequent opening of the file for reading or writing. If this flag is not specified, any request to open the file for reading or writing (by this process or another process) will fail until the file is closed. However, even if this flag is specified, additional permissions might still be needed to access the file.</summary>
|
||||
// Token: 0x04000D89 RID: 3465
|
||||
[Token(Token = "0x4000D89")]
|
||||
ReadWrite = 3,
|
||||
/// <summary>Allows subsequent deleting of a file.</summary>
|
||||
// Token: 0x04000D8A RID: 3466
|
||||
[Token(Token = "0x4000D8A")]
|
||||
Delete = 4,
|
||||
/// <summary>Makes the file handle inheritable by child processes. This is not directly supported by Win32.</summary>
|
||||
// Token: 0x04000D8B RID: 3467
|
||||
[Token(Token = "0x4000D8B")]
|
||||
Inheritable = 16
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,833 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides a <see cref="T:System.IO.Stream" /> for a file, supporting both synchronous and asynchronous read and write operations.</summary>
|
||||
// Token: 0x020002BB RID: 699
|
||||
[Token(Token = "0x20002BB")]
|
||||
[ComVisible(true)]
|
||||
public class FileStream : Stream
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class for the specified file handle, with the specified read/write permission, <see langword="FileStream" /> instance ownership, and buffer size.</summary>
|
||||
/// <param name="handle">A file handle for the file that this <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="access">A constant that sets the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object.</param>
|
||||
/// <param name="ownsHandle">
|
||||
/// <see langword="true" /> if the file handle will be owned by this <see langword="FileStream" /> instance; otherwise, <see langword="false" />.</param>
|
||||
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as a disk error, occurred.
|
||||
/// -or-
|
||||
/// The stream has been closed.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified file handle, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file handle is set for read-only access.</exception>
|
||||
// Token: 0x0600199E RID: 6558 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600199E")]
|
||||
[Address(RVA = "0x2BAFE60", Offset = "0x2BAEE60", VA = "0x182BAFE60")]
|
||||
[Obsolete]
|
||||
public FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600199F RID: 6559 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600199F")]
|
||||
[Address(RVA = "0x2BB00A0", Offset = "0x2BAF0A0", VA = "0x182BB00A0")]
|
||||
internal FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path and creation mode.</summary>
|
||||
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="mode">A constant that determines how to open or create the file.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
|
||||
/// -or-
|
||||
/// The stream has been closed.</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.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="mode" /> contains an invalid value.</exception>
|
||||
// Token: 0x060019A0 RID: 6560 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A0")]
|
||||
[Address(RVA = "0x2BB0020", Offset = "0x2BAF020", VA = "0x182BB0020")]
|
||||
public FileStream(string path, FileMode mode)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, and read/write permission.</summary>
|
||||
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="mode">A constant that determines how to open or create the file.</param>
|
||||
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
|
||||
/// -or-
|
||||
/// The stream has been closed.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="mode" /> contains an invalid value.</exception>
|
||||
// Token: 0x060019A1 RID: 6561 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A1")]
|
||||
[Address(RVA = "0x2BAFDD0", Offset = "0x2BAEDD0", VA = "0x182BAFDD0")]
|
||||
public FileStream(string path, FileMode mode, FileAccess access)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write permission, and sharing permission.</summary>
|
||||
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="mode">A constant that determines how to open or create the file.</param>
|
||||
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
|
||||
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
|
||||
/// -or-
|
||||
/// The system is running Windows 98 or Windows 98 Second Edition and <paramref name="share" /> is set to <see langword="FileShare.Delete" />.
|
||||
/// -or-
|
||||
/// The stream has been closed.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="mode" /> contains an invalid value.</exception>
|
||||
// Token: 0x060019A2 RID: 6562 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A2")]
|
||||
[Address(RVA = "0x2BB0070", Offset = "0x2BAF070", VA = "0x182BB0070")]
|
||||
public FileStream(string path, FileMode mode, FileAccess access, FileShare share)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write and sharing permission, and buffer size.</summary>
|
||||
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="mode">A constant that determines how to open or create the file.</param>
|
||||
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
|
||||
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
|
||||
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative or zero.
|
||||
/// -or-
|
||||
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> contain an invalid value.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
|
||||
/// -or-
|
||||
/// The system is running Windows 98 or Windows 98 Second Edition and <paramref name="share" /> is set to <see langword="FileShare.Delete" />.
|
||||
/// -or-
|
||||
/// The stream has been closed.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
// Token: 0x060019A3 RID: 6563 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A3")]
|
||||
[Address(RVA = "0x2BAFE20", Offset = "0x2BAEE20", VA = "0x182BAFE20")]
|
||||
public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write and sharing permission, buffer size, and synchronous or asynchronous state.</summary>
|
||||
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="mode">A constant that determines how to open or create the file.</param>
|
||||
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
|
||||
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
|
||||
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
|
||||
/// <param name="useAsync">Specifies whether to use asynchronous I/O or synchronous I/O. However, note that the underlying operating system might not support asynchronous I/O, so when specifying <see langword="true" />, the handle might be opened synchronously depending on the platform. When opened asynchronously, the <see cref="M:System.IO.FileStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> and <see cref="M:System.IO.FileStream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> methods perform better on large reads or writes, but they might be much slower for small reads or writes. If the application is designed to take advantage of asynchronous I/O, set the <paramref name="useAsync" /> parameter to <see langword="true" />. Using asynchronous I/O correctly can speed up applications by as much as a factor of 10, but using it without redesigning the application for asynchronous I/O can decrease performance by as much as a factor of 10.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative or zero.
|
||||
/// -or-
|
||||
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> contain an invalid value.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
|
||||
/// -or-
|
||||
/// The system is running Windows 98 or Windows 98 Second Edition and <paramref name="share" /> is set to <see langword="FileShare.Delete" />.
|
||||
/// -or-
|
||||
/// The stream has been closed.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
// Token: 0x060019A4 RID: 6564 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A4")]
|
||||
[Address(RVA = "0x2BAFFD0", Offset = "0x2BAEFD0", VA = "0x182BAFFD0")]
|
||||
public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileStream" /> class with the specified path, creation mode, read/write and sharing permission, the access other FileStreams can have to the same file, the buffer size, and additional file options.</summary>
|
||||
/// <param name="path">A relative or absolute path for the file that the current <see langword="FileStream" /> object will encapsulate.</param>
|
||||
/// <param name="mode">A constant that determines how to open or create the file.</param>
|
||||
/// <param name="access">A constant that determines how the file can be accessed by the <see langword="FileStream" /> object. This also determines the values returned by the <see cref="P:System.IO.FileStream.CanRead" /> and <see cref="P:System.IO.FileStream.CanWrite" /> properties of the <see langword="FileStream" /> object. <see cref="P:System.IO.FileStream.CanSeek" /> is <see langword="true" /> if <paramref name="path" /> specifies a disk file.</param>
|
||||
/// <param name="share">A constant that determines how the file will be shared by processes.</param>
|
||||
/// <param name="bufferSize">A positive <see cref="T:System.Int32" /> value greater than 0 indicating the buffer size. The default buffer size is 4096.</param>
|
||||
/// <param name="options">A value that specifies additional file options.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string (""), contains only white space, or contains one or more invalid characters.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in an NTFS environment.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> refers to a non-file device, such as "con:", "com1:", "lpt1:", etc. in a non-NTFS environment.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative or zero.
|
||||
/// -or-
|
||||
/// <paramref name="mode" />, <paramref name="access" />, or <paramref name="share" /> contain an invalid value.</exception>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The file cannot be found, such as when <paramref name="mode" /> is <see langword="FileMode.Truncate" /> or <see langword="FileMode.Open" />, and the file specified by <paramref name="path" /> does not exist. The file must already exist in these modes.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as specifying <see langword="FileMode.CreateNew" /> when the file specified by <paramref name="path" /> already exists, occurred.
|
||||
/// -or-
|
||||
/// The stream has been closed.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid, such as being on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <paramref name="access" /> requested is not permitted by the operating system for the specified <paramref name="path" />, such as when <paramref name="access" /> is <see langword="Write" /> or <see langword="ReadWrite" /> and the file or directory is set for read-only access.
|
||||
/// -or-
|
||||
/// <see cref="F:System.IO.FileOptions.Encrypted" /> is specified for <paramref name="options" />, but file encryption is not supported on the current platform.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
// Token: 0x060019A5 RID: 6565 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A5")]
|
||||
[Address(RVA = "0x2BB09B0", Offset = "0x2BAF9B0", VA = "0x182BB09B0")]
|
||||
public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019A6 RID: 6566 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A6")]
|
||||
[Address(RVA = "0x2BAFDB0", Offset = "0x2BAEDB0", VA = "0x182BAFDB0")]
|
||||
internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options, string msgPath, bool bFromProxy, bool useLongPath = false, bool checkHost = false)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019A7 RID: 6567 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A7")]
|
||||
[Address(RVA = "0x2BAFD50", Offset = "0x2BAED50", VA = "0x182BAFD50")]
|
||||
internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool isAsync, bool anonymous)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019A8 RID: 6568 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A8")]
|
||||
[Address(RVA = "0x2BB0210", Offset = "0x2BAF210", VA = "0x182BB0210")]
|
||||
internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019A9 RID: 6569 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019A9")]
|
||||
[Address(RVA = "0x2BAE730", Offset = "0x2BAD730", VA = "0x182BAE730")]
|
||||
private void Init(SafeFileHandle safeHandle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that indicates whether the current stream supports reading.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports reading; <see langword="false" /> if the stream is closed or was opened with write-only access.</returns>
|
||||
// Token: 0x17000313 RID: 787
|
||||
// (get) Token: 0x060019AA RID: 6570 RVA: 0x00010E00 File Offset: 0x0000F000
|
||||
[Token(Token = "0x17000313")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x60019AA")]
|
||||
[Address(RVA = "0x2BB09F0", Offset = "0x2BAF9F0", VA = "0x182BB09F0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that indicates whether the current stream supports writing.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports writing; <see langword="false" /> if the stream is closed or was opened with read-only access.</returns>
|
||||
// Token: 0x17000314 RID: 788
|
||||
// (get) Token: 0x060019AB RID: 6571 RVA: 0x00010E18 File Offset: 0x0000F018
|
||||
[Token(Token = "0x17000314")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x60019AB")]
|
||||
[Address(RVA = "0x2BB0A00", Offset = "0x2BAFA00", VA = "0x182BB0A00", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value that indicates whether the current stream supports seeking.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports seeking; <see langword="false" /> if the stream is closed or if the <see langword="FileStream" /> was constructed from an operating-system handle such as a pipe or output to the console.</returns>
|
||||
// Token: 0x17000315 RID: 789
|
||||
// (get) Token: 0x060019AC RID: 6572 RVA: 0x00010E30 File Offset: 0x0000F030
|
||||
[Token(Token = "0x17000315")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x60019AC")]
|
||||
[Address(RVA = "0x1837450", Offset = "0x1836450", VA = "0x181837450", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the absolute path of the file opened in the <see langword="FileStream" />.</summary>
|
||||
/// <returns>A string that is the absolute path of the file.</returns>
|
||||
// Token: 0x17000316 RID: 790
|
||||
// (get) Token: 0x060019AD RID: 6573 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000316")]
|
||||
public string Name
|
||||
{
|
||||
[Token(Token = "0x60019AD")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the length in bytes of the stream.</summary>
|
||||
/// <returns>A long value representing the length of the stream in bytes.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <see cref="P:System.IO.FileStream.CanSeek" /> for this stream is <see langword="false" />.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error, such as the file being closed, occurred.</exception>
|
||||
// Token: 0x17000317 RID: 791
|
||||
// (get) Token: 0x060019AE RID: 6574 RVA: 0x00010E48 File Offset: 0x0000F048
|
||||
[Token(Token = "0x17000317")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x60019AE")]
|
||||
[Address(RVA = "0x2BB0A20", Offset = "0x2BAFA20", VA = "0x182BB0A20", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the current position of this stream.</summary>
|
||||
/// <returns>The current position of this stream.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.
|
||||
/// -or-
|
||||
/// The position was set to a very large value beyond the end of the stream in Windows 98 or earlier.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">Attempted to set the position to a negative value.</exception>
|
||||
/// <exception cref="T:System.IO.EndOfStreamException">Attempted seeking past the end of a stream that does not support this.</exception>
|
||||
// Token: 0x17000318 RID: 792
|
||||
// (get) Token: 0x060019AF RID: 6575 RVA: 0x00010E60 File Offset: 0x0000F060
|
||||
// (set) Token: 0x060019B0 RID: 6576 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000318")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x60019AF")]
|
||||
[Address(RVA = "0x2BB0BA0", Offset = "0x2BAFBA0", VA = "0x182BB0BA0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
[Token(Token = "0x60019B0")]
|
||||
[Address(RVA = "0x2BB0D70", Offset = "0x2BAFD70", VA = "0x182BB0D70", Slot = "12")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a <see cref="T:Microsoft.Win32.SafeHandles.SafeFileHandle" /> object that represents the operating system file handle for the file that the current <see cref="T:System.IO.FileStream" /> object encapsulates.</summary>
|
||||
/// <returns>An object that represents the operating system file handle for the file that the current <see cref="T:System.IO.FileStream" /> object encapsulates.</returns>
|
||||
// Token: 0x17000319 RID: 793
|
||||
// (get) Token: 0x060019B1 RID: 6577 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000319")]
|
||||
public virtual SafeFileHandle SafeFileHandle
|
||||
{
|
||||
[Token(Token = "0x60019B1")]
|
||||
[Address(RVA = "0x2BB0D30", Offset = "0x2BAFD30", VA = "0x182BB0D30", Slot = "31")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060019B2 RID: 6578 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019B2")]
|
||||
[Address(RVA = "0x2BADFE0", Offset = "0x2BACFE0", VA = "0x182BADFE0")]
|
||||
private void ExposeHandle()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Reads a byte from the file and advances the read position one byte.</summary>
|
||||
/// <returns>The byte, cast to an <see cref="T:System.Int32" />, or -1 if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">The current stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream is closed.</exception>
|
||||
// Token: 0x060019B3 RID: 6579 RVA: 0x00010E78 File Offset: 0x0000F078
|
||||
[Token(Token = "0x60019B3")]
|
||||
[Address(RVA = "0x2BAEA40", Offset = "0x2BADA40", VA = "0x182BAEA40", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Writes a byte to the current position in the file stream.</summary>
|
||||
/// <param name="value">A byte to write to the stream.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
// Token: 0x060019B4 RID: 6580 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019B4")]
|
||||
[Address(RVA = "0x2BAF690", Offset = "0x2BAE690", VA = "0x182BAF690", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Reads a block of bytes from the stream and writes the data in a given buffer.</summary>
|
||||
/// <param name="array">When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="array" /> at which the read bytes will be placed.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <returns>The total number of bytes read into the buffer. This might be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="offset" /> and <paramref name="count" /> describe an invalid range in <paramref name="array" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x060019B5 RID: 6581 RVA: 0x00010E90 File Offset: 0x0000F090
|
||||
[Token(Token = "0x60019B5")]
|
||||
[Address(RVA = "0x2BAEE70", Offset = "0x2BADE70", VA = "0x182BAEE70", Slot = "27")]
|
||||
public override int Read([In] [Out] byte[] array, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019B6 RID: 6582 RVA: 0x00010EA8 File Offset: 0x0000F0A8
|
||||
[Token(Token = "0x60019B6")]
|
||||
[Address(RVA = "0x2BAECE0", Offset = "0x2BADCE0", VA = "0x182BAECE0")]
|
||||
private int ReadInternal(byte[] dest, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Begins an asynchronous read operation. Consider using <see cref="M:System.IO.FileStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.</summary>
|
||||
/// <param name="array">The buffer to read data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="array" /> at which to begin reading.</param>
|
||||
/// <param name="numBytes">The maximum number of bytes to read.</param>
|
||||
/// <param name="userCallback">The method to be called when the asynchronous read operation is completed.</param>
|
||||
/// <param name="stateObject">A user-provided object that distinguishes this particular asynchronous read request from other requests.</param>
|
||||
/// <returns>An object that references the asynchronous read.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The array length minus <paramref name="offset" /> is less than <paramref name="numBytes" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="numBytes" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An asynchronous read was attempted past the end of the file.</exception>
|
||||
// Token: 0x060019B7 RID: 6583 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019B7")]
|
||||
[Address(RVA = "0x2BAD480", Offset = "0x2BAC480", VA = "0x182BAD480", Slot = "19")]
|
||||
public override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Waits for the pending asynchronous read operation to complete. (Consider using <see cref="M:System.IO.FileStream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
|
||||
/// <param name="asyncResult">The reference to the pending asynchronous request to wait for.</param>
|
||||
/// <returns>The number of bytes read from the stream, between 0 and the number of bytes you requested. Streams only return 0 at the end of the stream, otherwise, they should block until at least 1 byte is available.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">This <see cref="T:System.IAsyncResult" /> object was not created by calling <see cref="M:System.IO.FileStream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> on this class.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">
|
||||
/// <see cref="M:System.IO.FileStream.EndRead(System.IAsyncResult)" /> is called multiple times.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
|
||||
// Token: 0x060019B8 RID: 6584 RVA: 0x00010EC0 File Offset: 0x0000F0C0
|
||||
[Token(Token = "0x60019B8")]
|
||||
[Address(RVA = "0x2BADCE0", Offset = "0x2BACCE0", VA = "0x182BADCE0", Slot = "20")]
|
||||
public override int EndRead(IAsyncResult asyncResult)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Writes a block of bytes to the file stream.</summary>
|
||||
/// <param name="array">The buffer containing data to write to the stream.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="array" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="offset" /> and <paramref name="count" /> describe an invalid range in <paramref name="array" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.
|
||||
/// -or-
|
||||
/// Another thread may have caused an unexpected change in the position of the operating system's file handle.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current stream instance does not support writing.</exception>
|
||||
// Token: 0x060019B9 RID: 6585 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019B9")]
|
||||
[Address(RVA = "0x2BAFAB0", Offset = "0x2BAEAB0", VA = "0x182BAFAB0", Slot = "29")]
|
||||
public override void Write(byte[] array, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019BA RID: 6586 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019BA")]
|
||||
[Address(RVA = "0x2BAF800", Offset = "0x2BAE800", VA = "0x182BAF800")]
|
||||
private void WriteInternal(byte[] src, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Begins an asynchronous write operation. Consider using <see cref="M:System.IO.FileStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.</summary>
|
||||
/// <param name="array">The buffer containing data to write to the current stream.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="array" /> at which to begin copying bytes to the current stream.</param>
|
||||
/// <param name="numBytes">The maximum number of bytes to write.</param>
|
||||
/// <param name="userCallback">The method to be called when the asynchronous write operation is completed.</param>
|
||||
/// <param name="stateObject">A user-provided object that distinguishes this particular asynchronous write request from other requests.</param>
|
||||
/// <returns>An object that references the asynchronous write.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="array" /> length minus <paramref name="offset" /> is less than <paramref name="numBytes" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="array" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="numBytes" /> is negative.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
// Token: 0x060019BB RID: 6587 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019BB")]
|
||||
[Address(RVA = "0x2BAD700", Offset = "0x2BAC700", VA = "0x182BAD700", Slot = "22")]
|
||||
public override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Ends an asynchronous write operation and blocks until the I/O operation is complete. (Consider using <see cref="M:System.IO.FileStream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)" /> instead.)</summary>
|
||||
/// <param name="asyncResult">The pending asynchronous I/O request.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">This <see cref="T:System.IAsyncResult" /> object was not created by calling <see cref="M:System.IO.Stream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> on this class.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">
|
||||
/// <see cref="M:System.IO.FileStream.EndWrite(System.IAsyncResult)" /> is called multiple times.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
|
||||
// Token: 0x060019BC RID: 6588 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019BC")]
|
||||
[Address(RVA = "0x2BADE60", Offset = "0x2BACE60", VA = "0x182BADE60", Slot = "23")]
|
||||
public override void EndWrite(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Sets the current position of this stream to the given value.</summary>
|
||||
/// <param name="offset">The point relative to <paramref name="origin" /> from which to begin seeking.</param>
|
||||
/// <param name="origin">Specifies the beginning, the end, or the current position as a reference point for <paramref name="offset" />, using a value of type <see cref="T:System.IO.SeekOrigin" />.</param>
|
||||
/// <returns>The new position in the stream.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking, such as if the <see langword="FileStream" /> is constructed from a pipe or console output.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">Seeking is attempted before the beginning of the stream.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x060019BD RID: 6589 RVA: 0x00010ED8 File Offset: 0x0000F0D8
|
||||
[Token(Token = "0x60019BD")]
|
||||
[Address(RVA = "0x2BAF1C0", Offset = "0x2BAE1C0", VA = "0x182BAF1C0", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Sets the length of this stream to the given value.</summary>
|
||||
/// <param name="value">The new length of the stream.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error has occurred.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support both writing and seeking.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">Attempted to set the <paramref name="value" /> parameter to less than 0.</exception>
|
||||
// Token: 0x060019BE RID: 6590 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019BE")]
|
||||
[Address(RVA = "0x2BAF450", Offset = "0x2BAE450", VA = "0x182BAF450", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Clears buffers for this stream and causes any buffered data to be written to the file.</summary>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x060019BF RID: 6591 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019BF")]
|
||||
[Address(RVA = "0x2BAE320", Offset = "0x2BAD320", VA = "0x182BAE320", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ensures that resources are freed and other cleanup operations are performed when the garbage collector reclaims the <see langword="FileStream" />.</summary>
|
||||
// Token: 0x060019C0 RID: 6592 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019C0")]
|
||||
[Address(RVA = "0x2BAE010", Offset = "0x2BAD010", VA = "0x182BAE010", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.FileStream" /> 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: 0x060019C1 RID: 6593 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019C1")]
|
||||
[Address(RVA = "0x2BAD9D0", Offset = "0x2BAC9D0", VA = "0x182BAD9D0", Slot = "16")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.</summary>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous flush operation.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
// Token: 0x060019C2 RID: 6594 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019C2")]
|
||||
[Address(RVA = "0x2BAE090", Offset = "0x2BAD090", VA = "0x182BAE090", Slot = "18")]
|
||||
public override Task FlushAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation.</exception>
|
||||
// Token: 0x060019C3 RID: 6595 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019C3")]
|
||||
[Address(RVA = "0x2BAEA30", Offset = "0x2BADA30", VA = "0x182BAEA30", Slot = "21")]
|
||||
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous write operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation.</exception>
|
||||
// Token: 0x060019C4 RID: 6596 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019C4")]
|
||||
[Address(RVA = "0x2BAF680", Offset = "0x2BAE680", VA = "0x182BAF680", Slot = "24")]
|
||||
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060019C5 RID: 6597 RVA: 0x00010EF0 File Offset: 0x0000F0F0
|
||||
[Token(Token = "0x60019C5")]
|
||||
[Address(RVA = "0x2BAEDB0", Offset = "0x2BADDB0", VA = "0x182BAEDB0")]
|
||||
private int ReadSegment(byte[] dest, int dest_offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019C6 RID: 6598 RVA: 0x00010F08 File Offset: 0x0000F108
|
||||
[Token(Token = "0x60019C6")]
|
||||
[Address(RVA = "0x2BAFA40", Offset = "0x2BAEA40", VA = "0x182BAFA40")]
|
||||
private int WriteSegment(byte[] src, int src_offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019C7 RID: 6599 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019C7")]
|
||||
[Address(RVA = "0x2BAE130", Offset = "0x2BAD130", VA = "0x182BAE130")]
|
||||
private void FlushBuffer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019C8 RID: 6600 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019C8")]
|
||||
[Address(RVA = "0x2BAE120", Offset = "0x2BAD120", VA = "0x182BAE120")]
|
||||
private void FlushBufferIfDirty()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019C9 RID: 6601 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019C9")]
|
||||
[Address(RVA = "0x2BAF180", Offset = "0x2BAE180", VA = "0x182BAF180")]
|
||||
private void RefillBuffer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019CA RID: 6602 RVA: 0x00010F20 File Offset: 0x0000F120
|
||||
[Token(Token = "0x60019CA")]
|
||||
[Address(RVA = "0x2BAEBB0", Offset = "0x2BADBB0", VA = "0x182BAEBB0")]
|
||||
private int ReadData(SafeHandle safeHandle, byte[] buf, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019CB RID: 6603 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019CB")]
|
||||
[Address(RVA = "0x2BAE4F0", Offset = "0x2BAD4F0", VA = "0x182BAE4F0")]
|
||||
private void InitBuffer(int size, bool isZeroSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019CC RID: 6604 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019CC")]
|
||||
[Address(RVA = "0x2BAE3A0", Offset = "0x2BAD3A0", VA = "0x182BAE3A0")]
|
||||
private string GetSecureFileName(string filename)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060019CD RID: 6605 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019CD")]
|
||||
[Address(RVA = "0x2BAE430", Offset = "0x2BAD430", VA = "0x182BAE430")]
|
||||
private string GetSecureFileName(string filename, bool full)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000D8C RID: 3468
|
||||
[Token(Token = "0x4000D8C")]
|
||||
internal const int DefaultBufferSize = 4096;
|
||||
|
||||
// Token: 0x04000D8D RID: 3469
|
||||
[Token(Token = "0x4000D8D")]
|
||||
private static byte[] buf_recycle;
|
||||
|
||||
// Token: 0x04000D8E RID: 3470
|
||||
[Token(Token = "0x4000D8E")]
|
||||
private static readonly object buf_recycle_lock;
|
||||
|
||||
// Token: 0x04000D8F RID: 3471
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D8F")]
|
||||
private byte[] buf;
|
||||
|
||||
// Token: 0x04000D90 RID: 3472
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000D90")]
|
||||
private string name;
|
||||
|
||||
// Token: 0x04000D91 RID: 3473
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000D91")]
|
||||
private SafeFileHandle safeHandle;
|
||||
|
||||
// Token: 0x04000D92 RID: 3474
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000D92")]
|
||||
private bool isExposed;
|
||||
|
||||
// Token: 0x04000D93 RID: 3475
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000D93")]
|
||||
private long append_startpos;
|
||||
|
||||
// Token: 0x04000D94 RID: 3476
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000D94")]
|
||||
private FileAccess access;
|
||||
|
||||
// Token: 0x04000D95 RID: 3477
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
|
||||
[Token(Token = "0x4000D95")]
|
||||
private bool owner;
|
||||
|
||||
// Token: 0x04000D96 RID: 3478
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x55")]
|
||||
[Token(Token = "0x4000D96")]
|
||||
private bool async;
|
||||
|
||||
// Token: 0x04000D97 RID: 3479
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x56")]
|
||||
[Token(Token = "0x4000D97")]
|
||||
private bool canseek;
|
||||
|
||||
// Token: 0x04000D98 RID: 3480
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x57")]
|
||||
[Token(Token = "0x4000D98")]
|
||||
private bool anonymous;
|
||||
|
||||
// Token: 0x04000D99 RID: 3481
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000D99")]
|
||||
private bool buf_dirty;
|
||||
|
||||
// Token: 0x04000D9A RID: 3482
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
|
||||
[Token(Token = "0x4000D9A")]
|
||||
private int buf_size;
|
||||
|
||||
// Token: 0x04000D9B RID: 3483
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000D9B")]
|
||||
private int buf_length;
|
||||
|
||||
// Token: 0x04000D9C RID: 3484
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
|
||||
[Token(Token = "0x4000D9C")]
|
||||
private int buf_offset;
|
||||
|
||||
// Token: 0x04000D9D RID: 3485
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000D9D")]
|
||||
private long buf_start;
|
||||
|
||||
// Token: 0x020002BC RID: 700
|
||||
// (Invoke) Token: 0x060019D0 RID: 6608
|
||||
[Token(Token = "0x20002BC")]
|
||||
private delegate int ReadDelegate(byte[] buffer, int offset, int count);
|
||||
|
||||
// Token: 0x020002BD RID: 701
|
||||
// (Invoke) Token: 0x060019D4 RID: 6612
|
||||
[Token(Token = "0x20002BD")]
|
||||
private delegate void WriteDelegate(byte[] buffer, int offset, int count);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002BE RID: 702
|
||||
[Token(Token = "0x20002BE")]
|
||||
internal class FileStreamAsyncResult : IAsyncResult
|
||||
{
|
||||
// Token: 0x060019D7 RID: 6615 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019D7")]
|
||||
[Address(RVA = "0xCBDB30", Offset = "0xCBCB30", VA = "0x180CBDB30")]
|
||||
public FileStreamAsyncResult(AsyncCallback cb, object state)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060019D8 RID: 6616 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60019D8")]
|
||||
[Address(RVA = "0xCBDA50", Offset = "0xCBCA50", VA = "0x180CBDA50")]
|
||||
private static void CBWrapper(IAsyncResult ares)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x1700031A RID: 794
|
||||
// (get) Token: 0x060019D9 RID: 6617 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700031A")]
|
||||
public object AsyncState
|
||||
{
|
||||
[Token(Token = "0x60019D9")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700031B RID: 795
|
||||
// (get) Token: 0x060019DA RID: 6618 RVA: 0x00010F38 File Offset: 0x0000F138
|
||||
[Token(Token = "0x1700031B")]
|
||||
public bool CompletedSynchronously
|
||||
{
|
||||
[Token(Token = "0x60019DA")]
|
||||
[Address(RVA = "0x5AB2E0", Offset = "0x5AA2E0", VA = "0x1805AB2E0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700031C RID: 796
|
||||
// (get) Token: 0x060019DB RID: 6619 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700031C")]
|
||||
public WaitHandle AsyncWaitHandle
|
||||
{
|
||||
[Token(Token = "0x60019DB")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700031D RID: 797
|
||||
// (get) Token: 0x060019DC RID: 6620 RVA: 0x00010F50 File Offset: 0x0000F150
|
||||
[Token(Token = "0x1700031D")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x60019DC")]
|
||||
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000D9E RID: 3486
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000D9E")]
|
||||
private object state;
|
||||
|
||||
// Token: 0x04000D9F RID: 3487
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000D9F")]
|
||||
private bool completed;
|
||||
|
||||
// Token: 0x04000DA0 RID: 3488
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000DA0")]
|
||||
private ManualResetEvent wh;
|
||||
|
||||
// Token: 0x04000DA1 RID: 3489
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000DA1")]
|
||||
private AsyncCallback cb;
|
||||
|
||||
// Token: 0x04000DA2 RID: 3490
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000DA2")]
|
||||
private bool completedSynch;
|
||||
|
||||
// Token: 0x04000DA3 RID: 3491
|
||||
[FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4000DA3")]
|
||||
public int Count;
|
||||
|
||||
// Token: 0x04000DA4 RID: 3492
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000DA4")]
|
||||
public int OriginalCount;
|
||||
|
||||
// Token: 0x04000DA5 RID: 3493
|
||||
[FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x4000DA5")]
|
||||
public int BytesRead;
|
||||
|
||||
// Token: 0x04000DA6 RID: 3494
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000DA6")]
|
||||
private AsyncCallback realcb;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000290 RID: 656
|
||||
[Token(Token = "0x2000290")]
|
||||
internal static class FileSystemEnumerableFactory
|
||||
{
|
||||
// Token: 0x060017D2 RID: 6098 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017D2")]
|
||||
[Address(RVA = "0xCBDBE0", Offset = "0xCBCBE0", VA = "0x180CBDBE0")]
|
||||
internal static IEnumerable<string> CreateFileNameIterator(string path, string originalUserPath, string searchPattern, bool includeFiles, bool includeDirs, SearchOption searchOption, bool checkHost)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000296 RID: 662
|
||||
[Token(Token = "0x2000296")]
|
||||
internal static class FileSystemEnumerableHelpers
|
||||
{
|
||||
// Token: 0x060017F3 RID: 6131 RVA: 0x000105D8 File Offset: 0x0000E7D8
|
||||
[Token(Token = "0x60017F3")]
|
||||
[Address(RVA = "0xCBDCD0", Offset = "0xCBCCD0", VA = "0x180CBDCD0")]
|
||||
internal static bool IsDir(Win32Native.WIN32_FIND_DATA data)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060017F4 RID: 6132 RVA: 0x000105F0 File Offset: 0x0000E7F0
|
||||
[Token(Token = "0x60017F4")]
|
||||
[Address(RVA = "0xCBDD50", Offset = "0xCBCD50", VA = "0x180CBDD50")]
|
||||
internal static bool IsFile(Win32Native.WIN32_FIND_DATA data)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,170 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32;
|
||||
using Microsoft.Win32.SafeHandles;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000292 RID: 658
|
||||
[Token(Token = "0x2000292")]
|
||||
internal class FileSystemEnumerableIterator<TSource> : Iterator<TSource>
|
||||
{
|
||||
// Token: 0x060017DD RID: 6109 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017DD")]
|
||||
[Address(RVA = "0x3583EA0", Offset = "0x3582EA0", VA = "0x183583EA0")]
|
||||
internal FileSystemEnumerableIterator(string path, string originalUserPath, string searchPattern, SearchOption searchOption, SearchResultHandler<TSource> resultHandler, bool checkHost)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017DE RID: 6110 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017DE")]
|
||||
[Address(RVA = "0x35833B0", Offset = "0x35823B0", VA = "0x1835833B0")]
|
||||
private void CommonInit()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017DF RID: 6111 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017DF")]
|
||||
[Address(RVA = "0x3584190", Offset = "0x3583190", VA = "0x183584190")]
|
||||
private FileSystemEnumerableIterator(string fullPath, string normalizedSearchPath, string searchCriteria, string userPath, SearchOption searchOption, SearchResultHandler<TSource> resultHandler, bool checkHost)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017E0 RID: 6112 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017E0")]
|
||||
[Address(RVA = "0x35832E0", Offset = "0x35822E0", VA = "0x1835832E0", Slot = "11")]
|
||||
protected override Iterator<TSource> Clone()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017E1 RID: 6113 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017E1")]
|
||||
[Address(RVA = "0x35836F0", Offset = "0x35826F0", VA = "0x1835836F0", Slot = "12")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017E2 RID: 6114 RVA: 0x000105A8 File Offset: 0x0000E7A8
|
||||
[Token(Token = "0x60017E2")]
|
||||
[Address(RVA = "0x3583970", Offset = "0x3582970", VA = "0x183583970", Slot = "13")]
|
||||
public override bool MoveNext()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060017E3 RID: 6115 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017E3")]
|
||||
[Address(RVA = "0x3583610", Offset = "0x3582610", VA = "0x183583610")]
|
||||
private SearchResult CreateSearchResult(Directory.SearchData localSearchData, Win32Native.WIN32_FIND_DATA findData)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017E4 RID: 6116 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017E4")]
|
||||
[Address(RVA = "0x3583920", Offset = "0x3582920", VA = "0x183583920")]
|
||||
private void HandleError(int hr, string path)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017E5 RID: 6117 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017E5")]
|
||||
[Address(RVA = "0x3582FC0", Offset = "0x3581FC0", VA = "0x183582FC0")]
|
||||
private void AddSearchableDirsToStack(Directory.SearchData localSearchData)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017E6 RID: 6118 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017E6")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
|
||||
internal void DoDemand(string fullPathToDemand)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017E7 RID: 6119 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017E7")]
|
||||
[Address(RVA = "0x3583DE0", Offset = "0x3582DE0", VA = "0x183583DE0")]
|
||||
private static string NormalizeSearchPattern(string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017E8 RID: 6120 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017E8")]
|
||||
[Address(RVA = "0x3583880", Offset = "0x3582880", VA = "0x183583880")]
|
||||
private static string GetNormalizedSearchCriteria(string fullSearchString, string fullPathMod)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017E9 RID: 6121 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017E9")]
|
||||
[Address(RVA = "0x35837A0", Offset = "0x35827A0", VA = "0x1835837A0")]
|
||||
private static string GetFullSearchString(string fullPath, string searchPattern)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000CCB RID: 3275
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CCB")]
|
||||
private SearchResultHandler<TSource> _resultHandler;
|
||||
|
||||
// Token: 0x04000CCC RID: 3276
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CCC")]
|
||||
private List<Directory.SearchData> searchStack;
|
||||
|
||||
// Token: 0x04000CCD RID: 3277
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CCD")]
|
||||
private Directory.SearchData searchData;
|
||||
|
||||
// Token: 0x04000CCE RID: 3278
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CCE")]
|
||||
private string searchCriteria;
|
||||
|
||||
// Token: 0x04000CCF RID: 3279
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CCF")]
|
||||
private SafeFindHandle _hnd;
|
||||
|
||||
// Token: 0x04000CD0 RID: 3280
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD0")]
|
||||
private bool needsParentPathDiscoveryDemand;
|
||||
|
||||
// Token: 0x04000CD1 RID: 3281
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD1")]
|
||||
private bool empty;
|
||||
|
||||
// Token: 0x04000CD2 RID: 3282
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD2")]
|
||||
private string userPath;
|
||||
|
||||
// Token: 0x04000CD3 RID: 3283
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD3")]
|
||||
private SearchOption searchOption;
|
||||
|
||||
// Token: 0x04000CD4 RID: 3284
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD4")]
|
||||
private string fullPath;
|
||||
|
||||
// Token: 0x04000CD5 RID: 3285
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD5")]
|
||||
private string normalizedSearchPath;
|
||||
|
||||
// Token: 0x04000CD6 RID: 3286
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CD6")]
|
||||
private bool _checkHost;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,265 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides the base class for both <see cref="T:System.IO.FileInfo" /> and <see cref="T:System.IO.DirectoryInfo" /> objects.</summary>
|
||||
// Token: 0x02000297 RID: 663
|
||||
[Token(Token = "0x2000297")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public abstract class FileSystemInfo : MarshalByRefObject, ISerializable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileSystemInfo" /> class.</summary>
|
||||
// Token: 0x060017F5 RID: 6133 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017F5")]
|
||||
[Address(RVA = "0xCBDE80", Offset = "0xCBCE80", VA = "0x180CBDE80")]
|
||||
protected FileSystemInfo()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.FileSystemInfo" /> class with serialized data.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The specified <see cref="T:System.Runtime.Serialization.SerializationInfo" /> is null.</exception>
|
||||
// Token: 0x060017F6 RID: 6134 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017F6")]
|
||||
[Address(RVA = "0xCBDED0", Offset = "0xCBCED0", VA = "0x180CBDED0")]
|
||||
protected FileSystemInfo(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the full path of the directory or file.</summary>
|
||||
/// <returns>A string containing the full path.</returns>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The fully qualified path and file name exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x170002D3 RID: 723
|
||||
// (get) Token: 0x060017F7 RID: 6135 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002D3")]
|
||||
public virtual string FullName
|
||||
{
|
||||
[Token(Token = "0x60017F7")]
|
||||
[Address(RVA = "0x4975A0", Offset = "0x4965A0", VA = "0x1804975A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the string representing the extension part of the file.</summary>
|
||||
/// <returns>A string containing the <see cref="T:System.IO.FileSystemInfo" /> extension.</returns>
|
||||
// Token: 0x170002D4 RID: 724
|
||||
// (get) Token: 0x060017F8 RID: 6136 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002D4")]
|
||||
public string Extension
|
||||
{
|
||||
[Token(Token = "0x60017F8")]
|
||||
[Address(RVA = "0xCBE1F0", Offset = "0xCBD1F0", VA = "0x180CBE1F0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>For files, gets the name of the file. For directories, gets the name of the last directory in the hierarchy if a hierarchy exists. Otherwise, the <see langword="Name" /> property gets the name of the directory.</summary>
|
||||
/// <returns>A string that is the name of the parent directory, the name of the last directory in the hierarchy, or the name of a file, including the file name extension.</returns>
|
||||
// Token: 0x170002D5 RID: 725
|
||||
// (get) Token: 0x060017F9 RID: 6137
|
||||
[Token(Token = "0x170002D5")]
|
||||
public abstract string Name
|
||||
{
|
||||
[Token(Token = "0x60017F9")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the file or directory exists.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the file or directory exists; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170002D6 RID: 726
|
||||
// (get) Token: 0x060017FA RID: 6138
|
||||
[Token(Token = "0x170002D6")]
|
||||
public abstract bool Exists
|
||||
{
|
||||
[Token(Token = "0x60017FA")]
|
||||
[Address(Slot = "9")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Deletes a file or directory.</summary>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid; for example, it is on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">There is an open handle on the file or directory, and the operating system is Windows XP or earlier. This open handle can result from enumerating directories and files. For more information, see How to: Enumerate Directories and Files.</exception>
|
||||
// Token: 0x060017FB RID: 6139
|
||||
[Token(Token = "0x60017FB")]
|
||||
[Address(Slot = "10")]
|
||||
public abstract void Delete();
|
||||
|
||||
/// <summary>Gets or sets the creation time of the current file or directory.</summary>
|
||||
/// <returns>The creation date and time of the current <see cref="T:System.IO.FileSystemInfo" /> object.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <see cref="M:System.IO.FileSystemInfo.Refresh" /> cannot initialize the data.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid; for example, it is on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows NT or later.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The caller attempts to set an invalid creation time.</exception>
|
||||
// Token: 0x170002D7 RID: 727
|
||||
// (get) Token: 0x060017FC RID: 6140 RVA: 0x00010608 File Offset: 0x0000E808
|
||||
[Token(Token = "0x170002D7")]
|
||||
public DateTime CreationTime
|
||||
{
|
||||
[Token(Token = "0x60017FC")]
|
||||
[Address(RVA = "0xCBE130", Offset = "0xCBD130", VA = "0x180CBE130")]
|
||||
get
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the creation time, in coordinated universal time (UTC), of the current file or directory.</summary>
|
||||
/// <returns>The creation date and time in UTC format of the current <see cref="T:System.IO.FileSystemInfo" /> object.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <see cref="M:System.IO.FileSystemInfo.Refresh" /> cannot initialize the data.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid; for example, it is on an unmapped drive.</exception>
|
||||
/// <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows NT or later.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The caller attempts to set an invalid access time.</exception>
|
||||
// Token: 0x170002D8 RID: 728
|
||||
// (get) Token: 0x060017FD RID: 6141 RVA: 0x00010620 File Offset: 0x0000E820
|
||||
[Token(Token = "0x170002D8")]
|
||||
[ComVisible(false)]
|
||||
public DateTime CreationTimeUtc
|
||||
{
|
||||
[Token(Token = "0x60017FD")]
|
||||
[Address(RVA = "0xCBE080", Offset = "0xCBD080", VA = "0x180CBE080")]
|
||||
get
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the time, in coordinated universal time (UTC), when the current file or directory was last written to.</summary>
|
||||
/// <returns>The UTC time when the current file was last written to.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <see cref="M:System.IO.FileSystemInfo.Refresh" /> cannot initialize the data.</exception>
|
||||
/// <exception cref="T:System.PlatformNotSupportedException">The current operating system is not Windows NT or later.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The caller attempts to set an invalid write time.</exception>
|
||||
// Token: 0x170002D9 RID: 729
|
||||
// (get) Token: 0x060017FE RID: 6142 RVA: 0x00010638 File Offset: 0x0000E838
|
||||
[Token(Token = "0x170002D9")]
|
||||
[ComVisible(false)]
|
||||
public DateTime LastWriteTimeUtc
|
||||
{
|
||||
[Token(Token = "0x60017FE")]
|
||||
[Address(RVA = "0xCBE340", Offset = "0xCBD340", VA = "0x180CBE340")]
|
||||
get
|
||||
{
|
||||
return default(DateTime);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Refreshes the state of the object.</summary>
|
||||
/// <exception cref="T:System.IO.IOException">A device such as a disk drive is not ready.</exception>
|
||||
// Token: 0x060017FF RID: 6143 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017FF")]
|
||||
[Address(RVA = "0xCBDE50", Offset = "0xCBCE50", VA = "0x180CBDE50")]
|
||||
public void Refresh()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the attributes for the current file or directory.</summary>
|
||||
/// <returns>
|
||||
/// <see cref="T:System.IO.FileAttributes" /> of the current <see cref="T:System.IO.FileSystemInfo" />.</returns>
|
||||
/// <exception cref="T:System.IO.FileNotFoundException">The specified file doesn't exist. Only thrown when setting the property value.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid. For example, it's on an unmapped drive. Only thrown when setting the property value.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller doesn't have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The caller attempts to set an invalid file attribute.
|
||||
/// -or-
|
||||
/// The user attempts to set an attribute value but doesn't have write permission.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <see cref="M:System.IO.FileSystemInfo.Refresh" /> cannot initialize the data.</exception>
|
||||
// Token: 0x170002DA RID: 730
|
||||
// (get) Token: 0x06001800 RID: 6144 RVA: 0x00010650 File Offset: 0x0000E850
|
||||
// (set) Token: 0x06001801 RID: 6145 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002DA")]
|
||||
public FileAttributes Attributes
|
||||
{
|
||||
[Token(Token = "0x6001800")]
|
||||
[Address(RVA = "0xCBE010", Offset = "0xCBD010", VA = "0x180CBE010")]
|
||||
get
|
||||
{
|
||||
return (FileAttributes)0;
|
||||
}
|
||||
[Token(Token = "0x6001801")]
|
||||
[Address(RVA = "0xCBE3F0", Offset = "0xCBD3F0", VA = "0x180CBE3F0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> object with the file name and additional exception information.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x06001802 RID: 6146 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001802")]
|
||||
[Address(RVA = "0xCBDD70", Offset = "0xCBCD70", VA = "0x180CBDD70", Slot = "11")]
|
||||
[ComVisible(false)]
|
||||
public virtual void GetObjectData(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002DB RID: 731
|
||||
// (get) Token: 0x06001803 RID: 6147 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x06001804 RID: 6148 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002DB")]
|
||||
internal string DisplayPath
|
||||
{
|
||||
[Token(Token = "0x6001803")]
|
||||
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6001804")]
|
||||
[Address(RVA = "0x417A10", Offset = "0x416A10", VA = "0x180417A10")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000CDC RID: 3292
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CDC")]
|
||||
internal MonoIOStat _data;
|
||||
|
||||
// Token: 0x04000CDD RID: 3293
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000CDD")]
|
||||
internal int _dataInitialised;
|
||||
|
||||
// Token: 0x04000CDE RID: 3294
|
||||
[Token(Token = "0x4000CDE")]
|
||||
private const int ERROR_INVALID_PARAMETER = 87;
|
||||
|
||||
// Token: 0x04000CDF RID: 3295
|
||||
[Token(Token = "0x4000CDF")]
|
||||
internal const int ERROR_ACCESS_DENIED = 5;
|
||||
|
||||
/// <summary>Represents the fully qualified path of the directory or file.</summary>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The fully qualified path exceeds the system-defined maximum length.</exception>
|
||||
// Token: 0x04000CE0 RID: 3296
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000CE0")]
|
||||
protected string FullPath;
|
||||
|
||||
/// <summary>The path originally specified by the user, whether relative or absolute.</summary>
|
||||
// Token: 0x04000CE1 RID: 3297
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000CE1")]
|
||||
protected string OriginalPath;
|
||||
|
||||
// Token: 0x04000CE2 RID: 3298
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000CE2")]
|
||||
private string _displayPath;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when an I/O error occurs.</summary>
|
||||
// Token: 0x02000298 RID: 664
|
||||
[Token(Token = "0x2000298")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class IOException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with its message string set to the empty string (""), its HRESULT set to COR_E_IO, and its inner exception set to a null reference.</summary>
|
||||
// Token: 0x06001805 RID: 6149 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001805")]
|
||||
[Address(RVA = "0xCBE5A0", Offset = "0xCBD5A0", VA = "0x180CBE5A0")]
|
||||
public IOException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with its message string set to <paramref name="message" />, its HRESULT set to COR_E_IO, and its inner exception set to <see langword="null" />.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x06001806 RID: 6150 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001806")]
|
||||
[Address(RVA = "0xCBE630", Offset = "0xCBD630", VA = "0x180CBE630")]
|
||||
public IOException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with its message string set to <paramref name="message" /> and its HRESULT user-defined.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
/// <param name="hresult">An integer identifying the error that has occurred.</param>
|
||||
// Token: 0x06001807 RID: 6151 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001807")]
|
||||
[Address(RVA = "0xCBE600", Offset = "0xCBD600", VA = "0x180CBE600")]
|
||||
public IOException(string message, int hresult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001808 RID: 6152 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001808")]
|
||||
[Address(RVA = "0xCBE660", Offset = "0xCBD660", VA = "0x180CBE660")]
|
||||
internal IOException(string message, int hresult, string maybeFullPath)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</summary>
|
||||
/// <param name="message">The error message that explains the reason for the exception.</param>
|
||||
/// <param name="innerException">The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not <see langword="null" />, the current exception is raised in a <see langword="catch" /> block that handles the inner exception.</param>
|
||||
// Token: 0x06001809 RID: 6153 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001809")]
|
||||
[Address(RVA = "0xCBE570", Offset = "0xCBD570", VA = "0x180CBE570")]
|
||||
public IOException(string message, Exception innerException)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.IOException" /> class with the specified serialization and context information.</summary>
|
||||
/// <param name="info">The data for serializing or deserializing the object.</param>
|
||||
/// <param name="context">The source and destination for the object.</param>
|
||||
// Token: 0x0600180A RID: 6154 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600180A")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected IOException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CE3 RID: 3299
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x4000CE3")]
|
||||
[NonSerialized]
|
||||
private string _maybeFullPath;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000291 RID: 657
|
||||
[Token(Token = "0x2000291")]
|
||||
internal abstract class Iterator<TSource> : IEnumerable<TSource>, IEnumerable, IEnumerator<TSource>, IDisposable, IEnumerator
|
||||
{
|
||||
// Token: 0x060017D3 RID: 6099 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017D3")]
|
||||
[Address(RVA = "0x3013750", Offset = "0x3012750", VA = "0x183013750")]
|
||||
public Iterator()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002CF RID: 719
|
||||
// (get) Token: 0x060017D4 RID: 6100 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002CF")]
|
||||
public TSource Current
|
||||
{
|
||||
[Token(Token = "0x60017D4")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060017D5 RID: 6101
|
||||
[Token(Token = "0x60017D5")]
|
||||
[Address(Slot = "11")]
|
||||
protected abstract Iterator<TSource> Clone();
|
||||
|
||||
// Token: 0x060017D6 RID: 6102 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017D6")]
|
||||
[Address(RVA = "0x358E050", Offset = "0x358D050", VA = "0x18358E050", Slot = "7")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017D7 RID: 6103 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017D7")]
|
||||
[Address(RVA = "0x30FE410", Offset = "0x30FD410", VA = "0x1830FE410", Slot = "12")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017D8 RID: 6104 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017D8")]
|
||||
[Address(RVA = "0x3013600", Offset = "0x3012600", VA = "0x183013600", Slot = "4")]
|
||||
public IEnumerator<TSource> GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017D9 RID: 6105
|
||||
[Token(Token = "0x60017D9")]
|
||||
[Address(Slot = "13")]
|
||||
public abstract bool MoveNext();
|
||||
|
||||
// Token: 0x170002D0 RID: 720
|
||||
// (get) Token: 0x060017DA RID: 6106 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002D0")]
|
||||
object IEnumerator.Current
|
||||
{
|
||||
[Token(Token = "0x60017DA")]
|
||||
[Address(RVA = "0x1FC4650", Offset = "0x1FC3650", VA = "0x181FC4650", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060017DB RID: 6107 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017DB")]
|
||||
[Address(RVA = "0x1CD3830", Offset = "0x1CD2830", VA = "0x181CD3830", Slot = "5")]
|
||||
IEnumerator IEnumerable.GetEnumerator()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060017DC RID: 6108 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017DC")]
|
||||
[Address(RVA = "0x358E0D0", Offset = "0x358D0D0", VA = "0x18358E0D0", Slot = "10")]
|
||||
void IEnumerator.Reset()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CC8 RID: 3272
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CC8")]
|
||||
private int threadId;
|
||||
|
||||
// Token: 0x04000CC9 RID: 3273
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CC9")]
|
||||
internal int state;
|
||||
|
||||
// Token: 0x04000CCA RID: 3274
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CCA")]
|
||||
internal TSource current;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,529 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Creates a stream whose backing store is memory.</summary>
|
||||
// Token: 0x02000299 RID: 665
|
||||
[Token(Token = "0x2000299")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class MemoryStream : Stream
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.MemoryStream" /> class with an expandable capacity initialized to zero.</summary>
|
||||
// Token: 0x0600180B RID: 6155 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600180B")]
|
||||
[Address(RVA = "0xCC20D0", Offset = "0xCC10D0", VA = "0x180CC20D0")]
|
||||
public MemoryStream()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.MemoryStream" /> class with an expandable capacity initialized as specified.</summary>
|
||||
/// <param name="capacity">The initial size of the internal array in bytes.</param>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="capacity" /> is negative.</exception>
|
||||
// Token: 0x0600180C RID: 6156 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600180C")]
|
||||
[Address(RVA = "0xCC2000", Offset = "0xCC1000", VA = "0x180CC2000")]
|
||||
public MemoryStream(int capacity)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified byte array.</summary>
|
||||
/// <param name="buffer">The array of unsigned bytes from which to create the current stream.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x0600180D RID: 6157 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600180D")]
|
||||
[Address(RVA = "0xCC1F30", Offset = "0xCC0F30", VA = "0x180CC1F30")]
|
||||
public MemoryStream(byte[] buffer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified byte array with the <see cref="P:System.IO.MemoryStream.CanWrite" /> property set as specified.</summary>
|
||||
/// <param name="buffer">The array of unsigned bytes from which to create this stream.</param>
|
||||
/// <param name="writable">The setting of the <see cref="P:System.IO.MemoryStream.CanWrite" /> property, which determines whether the stream supports writing.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x0600180E RID: 6158 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600180E")]
|
||||
[Address(RVA = "0xCC1C70", Offset = "0xCC0C70", VA = "0x180CC1C70")]
|
||||
public MemoryStream(byte[] buffer, bool writable)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified region (index) of a byte array.</summary>
|
||||
/// <param name="buffer">The array of unsigned bytes from which to create this stream.</param>
|
||||
/// <param name="index">The index into <paramref name="buffer" /> at which the stream begins.</param>
|
||||
/// <param name="count">The length of the stream in bytes.</param>
|
||||
/// <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 less than zero.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
// Token: 0x0600180F RID: 6159 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600180F")]
|
||||
[Address(RVA = "0xCC1C40", Offset = "0xCC0C40", VA = "0x180CC1C40")]
|
||||
public MemoryStream(byte[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new non-resizable instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified region of a byte array, with the <see cref="P:System.IO.MemoryStream.CanWrite" /> property set as specified.</summary>
|
||||
/// <param name="buffer">The array of unsigned bytes from which to create this stream.</param>
|
||||
/// <param name="index">The index in <paramref name="buffer" /> at which the stream begins.</param>
|
||||
/// <param name="count">The length of the stream in bytes.</param>
|
||||
/// <param name="writable">The setting of the <see cref="P:System.IO.MemoryStream.CanWrite" /> property, which determines whether the stream supports writing.</param>
|
||||
/// <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" /> are negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
// Token: 0x06001810 RID: 6160 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001810")]
|
||||
[Address(RVA = "0xCC2150", Offset = "0xCC1150", VA = "0x180CC2150")]
|
||||
public MemoryStream(byte[] buffer, int index, int count, bool writable)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.MemoryStream" /> class based on the specified region of a byte array, with the <see cref="P:System.IO.MemoryStream.CanWrite" /> property set as specified, and the ability to call <see cref="M:System.IO.MemoryStream.GetBuffer" /> set as specified.</summary>
|
||||
/// <param name="buffer">The array of unsigned bytes from which to create this stream.</param>
|
||||
/// <param name="index">The index into <paramref name="buffer" /> at which the stream begins.</param>
|
||||
/// <param name="count">The length of the stream in bytes.</param>
|
||||
/// <param name="writable">The setting of the <see cref="P:System.IO.MemoryStream.CanWrite" /> property, which determines whether the stream supports writing.</param>
|
||||
/// <param name="publiclyVisible">
|
||||
/// <see langword="true" /> to enable <see cref="M:System.IO.MemoryStream.GetBuffer" />, which returns the unsigned byte array from which the stream was created; otherwise, <see langword="false" />.</param>
|
||||
/// <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.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
// Token: 0x06001811 RID: 6161 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001811")]
|
||||
[Address(RVA = "0xCC1D50", Offset = "0xCC0D50", VA = "0x180CC1D50")]
|
||||
public MemoryStream(byte[] buffer, int index, int count, bool writable, bool publiclyVisible)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the current stream supports reading.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream is open.</returns>
|
||||
// Token: 0x170002DC RID: 732
|
||||
// (get) Token: 0x06001812 RID: 6162 RVA: 0x00010668 File Offset: 0x0000E868
|
||||
[Token(Token = "0x170002DC")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6001812")]
|
||||
[Address(RVA = "0x6B4A60", Offset = "0x6B3A60", VA = "0x1806B4A60", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the current stream supports seeking.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream is open.</returns>
|
||||
// Token: 0x170002DD RID: 733
|
||||
// (get) Token: 0x06001813 RID: 6163 RVA: 0x00010680 File Offset: 0x0000E880
|
||||
[Token(Token = "0x170002DD")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6001813")]
|
||||
[Address(RVA = "0x6B4A60", Offset = "0x6B3A60", VA = "0x1806B4A60", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the current stream supports writing.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports writing; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170002DE RID: 734
|
||||
// (get) Token: 0x06001814 RID: 6164 RVA: 0x00010698 File Offset: 0x0000E898
|
||||
[Token(Token = "0x170002DE")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6001814")]
|
||||
[Address(RVA = "0x41CF10", Offset = "0x41BF10", VA = "0x18041CF10", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001815 RID: 6165 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001815")]
|
||||
[Address(RVA = "0xCC0860", Offset = "0xCBF860", VA = "0x180CC0860")]
|
||||
private void EnsureWriteable()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.MemoryStream" /> class 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: 0x06001816 RID: 6166 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001816")]
|
||||
[Address(RVA = "0xCC0730", Offset = "0xCBF730", VA = "0x180CC0730", Slot = "16")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001817 RID: 6167 RVA: 0x000106B0 File Offset: 0x0000E8B0
|
||||
[Token(Token = "0x6001817")]
|
||||
[Address(RVA = "0xCC0790", Offset = "0xCBF790", VA = "0x180CC0790")]
|
||||
private bool EnsureCapacity(int value)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Overrides the <see cref="M:System.IO.Stream.Flush" /> method so that no action is performed.</summary>
|
||||
// Token: 0x06001818 RID: 6168 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001818")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously clears all buffers for this stream, and monitors cancellation requests.</summary>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
|
||||
/// <returns>A task that represents the asynchronous flush operation.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
// Token: 0x06001819 RID: 6169 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001819")]
|
||||
[Address(RVA = "0xCC0890", Offset = "0xCBF890", VA = "0x180CC0890", Slot = "18")]
|
||||
[ComVisible(false)]
|
||||
public override Task FlushAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the array of unsigned bytes from which this stream was created.</summary>
|
||||
/// <returns>The byte array from which this stream was created, or the underlying array if a byte array was not provided to the <see cref="T:System.IO.MemoryStream" /> constructor during construction of the current instance.</returns>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">The <see langword="MemoryStream" /> instance was not created with a publicly visible buffer.</exception>
|
||||
// Token: 0x0600181A RID: 6170 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600181A")]
|
||||
[Address(RVA = "0xCC0990", Offset = "0xCBF990", VA = "0x180CC0990", Slot = "31")]
|
||||
public virtual byte[] GetBuffer()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600181B RID: 6171 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600181B")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
internal byte[] InternalGetBuffer()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600181C RID: 6172 RVA: 0x000106C8 File Offset: 0x0000E8C8
|
||||
[Token(Token = "0x600181C")]
|
||||
[Address(RVA = "0xCC0A50", Offset = "0xCBFA50", VA = "0x180CC0A50")]
|
||||
internal int InternalGetPosition()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600181D RID: 6173 RVA: 0x000106E0 File Offset: 0x0000E8E0
|
||||
[Token(Token = "0x600181D")]
|
||||
[Address(RVA = "0xCC0A70", Offset = "0xCBFA70", VA = "0x180CC0A70")]
|
||||
internal int InternalReadInt32()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600181E RID: 6174 RVA: 0x000106F8 File Offset: 0x0000E8F8
|
||||
[Token(Token = "0x600181E")]
|
||||
[Address(RVA = "0xCC0A10", Offset = "0xCBFA10", VA = "0x180CC0A10")]
|
||||
internal int InternalEmulateRead(int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the number of bytes allocated for this stream.</summary>
|
||||
/// <returns>The length of the usable portion of the buffer for the stream.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">A capacity is set that is negative or less than the current length of the stream.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <see langword="set" /> is invoked on a stream whose capacity cannot be modified.</exception>
|
||||
// Token: 0x170002DF RID: 735
|
||||
// (get) Token: 0x0600181F RID: 6175 RVA: 0x00010710 File Offset: 0x0000E910
|
||||
// (set) Token: 0x06001820 RID: 6176 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002DF")]
|
||||
public virtual int Capacity
|
||||
{
|
||||
[Token(Token = "0x600181F")]
|
||||
[Address(RVA = "0xCC2180", Offset = "0xCC1180", VA = "0x180CC2180", Slot = "32")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
[Token(Token = "0x6001820")]
|
||||
[Address(RVA = "0xCC21E0", Offset = "0xCC11E0", VA = "0x180CC21E0", Slot = "33")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the length of the stream in bytes.</summary>
|
||||
/// <returns>The length of the stream in bytes.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x170002E0 RID: 736
|
||||
// (get) Token: 0x06001821 RID: 6177 RVA: 0x00010728 File Offset: 0x0000E928
|
||||
[Token(Token = "0x170002E0")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6001821")]
|
||||
[Address(RVA = "0xCC21A0", Offset = "0xCC11A0", VA = "0x180CC21A0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the current position within the stream.</summary>
|
||||
/// <returns>The current position within the stream.</returns>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The position is set to a negative value or a value greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x170002E1 RID: 737
|
||||
// (get) Token: 0x06001822 RID: 6178 RVA: 0x00010740 File Offset: 0x0000E940
|
||||
// (set) Token: 0x06001823 RID: 6179 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002E1")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6001822")]
|
||||
[Address(RVA = "0xCC21C0", Offset = "0xCC11C0", VA = "0x180CC21C0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
[Token(Token = "0x6001823")]
|
||||
[Address(RVA = "0xCC2320", Offset = "0xCC1320", VA = "0x180CC2320", Slot = "12")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Reads a block of bytes from the current stream and writes the data to a buffer.</summary>
|
||||
/// <param name="buffer">When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the characters read from the current stream.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin storing data from the current stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <returns>The total number of bytes written into the buffer. This can be less than the number of bytes requested if that number of bytes are not currently available, or zero if the end of the stream is reached before any bytes are read.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="offset" /> subtracted from the buffer length is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream instance is closed.</exception>
|
||||
// Token: 0x06001824 RID: 6180 RVA: 0x00010758 File Offset: 0x0000E958
|
||||
[Token(Token = "0x6001824")]
|
||||
[Address(RVA = "0xCC0EA0", Offset = "0xCBFEA0", VA = "0x180CC0EA0", Slot = "27")]
|
||||
public override int Read([In] [Out] byte[] buffer, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation.</exception>
|
||||
// Token: 0x06001825 RID: 6181 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001825")]
|
||||
[Address(RVA = "0xCC0B80", Offset = "0xCBFB80", VA = "0x180CC0B80", Slot = "21")]
|
||||
[ComVisible(false)]
|
||||
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads a byte from the current stream.</summary>
|
||||
/// <returns>The byte cast to a <see cref="T:System.Int32" />, or -1 if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream instance is closed.</exception>
|
||||
// Token: 0x06001826 RID: 6182 RVA: 0x00010770 File Offset: 0x0000E970
|
||||
[Token(Token = "0x6001826")]
|
||||
[Address(RVA = "0xCC0E40", Offset = "0xCBFE40", VA = "0x180CC0E40", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Sets the position within the current stream to the specified value.</summary>
|
||||
/// <param name="offset">The new position within the stream. This is relative to the <paramref name="loc" /> parameter, and can be positive or negative.</param>
|
||||
/// <param name="loc">A value of type <see cref="T:System.IO.SeekOrigin" />, which acts as the seek reference point.</param>
|
||||
/// <returns>The new position within the stream, calculated by combining the initial reference point and the offset.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">Seeking is attempted before the beginning of the stream.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">There is an invalid <see cref="T:System.IO.SeekOrigin" />.
|
||||
/// -or-
|
||||
/// <paramref name="offset" /> caused an arithmetic overflow.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream instance is closed.</exception>
|
||||
// Token: 0x06001827 RID: 6183 RVA: 0x00010788 File Offset: 0x0000E988
|
||||
[Token(Token = "0x6001827")]
|
||||
[Address(RVA = "0xCC1100", Offset = "0xCC0100", VA = "0x180CC1100", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin loc)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Sets the length of the current stream to the specified value.</summary>
|
||||
/// <param name="value">The value at which to set the length.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">The current stream is not resizable and <paramref name="value" /> is larger than the current capacity.
|
||||
/// -or-
|
||||
/// The current stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="value" /> is negative or is greater than the maximum length of the <see cref="T:System.IO.MemoryStream" />, where the maximum length is(<see cref="F:System.Int32.MaxValue" /> - origin), and origin is the index into the underlying buffer at which the stream starts.</exception>
|
||||
// Token: 0x06001828 RID: 6184 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001828")]
|
||||
[Address(RVA = "0xCC1310", Offset = "0xCC0310", VA = "0x180CC1310", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the stream contents to a byte array, regardless of the <see cref="P:System.IO.MemoryStream.Position" /> property.</summary>
|
||||
/// <returns>A new byte array.</returns>
|
||||
// Token: 0x06001829 RID: 6185 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001829")]
|
||||
[Address(RVA = "0xCC1450", Offset = "0xCC0450", VA = "0x180CC1450", Slot = "34")]
|
||||
public virtual byte[] ToArray()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Writes a block of bytes to the current stream using data read from a buffer.</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing. For additional information see <see cref="P:System.IO.Stream.CanWrite" />.
|
||||
/// -or-
|
||||
/// The current position is closer than <paramref name="count" /> bytes to the end of the stream, and the capacity cannot be modified.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="offset" /> subtracted from the buffer length is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> are negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream instance is closed.</exception>
|
||||
// Token: 0x0600182A RID: 6186 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600182A")]
|
||||
[Address(RVA = "0xCC1940", Offset = "0xCC0940", VA = "0x180CC1940", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous write operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation.</exception>
|
||||
// Token: 0x0600182B RID: 6187 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600182B")]
|
||||
[Address(RVA = "0xCC1500", Offset = "0xCC0500", VA = "0x180CC1500", Slot = "24")]
|
||||
[ComVisible(false)]
|
||||
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Writes a byte to the current stream at the current position.</summary>
|
||||
/// <param name="value">The byte to write.</param>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing. For additional information see <see cref="P:System.IO.Stream.CanWrite" />.
|
||||
/// -or-
|
||||
/// The current position is at the end of the stream, and the capacity cannot be modified.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current stream is closed.</exception>
|
||||
// Token: 0x0600182C RID: 6188 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600182C")]
|
||||
[Address(RVA = "0xCC1790", Offset = "0xCC0790", VA = "0x180CC1790", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the entire contents of this memory stream to another stream.</summary>
|
||||
/// <param name="stream">The stream to write this memory stream to.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current or target stream is closed.</exception>
|
||||
// Token: 0x0600182D RID: 6189 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600182D")]
|
||||
[Address(RVA = "0xCC1880", Offset = "0xCC0880", VA = "0x180CC1880", Slot = "35")]
|
||||
public virtual void WriteTo(Stream stream)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CE4 RID: 3300
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000CE4")]
|
||||
private byte[] _buffer;
|
||||
|
||||
// Token: 0x04000CE5 RID: 3301
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000CE5")]
|
||||
private int _origin;
|
||||
|
||||
// Token: 0x04000CE6 RID: 3302
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4000CE6")]
|
||||
private int _position;
|
||||
|
||||
// Token: 0x04000CE7 RID: 3303
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000CE7")]
|
||||
private int _length;
|
||||
|
||||
// Token: 0x04000CE8 RID: 3304
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x4000CE8")]
|
||||
private int _capacity;
|
||||
|
||||
// Token: 0x04000CE9 RID: 3305
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000CE9")]
|
||||
private bool _expandable;
|
||||
|
||||
// Token: 0x04000CEA RID: 3306
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x41")]
|
||||
[Token(Token = "0x4000CEA")]
|
||||
private bool _writable;
|
||||
|
||||
// Token: 0x04000CEB RID: 3307
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x42")]
|
||||
[Token(Token = "0x4000CEB")]
|
||||
private bool _exposable;
|
||||
|
||||
// Token: 0x04000CEC RID: 3308
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x43")]
|
||||
[Token(Token = "0x4000CEC")]
|
||||
private bool _isOpen;
|
||||
|
||||
// Token: 0x04000CED RID: 3309
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000CED")]
|
||||
[NonSerialized]
|
||||
private Task<int> _lastReadTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002BF RID: 703
|
||||
[Token(Token = "0x20002BF")]
|
||||
internal enum MonoFileType
|
||||
{
|
||||
// Token: 0x04000DA8 RID: 3496
|
||||
[Token(Token = "0x4000DA8")]
|
||||
Unknown,
|
||||
// Token: 0x04000DA9 RID: 3497
|
||||
[Token(Token = "0x4000DA9")]
|
||||
Disk,
|
||||
// Token: 0x04000DAA RID: 3498
|
||||
[Token(Token = "0x4000DAA")]
|
||||
Char,
|
||||
// Token: 0x04000DAB RID: 3499
|
||||
[Token(Token = "0x4000DAB")]
|
||||
Pipe,
|
||||
// Token: 0x04000DAC RID: 3500
|
||||
[Token(Token = "0x4000DAC")]
|
||||
Remote = 32768
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,525 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C0 RID: 704
|
||||
[Token(Token = "0x20002C0")]
|
||||
internal static class MonoIO
|
||||
{
|
||||
// Token: 0x060019DD RID: 6621 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019DD")]
|
||||
[Address(RVA = "0xCC2F60", Offset = "0xCC1F60", VA = "0x180CC2F60")]
|
||||
public static Exception GetException(MonoIOError error)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060019DE RID: 6622 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019DE")]
|
||||
[Address(RVA = "0xCC28D0", Offset = "0xCC18D0", VA = "0x180CC28D0")]
|
||||
public static Exception GetException(string path, MonoIOError error)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060019DF RID: 6623 RVA: 0x00010F68 File Offset: 0x0000F168
|
||||
[Token(Token = "0x60019DF")]
|
||||
[Address(RVA = "0xCC24E0", Offset = "0xCC14E0", VA = "0x180CC24E0")]
|
||||
private unsafe static bool CreateDirectory(char* path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E0 RID: 6624 RVA: 0x00010F80 File Offset: 0x0000F180
|
||||
[Token(Token = "0x60019E0")]
|
||||
[Address(RVA = "0xCC24F0", Offset = "0xCC14F0", VA = "0x180CC24F0")]
|
||||
public static bool CreateDirectory(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E1 RID: 6625 RVA: 0x00010F98 File Offset: 0x0000F198
|
||||
[Token(Token = "0x60019E1")]
|
||||
[Address(RVA = "0xCC3680", Offset = "0xCC2680", VA = "0x180CC3680")]
|
||||
private unsafe static bool RemoveDirectory(char* path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E2 RID: 6626 RVA: 0x00010FB0 File Offset: 0x0000F1B0
|
||||
[Token(Token = "0x60019E2")]
|
||||
[Address(RVA = "0xCC3610", Offset = "0xCC2610", VA = "0x180CC3610")]
|
||||
public static bool RemoveDirectory(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E3 RID: 6627 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60019E3")]
|
||||
[Address(RVA = "0xCC28C0", Offset = "0xCC18C0", VA = "0x180CC28C0")]
|
||||
public static string GetCurrentDirectory(out MonoIOError error)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060019E4 RID: 6628 RVA: 0x00010FC8 File Offset: 0x0000F1C8
|
||||
[Token(Token = "0x60019E4")]
|
||||
[Address(RVA = "0xCC3370", Offset = "0xCC2370", VA = "0x180CC3370")]
|
||||
private unsafe static bool MoveFile(char* path, char* dest, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E5 RID: 6629 RVA: 0x00010FE0 File Offset: 0x0000F1E0
|
||||
[Token(Token = "0x60019E5")]
|
||||
[Address(RVA = "0xCC3380", Offset = "0xCC2380", VA = "0x180CC3380")]
|
||||
public static bool MoveFile(string path, string dest, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E6 RID: 6630 RVA: 0x00010FF8 File Offset: 0x0000F1F8
|
||||
[Token(Token = "0x60019E6")]
|
||||
[Address(RVA = "0xCC2420", Offset = "0xCC1420", VA = "0x180CC2420")]
|
||||
private unsafe static bool CopyFile(char* path, char* dest, bool overwrite, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E7 RID: 6631 RVA: 0x00011010 File Offset: 0x0000F210
|
||||
[Token(Token = "0x60019E7")]
|
||||
[Address(RVA = "0xCC2430", Offset = "0xCC1430", VA = "0x180CC2430")]
|
||||
public static bool CopyFile(string path, string dest, bool overwrite, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E8 RID: 6632 RVA: 0x00011028 File Offset: 0x0000F228
|
||||
[Token(Token = "0x60019E8")]
|
||||
[Address(RVA = "0xCC2570", Offset = "0xCC1570", VA = "0x180CC2570")]
|
||||
private unsafe static bool DeleteFile(char* path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019E9 RID: 6633 RVA: 0x00011040 File Offset: 0x0000F240
|
||||
[Token(Token = "0x60019E9")]
|
||||
[Address(RVA = "0xCC2580", Offset = "0xCC1580", VA = "0x180CC2580")]
|
||||
public static bool DeleteFile(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019EA RID: 6634 RVA: 0x00011058 File Offset: 0x0000F258
|
||||
[Token(Token = "0x60019EA")]
|
||||
[Address(RVA = "0xCC3040", Offset = "0xCC2040", VA = "0x180CC3040")]
|
||||
private unsafe static FileAttributes GetFileAttributes(char* path, out MonoIOError error)
|
||||
{
|
||||
return (FileAttributes)0;
|
||||
}
|
||||
|
||||
// Token: 0x060019EB RID: 6635 RVA: 0x00011070 File Offset: 0x0000F270
|
||||
[Token(Token = "0x60019EB")]
|
||||
[Address(RVA = "0xCC3050", Offset = "0xCC2050", VA = "0x180CC3050")]
|
||||
public static FileAttributes GetFileAttributes(string path, out MonoIOError error)
|
||||
{
|
||||
return (FileAttributes)0;
|
||||
}
|
||||
|
||||
// Token: 0x060019EC RID: 6636 RVA: 0x00011088 File Offset: 0x0000F288
|
||||
[Token(Token = "0x60019EC")]
|
||||
[Address(RVA = "0xCC38E0", Offset = "0xCC28E0", VA = "0x180CC38E0")]
|
||||
private unsafe static bool SetFileAttributes(char* path, FileAttributes attrs, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019ED RID: 6637 RVA: 0x000110A0 File Offset: 0x0000F2A0
|
||||
[Token(Token = "0x60019ED")]
|
||||
[Address(RVA = "0xCC3860", Offset = "0xCC2860", VA = "0x180CC3860")]
|
||||
public static bool SetFileAttributes(string path, FileAttributes attrs, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019EE RID: 6638 RVA: 0x000110B8 File Offset: 0x0000F2B8
|
||||
[Token(Token = "0x60019EE")]
|
||||
[Address(RVA = "0xCC3250", Offset = "0xCC2250", VA = "0x180CC3250")]
|
||||
private static MonoFileType GetFileType(IntPtr handle, out MonoIOError error)
|
||||
{
|
||||
return MonoFileType.Unknown;
|
||||
}
|
||||
|
||||
// Token: 0x060019EF RID: 6639 RVA: 0x000110D0 File Offset: 0x0000F2D0
|
||||
[Token(Token = "0x60019EF")]
|
||||
[Address(RVA = "0xCC3150", Offset = "0xCC2150", VA = "0x180CC3150")]
|
||||
public static MonoFileType GetFileType(SafeHandle safeHandle, out MonoIOError error)
|
||||
{
|
||||
return MonoFileType.Unknown;
|
||||
}
|
||||
|
||||
// Token: 0x060019F0 RID: 6640 RVA: 0x000110E8 File Offset: 0x0000F2E8
|
||||
[Token(Token = "0x60019F0")]
|
||||
[Address(RVA = "0xCC28A0", Offset = "0xCC18A0", VA = "0x180CC28A0")]
|
||||
private unsafe static IntPtr FindFirstFile(char* pathWithPattern, out string fileName, out int fileAttr, out int error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019F1 RID: 6641 RVA: 0x00011100 File Offset: 0x0000F300
|
||||
[Token(Token = "0x60019F1")]
|
||||
[Address(RVA = "0xCC2810", Offset = "0xCC1810", VA = "0x180CC2810")]
|
||||
public static IntPtr FindFirstFile(string pathWithPattern, out string fileName, out int fileAttr, out int error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019F2 RID: 6642 RVA: 0x00011118 File Offset: 0x0000F318
|
||||
[Token(Token = "0x60019F2")]
|
||||
[Address(RVA = "0xCC28B0", Offset = "0xCC18B0", VA = "0x180CC28B0")]
|
||||
public static bool FindNextFile(IntPtr hnd, out string fileName, out int fileAttr, out int error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F3 RID: 6643 RVA: 0x00011130 File Offset: 0x0000F330
|
||||
[Token(Token = "0x60019F3")]
|
||||
[Address(RVA = "0xCC2800", Offset = "0xCC1800", VA = "0x180CC2800")]
|
||||
public static bool FindCloseFile(IntPtr hnd)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F4 RID: 6644 RVA: 0x00011148 File Offset: 0x0000F348
|
||||
[Token(Token = "0x60019F4")]
|
||||
[Address(RVA = "0xCC2790", Offset = "0xCC1790", VA = "0x180CC2790")]
|
||||
public static bool Exists(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F5 RID: 6645 RVA: 0x00011160 File Offset: 0x0000F360
|
||||
[Token(Token = "0x60019F5")]
|
||||
[Address(RVA = "0xCC2690", Offset = "0xCC1690", VA = "0x180CC2690")]
|
||||
public static bool ExistsFile(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F6 RID: 6646 RVA: 0x00011178 File Offset: 0x0000F378
|
||||
[Token(Token = "0x60019F6")]
|
||||
[Address(RVA = "0xCC2600", Offset = "0xCC1600", VA = "0x180CC2600")]
|
||||
public static bool ExistsDirectory(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F7 RID: 6647 RVA: 0x00011190 File Offset: 0x0000F390
|
||||
[Token(Token = "0x60019F7")]
|
||||
[Address(RVA = "0xCC2710", Offset = "0xCC1710", VA = "0x180CC2710")]
|
||||
public static bool ExistsSymlink(string path, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F8 RID: 6648 RVA: 0x000111A8 File Offset: 0x0000F3A8
|
||||
[Token(Token = "0x60019F8")]
|
||||
[Address(RVA = "0xCC30C0", Offset = "0xCC20C0", VA = "0x180CC30C0")]
|
||||
private unsafe static bool GetFileStat(char* path, out MonoIOStat stat, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019F9 RID: 6649 RVA: 0x000111C0 File Offset: 0x0000F3C0
|
||||
[Token(Token = "0x60019F9")]
|
||||
[Address(RVA = "0xCC30D0", Offset = "0xCC20D0", VA = "0x180CC30D0")]
|
||||
public static bool GetFileStat(string path, out MonoIOStat stat, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019FA RID: 6650 RVA: 0x000111D8 File Offset: 0x0000F3D8
|
||||
[Token(Token = "0x60019FA")]
|
||||
[Address(RVA = "0xCC3420", Offset = "0xCC2420", VA = "0x180CC3420")]
|
||||
private unsafe static IntPtr Open(char* filename, FileMode mode, FileAccess access, FileShare share, FileOptions options, out MonoIOError error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019FB RID: 6651 RVA: 0x000111F0 File Offset: 0x0000F3F0
|
||||
[Token(Token = "0x60019FB")]
|
||||
[Address(RVA = "0xCC3430", Offset = "0xCC2430", VA = "0x180CC3430")]
|
||||
public static IntPtr Open(string filename, FileMode mode, FileAccess access, FileShare share, FileOptions options, out MonoIOError error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019FC RID: 6652 RVA: 0x00011208 File Offset: 0x0000F408
|
||||
[Token(Token = "0x60019FC")]
|
||||
[Address(RVA = "0xCC2410", Offset = "0xCC1410", VA = "0x180CC2410")]
|
||||
public static bool Close(IntPtr handle, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060019FD RID: 6653 RVA: 0x00011220 File Offset: 0x0000F420
|
||||
[Token(Token = "0x60019FD")]
|
||||
[Address(RVA = "0xCC35F0", Offset = "0xCC25F0", VA = "0x180CC35F0")]
|
||||
private static int Read(IntPtr handle, byte[] dest, int dest_offset, int count, out MonoIOError error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019FE RID: 6654 RVA: 0x00011238 File Offset: 0x0000F438
|
||||
[Token(Token = "0x60019FE")]
|
||||
[Address(RVA = "0xCC34C0", Offset = "0xCC24C0", VA = "0x180CC34C0")]
|
||||
public static int Read(SafeHandle safeHandle, byte[] dest, int dest_offset, int count, out MonoIOError error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060019FF RID: 6655 RVA: 0x00011250 File Offset: 0x0000F450
|
||||
[Token(Token = "0x60019FF")]
|
||||
[Address(RVA = "0xCC3E80", Offset = "0xCC2E80", VA = "0x180CC3E80")]
|
||||
private static int Write(IntPtr handle, [In] byte[] src, int src_offset, int count, out MonoIOError error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A00 RID: 6656 RVA: 0x00011268 File Offset: 0x0000F468
|
||||
[Token(Token = "0x6001A00")]
|
||||
[Address(RVA = "0xCC3E90", Offset = "0xCC2E90", VA = "0x180CC3E90")]
|
||||
public static int Write(SafeHandle safeHandle, byte[] src, int src_offset, int count, out MonoIOError error)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A01 RID: 6657 RVA: 0x00011280 File Offset: 0x0000F480
|
||||
[Token(Token = "0x6001A01")]
|
||||
[Address(RVA = "0xCC3690", Offset = "0xCC2690", VA = "0x180CC3690")]
|
||||
private static long Seek(IntPtr handle, long offset, SeekOrigin origin, out MonoIOError error)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x06001A02 RID: 6658 RVA: 0x00011298 File Offset: 0x0000F498
|
||||
[Token(Token = "0x6001A02")]
|
||||
[Address(RVA = "0xCC36A0", Offset = "0xCC26A0", VA = "0x180CC36A0")]
|
||||
public static long Seek(SafeHandle safeHandle, long offset, SeekOrigin origin, out MonoIOError error)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x06001A03 RID: 6659 RVA: 0x000112B0 File Offset: 0x0000F4B0
|
||||
[Token(Token = "0x6001A03")]
|
||||
[Address(RVA = "0xCC3260", Offset = "0xCC2260", VA = "0x180CC3260")]
|
||||
private static long GetLength(IntPtr handle, out MonoIOError error)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x06001A04 RID: 6660 RVA: 0x000112C8 File Offset: 0x0000F4C8
|
||||
[Token(Token = "0x6001A04")]
|
||||
[Address(RVA = "0xCC3270", Offset = "0xCC2270", VA = "0x180CC3270")]
|
||||
public static long GetLength(SafeHandle safeHandle, out MonoIOError error)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x06001A05 RID: 6661 RVA: 0x000112E0 File Offset: 0x0000F4E0
|
||||
[Token(Token = "0x6001A05")]
|
||||
[Address(RVA = "0xCC3E70", Offset = "0xCC2E70", VA = "0x180CC3E70")]
|
||||
private static bool SetLength(IntPtr handle, long length, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A06 RID: 6662 RVA: 0x000112F8 File Offset: 0x0000F4F8
|
||||
[Token(Token = "0x6001A06")]
|
||||
[Address(RVA = "0xCC3D60", Offset = "0xCC2D60", VA = "0x180CC3D60")]
|
||||
public static bool SetLength(SafeHandle safeHandle, long length, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A07 RID: 6663 RVA: 0x00011310 File Offset: 0x0000F510
|
||||
[Token(Token = "0x6001A07")]
|
||||
[Address(RVA = "0xCC3AE0", Offset = "0xCC2AE0", VA = "0x180CC3AE0")]
|
||||
private static bool SetFileTime(IntPtr handle, long creation_time, long last_access_time, long last_write_time, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A08 RID: 6664 RVA: 0x00011328 File Offset: 0x0000F528
|
||||
[Token(Token = "0x6001A08")]
|
||||
[Address(RVA = "0xCC3AF0", Offset = "0xCC2AF0", VA = "0x180CC3AF0")]
|
||||
public static bool SetFileTime(SafeHandle safeHandle, long creation_time, long last_access_time, long last_write_time, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A09 RID: 6665 RVA: 0x00011340 File Offset: 0x0000F540
|
||||
[Token(Token = "0x6001A09")]
|
||||
[Address(RVA = "0xCC37C0", Offset = "0xCC27C0", VA = "0x180CC37C0")]
|
||||
public static bool SetCreationTime(string path, DateTime dateTime, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A0A RID: 6666 RVA: 0x00011358 File Offset: 0x0000F558
|
||||
[Token(Token = "0x6001A0A")]
|
||||
[Address(RVA = "0xCC3C20", Offset = "0xCC2C20", VA = "0x180CC3C20")]
|
||||
public static bool SetLastAccessTime(string path, DateTime dateTime, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A0B RID: 6667 RVA: 0x00011370 File Offset: 0x0000F570
|
||||
[Token(Token = "0x6001A0B")]
|
||||
[Address(RVA = "0xCC3CC0", Offset = "0xCC2CC0", VA = "0x180CC3CC0")]
|
||||
public static bool SetLastWriteTime(string path, DateTime dateTime, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A0C RID: 6668 RVA: 0x00011388 File Offset: 0x0000F588
|
||||
[Token(Token = "0x6001A0C")]
|
||||
[Address(RVA = "0xCC38F0", Offset = "0xCC28F0", VA = "0x180CC38F0")]
|
||||
public static bool SetFileTime(string path, int type, long creation_time, long last_access_time, long last_write_time, DateTime dateTime, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x1700031E RID: 798
|
||||
// (get) Token: 0x06001A0D RID: 6669 RVA: 0x000113A0 File Offset: 0x0000F5A0
|
||||
[Token(Token = "0x1700031E")]
|
||||
public static IntPtr ConsoleOutput
|
||||
{
|
||||
[Token(Token = "0x6001A0D")]
|
||||
[Address(RVA = "0xCC4060", Offset = "0xCC3060", VA = "0x180CC4060")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700031F RID: 799
|
||||
// (get) Token: 0x06001A0E RID: 6670 RVA: 0x000113B8 File Offset: 0x0000F5B8
|
||||
[Token(Token = "0x1700031F")]
|
||||
public static IntPtr ConsoleInput
|
||||
{
|
||||
[Token(Token = "0x6001A0E")]
|
||||
[Address(RVA = "0xCC4050", Offset = "0xCC3050", VA = "0x180CC4050")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000320 RID: 800
|
||||
// (get) Token: 0x06001A0F RID: 6671 RVA: 0x000113D0 File Offset: 0x0000F5D0
|
||||
[Token(Token = "0x17000320")]
|
||||
public static IntPtr ConsoleError
|
||||
{
|
||||
[Token(Token = "0x6001A0F")]
|
||||
[Address(RVA = "0xCC4040", Offset = "0xCC3040", VA = "0x180CC4040")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001A10 RID: 6672 RVA: 0x000113E8 File Offset: 0x0000F5E8
|
||||
[Token(Token = "0x6001A10")]
|
||||
[Address(RVA = "0xCC2560", Offset = "0xCC1560", VA = "0x180CC2560")]
|
||||
public static bool CreatePipe(out IntPtr read_handle, out IntPtr write_handle, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A11 RID: 6673 RVA: 0x00011400 File Offset: 0x0000F600
|
||||
[Token(Token = "0x6001A11")]
|
||||
[Address(RVA = "0xCC25F0", Offset = "0xCC15F0", VA = "0x180CC25F0")]
|
||||
public static bool DuplicateHandle(IntPtr source_process_handle, IntPtr source_handle, IntPtr target_process_handle, out IntPtr target_handle, int access, int inherit, int options, out MonoIOError error)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x17000321 RID: 801
|
||||
// (get) Token: 0x06001A12 RID: 6674 RVA: 0x00011418 File Offset: 0x0000F618
|
||||
[Token(Token = "0x17000321")]
|
||||
public static char VolumeSeparatorChar
|
||||
{
|
||||
[Token(Token = "0x6001A12")]
|
||||
[Address(RVA = "0xCC4090", Offset = "0xCC3090", VA = "0x180CC4090")]
|
||||
get
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000322 RID: 802
|
||||
// (get) Token: 0x06001A13 RID: 6675 RVA: 0x00011430 File Offset: 0x0000F630
|
||||
[Token(Token = "0x17000322")]
|
||||
public static char DirectorySeparatorChar
|
||||
{
|
||||
[Token(Token = "0x6001A13")]
|
||||
[Address(RVA = "0xCC4070", Offset = "0xCC3070", VA = "0x180CC4070")]
|
||||
get
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000323 RID: 803
|
||||
// (get) Token: 0x06001A14 RID: 6676 RVA: 0x00011448 File Offset: 0x0000F648
|
||||
[Token(Token = "0x17000323")]
|
||||
public static char AltDirectorySeparatorChar
|
||||
{
|
||||
[Token(Token = "0x6001A14")]
|
||||
[Address(RVA = "0xCC4030", Offset = "0xCC3030", VA = "0x180CC4030")]
|
||||
get
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000324 RID: 804
|
||||
// (get) Token: 0x06001A15 RID: 6677 RVA: 0x00011460 File Offset: 0x0000F660
|
||||
[Token(Token = "0x17000324")]
|
||||
public static char PathSeparator
|
||||
{
|
||||
[Token(Token = "0x6001A15")]
|
||||
[Address(RVA = "0xCC4080", Offset = "0xCC3080", VA = "0x180CC4080")]
|
||||
get
|
||||
{
|
||||
return '\0';
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001A16 RID: 6678 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A16")]
|
||||
[Address(RVA = "0x92BEF0", Offset = "0x92AEF0", VA = "0x18092BEF0")]
|
||||
private static void DumpHandles()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A17 RID: 6679 RVA: 0x00011478 File Offset: 0x0000F678
|
||||
[Token(Token = "0x6001A17")]
|
||||
[Address(RVA = "0xCC3600", Offset = "0xCC2600", VA = "0x180CC3600")]
|
||||
public static bool RemapPath(string path, out string newPath)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x04000DAD RID: 3501
|
||||
[Token(Token = "0x4000DAD")]
|
||||
public static readonly IntPtr InvalidHandle;
|
||||
|
||||
// Token: 0x04000DAE RID: 3502
|
||||
[Token(Token = "0x4000DAE")]
|
||||
private static bool dump_handles;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C1 RID: 705
|
||||
[Token(Token = "0x20002C1")]
|
||||
internal enum MonoIOError
|
||||
{
|
||||
// Token: 0x04000DB0 RID: 3504
|
||||
[Token(Token = "0x4000DB0")]
|
||||
ERROR_SUCCESS,
|
||||
// Token: 0x04000DB1 RID: 3505
|
||||
[Token(Token = "0x4000DB1")]
|
||||
ERROR_FILE_NOT_FOUND = 2,
|
||||
// Token: 0x04000DB2 RID: 3506
|
||||
[Token(Token = "0x4000DB2")]
|
||||
ERROR_PATH_NOT_FOUND,
|
||||
// Token: 0x04000DB3 RID: 3507
|
||||
[Token(Token = "0x4000DB3")]
|
||||
ERROR_TOO_MANY_OPEN_FILES,
|
||||
// Token: 0x04000DB4 RID: 3508
|
||||
[Token(Token = "0x4000DB4")]
|
||||
ERROR_ACCESS_DENIED,
|
||||
// Token: 0x04000DB5 RID: 3509
|
||||
[Token(Token = "0x4000DB5")]
|
||||
ERROR_INVALID_HANDLE,
|
||||
// Token: 0x04000DB6 RID: 3510
|
||||
[Token(Token = "0x4000DB6")]
|
||||
ERROR_INVALID_DRIVE = 15,
|
||||
// Token: 0x04000DB7 RID: 3511
|
||||
[Token(Token = "0x4000DB7")]
|
||||
ERROR_NOT_SAME_DEVICE = 17,
|
||||
// Token: 0x04000DB8 RID: 3512
|
||||
[Token(Token = "0x4000DB8")]
|
||||
ERROR_NO_MORE_FILES,
|
||||
// Token: 0x04000DB9 RID: 3513
|
||||
[Token(Token = "0x4000DB9")]
|
||||
ERROR_NOT_READY = 21,
|
||||
// Token: 0x04000DBA RID: 3514
|
||||
[Token(Token = "0x4000DBA")]
|
||||
ERROR_WRITE_FAULT = 29,
|
||||
// Token: 0x04000DBB RID: 3515
|
||||
[Token(Token = "0x4000DBB")]
|
||||
ERROR_READ_FAULT,
|
||||
// Token: 0x04000DBC RID: 3516
|
||||
[Token(Token = "0x4000DBC")]
|
||||
ERROR_GEN_FAILURE,
|
||||
// Token: 0x04000DBD RID: 3517
|
||||
[Token(Token = "0x4000DBD")]
|
||||
ERROR_SHARING_VIOLATION,
|
||||
// Token: 0x04000DBE RID: 3518
|
||||
[Token(Token = "0x4000DBE")]
|
||||
ERROR_LOCK_VIOLATION,
|
||||
// Token: 0x04000DBF RID: 3519
|
||||
[Token(Token = "0x4000DBF")]
|
||||
ERROR_HANDLE_DISK_FULL = 39,
|
||||
// Token: 0x04000DC0 RID: 3520
|
||||
[Token(Token = "0x4000DC0")]
|
||||
ERROR_FILE_EXISTS = 80,
|
||||
// Token: 0x04000DC1 RID: 3521
|
||||
[Token(Token = "0x4000DC1")]
|
||||
ERROR_CANNOT_MAKE = 82,
|
||||
// Token: 0x04000DC2 RID: 3522
|
||||
[Token(Token = "0x4000DC2")]
|
||||
ERROR_INVALID_PARAMETER = 87,
|
||||
// Token: 0x04000DC3 RID: 3523
|
||||
[Token(Token = "0x4000DC3")]
|
||||
ERROR_BROKEN_PIPE = 109,
|
||||
// Token: 0x04000DC4 RID: 3524
|
||||
[Token(Token = "0x4000DC4")]
|
||||
ERROR_INVALID_NAME = 123,
|
||||
// Token: 0x04000DC5 RID: 3525
|
||||
[Token(Token = "0x4000DC5")]
|
||||
ERROR_DIR_NOT_EMPTY = 145,
|
||||
// Token: 0x04000DC6 RID: 3526
|
||||
[Token(Token = "0x4000DC6")]
|
||||
ERROR_ALREADY_EXISTS = 183,
|
||||
// Token: 0x04000DC7 RID: 3527
|
||||
[Token(Token = "0x4000DC7")]
|
||||
ERROR_FILENAME_EXCED_RANGE = 206,
|
||||
// Token: 0x04000DC8 RID: 3528
|
||||
[Token(Token = "0x4000DC8")]
|
||||
ERROR_DIRECTORY = 267,
|
||||
// Token: 0x04000DC9 RID: 3529
|
||||
[Token(Token = "0x4000DC9")]
|
||||
ERROR_ENCRYPTION_FAILED = 6000
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C2 RID: 706
|
||||
[Token(Token = "0x20002C2")]
|
||||
internal struct MonoIOStat
|
||||
{
|
||||
// Token: 0x04000DCA RID: 3530
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000DCA")]
|
||||
public FileAttributes fileAttributes;
|
||||
|
||||
// Token: 0x04000DCB RID: 3531
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000DCB")]
|
||||
public long Length;
|
||||
|
||||
// Token: 0x04000DCC RID: 3532
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000DCC")]
|
||||
public long CreationTime;
|
||||
|
||||
// Token: 0x04000DCD RID: 3533
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000DCD")]
|
||||
public long LastAccessTime;
|
||||
|
||||
// Token: 0x04000DCE RID: 3534
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000DCE")]
|
||||
public long LastWriteTime;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,428 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Performs operations on <see cref="T:System.String" /> instances that contain file or directory path information. These operations are performed in a cross-platform manner.</summary>
|
||||
// Token: 0x020002C3 RID: 707
|
||||
[Token(Token = "0x20002C3")]
|
||||
[ComVisible(true)]
|
||||
public static class Path
|
||||
{
|
||||
/// <summary>Changes the extension of a path string.</summary>
|
||||
/// <param name="path">The path information to modify. The path cannot contain any of the characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</param>
|
||||
/// <param name="extension">The new extension (with or without a leading period). Specify <see langword="null" /> to remove an existing extension from <paramref name="path" />.</param>
|
||||
/// <returns>The modified path information.
|
||||
/// On Windows-based desktop platforms, if <paramref name="path" /> is <see langword="null" /> or an empty string (""), the path information is returned unmodified. If <paramref name="extension" /> is <see langword="null" />, the returned string contains the specified path with its extension removed. If <paramref name="path" /> has no extension, and <paramref name="extension" /> is not <see langword="null" />, the returned path string contains <paramref name="extension" /> appended to the end of <paramref name="path" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
// Token: 0x06001A19 RID: 6681 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A19")]
|
||||
[Address(RVA = "0xCC50D0", Offset = "0xCC40D0", VA = "0x180CC50D0")]
|
||||
public static string ChangeExtension(string path, string extension)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Combines two strings into a path.</summary>
|
||||
/// <param name="path1">The first path to combine.</param>
|
||||
/// <param name="path2">The second path to combine.</param>
|
||||
/// <returns>The combined paths. If one of the specified paths is a zero-length string, this method returns the other path. If <paramref name="path2" /> contains an absolute path, this method returns <paramref name="path2" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path1" /> or <paramref name="path2" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path1" /> or <paramref name="path2" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001A1A RID: 6682 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A1A")]
|
||||
[Address(RVA = "0xCC5A90", Offset = "0xCC4A90", VA = "0x180CC5A90")]
|
||||
public static string Combine(string path1, string path2)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A1B RID: 6683 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A1B")]
|
||||
[Address(RVA = "0xCC55A0", Offset = "0xCC45A0", VA = "0x180CC55A0")]
|
||||
internal static string CleanPath(string s)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the directory information for the specified path string.</summary>
|
||||
/// <param name="path">The path of a file or directory.</param>
|
||||
/// <returns>Directory information for <paramref name="path" />, or <see langword="null" /> if <paramref name="path" /> denotes a root directory or is null. Returns <see cref="F:System.String.Empty" /> if <paramref name="path" /> does not contain directory information.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="path" /> parameter contains invalid characters, is empty, or contains only white spaces.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">In the .NET for Windows Store apps or the Portable Class Library, catch the base class exception, <see cref="T:System.IO.IOException" />, instead.
|
||||
///
|
||||
///
|
||||
///
|
||||
///
|
||||
/// The <paramref name="path" /> parameter is longer than the system-defined maximum length.</exception>
|
||||
// Token: 0x06001A1C RID: 6684 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A1C")]
|
||||
[Address(RVA = "0xCC6300", Offset = "0xCC5300", VA = "0x180CC6300")]
|
||||
public static string GetDirectoryName(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the extension of the specified path string.</summary>
|
||||
/// <param name="path">The path string from which to get the extension.</param>
|
||||
/// <returns>The extension of the specified path (including the period "."), or <see langword="null" />, or <see cref="F:System.String.Empty" />. If <paramref name="path" /> is <see langword="null" />, <see cref="M:System.IO.Path.GetExtension(System.String)" /> returns <see langword="null" />. If <paramref name="path" /> does not have extension information, <see cref="M:System.IO.Path.GetExtension(System.String)" /> returns <see cref="F:System.String.Empty" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
// Token: 0x06001A1D RID: 6685 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A1D")]
|
||||
[Address(RVA = "0xCC6720", Offset = "0xCC5720", VA = "0x180CC6720")]
|
||||
public static string GetExtension(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the file name and extension of the specified path string.</summary>
|
||||
/// <param name="path">The path string from which to obtain the file name and extension.</param>
|
||||
/// <returns>The characters after the last directory character in <paramref name="path" />. If the last character of <paramref name="path" /> is a directory or volume separator character, this method returns <see cref="F:System.String.Empty" />. If <paramref name="path" /> is <see langword="null" />, this method returns <see langword="null" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
// Token: 0x06001A1E RID: 6686 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A1E")]
|
||||
[Address(RVA = "0xCC6890", Offset = "0xCC5890", VA = "0x180CC6890")]
|
||||
public static string GetFileName(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the file name of the specified path string without the extension.</summary>
|
||||
/// <param name="path">The path of the file.</param>
|
||||
/// <returns>The string returned by <see cref="M:System.IO.Path.GetFileName(System.String)" />, minus the last period (.) and all characters following it.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
// Token: 0x06001A1F RID: 6687 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A1F")]
|
||||
[Address(RVA = "0xCC6830", Offset = "0xCC5830", VA = "0x180CC6830")]
|
||||
public static string GetFileNameWithoutExtension(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the absolute path for the specified path string.</summary>
|
||||
/// <param name="path">The file or directory for which to obtain absolute path information.</param>
|
||||
/// <returns>The fully qualified location of <paramref name="path" />, such as "C:\MyFile.txt".</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is a zero-length string, contains only white space, or contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.
|
||||
/// -or-
|
||||
/// The system could not retrieve the absolute path.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permissions.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <paramref name="path" /> contains a colon (":") that is not part of a volume identifier (for example, "c:\").</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
// Token: 0x06001A20 RID: 6688 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A20")]
|
||||
[Address(RVA = "0xCC6C90", Offset = "0xCC5C90", VA = "0x180CC6C90")]
|
||||
public static string GetFullPath(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A21 RID: 6689 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A21")]
|
||||
[Address(RVA = "0xCC69A0", Offset = "0xCC59A0", VA = "0x180CC69A0")]
|
||||
internal static string GetFullPathInternal(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A22 RID: 6690
|
||||
[Token(Token = "0x6001A22")]
|
||||
[Address(RVA = "0xCC6A00", Offset = "0xCC5A00", VA = "0x180CC6A00")]
|
||||
private static extern int GetFullPathName(string path, int numBufferChars, StringBuilder buffer, ref IntPtr lpFilePartOrNull);
|
||||
|
||||
// Token: 0x06001A23 RID: 6691 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A23")]
|
||||
[Address(RVA = "0xCC6AE0", Offset = "0xCC5AE0", VA = "0x180CC6AE0")]
|
||||
internal static string GetFullPathName(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A24 RID: 6692 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A24")]
|
||||
[Address(RVA = "0xCC8AA0", Offset = "0xCC7AA0", VA = "0x180CC8AA0")]
|
||||
internal static string WindowsDriveAdjustment(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A25 RID: 6693 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A25")]
|
||||
[Address(RVA = "0xCC77A0", Offset = "0xCC67A0", VA = "0x180CC77A0")]
|
||||
internal static string InsecureGetFullPath(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A26 RID: 6694 RVA: 0x00011490 File Offset: 0x0000F690
|
||||
[Token(Token = "0x6001A26")]
|
||||
[Address(RVA = "0xCC81D0", Offset = "0xCC71D0", VA = "0x180CC81D0")]
|
||||
internal static bool IsDirectorySeparator(char c)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets the root directory information of the specified path.</summary>
|
||||
/// <param name="path">The path from which to obtain root directory information.</param>
|
||||
/// <returns>The root directory of <paramref name="path" />, or <see langword="null" /> if <paramref name="path" /> is <see langword="null" />, or an empty string if <paramref name="path" /> does not contain root directory information.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.
|
||||
/// -or-
|
||||
/// <see cref="F:System.String.Empty" /> was passed to <paramref name="path" />.</exception>
|
||||
// Token: 0x06001A27 RID: 6695 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A27")]
|
||||
[Address(RVA = "0xCC6E00", Offset = "0xCC5E00", VA = "0x180CC6E00")]
|
||||
public static string GetPathRoot(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Returns the path of the current user's temporary folder.</summary>
|
||||
/// <returns>The path to the temporary folder, ending with a backslash.</returns>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permissions.</exception>
|
||||
// Token: 0x06001A28 RID: 6696 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A28")]
|
||||
[Address(RVA = "0xCC7570", Offset = "0xCC6570", VA = "0x180CC7570")]
|
||||
public static string GetTempPath()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A29 RID: 6697 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A29")]
|
||||
[Address(RVA = "0xCC91C0", Offset = "0xCC81C0", VA = "0x180CC91C0")]
|
||||
private static string get_temp_path()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Determines whether a path includes a file name extension.</summary>
|
||||
/// <param name="path">The path to search for an extension.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the characters that follow the last directory separator (\\ or /) or volume separator (:) in the path include a period (.) followed by one or more characters; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
// Token: 0x06001A2A RID: 6698 RVA: 0x000114A8 File Offset: 0x0000F6A8
|
||||
[Token(Token = "0x6001A2A")]
|
||||
[Address(RVA = "0xCC7690", Offset = "0xCC6690", VA = "0x180CC7690")]
|
||||
public static bool HasExtension(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether the specified path string contains a root.</summary>
|
||||
/// <param name="path">The path to test.</param>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if <paramref name="path" /> contains a root; otherwise, <see langword="false" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
// Token: 0x06001A2B RID: 6699 RVA: 0x000114C0 File Offset: 0x0000F6C0
|
||||
[Token(Token = "0x6001A2B")]
|
||||
[Address(RVA = "0xCC8260", Offset = "0xCC7260", VA = "0x180CC8260")]
|
||||
public static bool IsPathRooted(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
/// <summary>Gets an array containing the characters that are not allowed in file names.</summary>
|
||||
/// <returns>An array containing the characters that are not allowed in file names.</returns>
|
||||
// Token: 0x06001A2C RID: 6700 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A2C")]
|
||||
[Address(RVA = "0xCC6CF0", Offset = "0xCC5CF0", VA = "0x180CC6CF0")]
|
||||
public static char[] GetInvalidFileNameChars()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets an array containing the characters that are not allowed in path names.</summary>
|
||||
/// <returns>An array containing the characters that are not allowed in path names.</returns>
|
||||
// Token: 0x06001A2D RID: 6701 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A2D")]
|
||||
[Address(RVA = "0xCC6D90", Offset = "0xCC5D90", VA = "0x180CC6D90")]
|
||||
public static char[] GetInvalidPathChars()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A2E RID: 6702 RVA: 0x000114D8 File Offset: 0x0000F6D8
|
||||
[Token(Token = "0x6001A2E")]
|
||||
[Address(RVA = "0xCC8FC0", Offset = "0xCC7FC0", VA = "0x180CC8FC0")]
|
||||
private static int findExtension(string path)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A30 RID: 6704 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A30")]
|
||||
[Address(RVA = "0xCC7330", Offset = "0xCC6330", VA = "0x180CC7330")]
|
||||
private static string GetServerAndShare(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A31 RID: 6705 RVA: 0x000114F0 File Offset: 0x0000F6F0
|
||||
[Token(Token = "0x6001A31")]
|
||||
[Address(RVA = "0xCC8430", Offset = "0xCC7430", VA = "0x180CC8430")]
|
||||
private static bool SameRoot(string root, string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A32 RID: 6706 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A32")]
|
||||
[Address(RVA = "0xCC48A0", Offset = "0xCC38A0", VA = "0x180CC48A0")]
|
||||
private static string CanonicalizePath(string path)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Combines an array of strings into a path.</summary>
|
||||
/// <param name="paths">An array of parts of the path.</param>
|
||||
/// <returns>The combined paths.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">One of the strings in the array contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">One of the strings in the array is <see langword="null" />.</exception>
|
||||
// Token: 0x06001A33 RID: 6707 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A33")]
|
||||
[Address(RVA = "0xCC5FB0", Offset = "0xCC4FB0", VA = "0x180CC5FB0")]
|
||||
public static string Combine(params string[] paths)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Combines three strings into a path.</summary>
|
||||
/// <param name="path1">The first path to combine.</param>
|
||||
/// <param name="path2">The second path to combine.</param>
|
||||
/// <param name="path3">The third path to combine.</param>
|
||||
/// <returns>The combined paths.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path1" />, <paramref name="path2" />, or <paramref name="path3" /> contains one or more of the invalid characters defined in <see cref="M:System.IO.Path.GetInvalidPathChars" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path1" />, <paramref name="path2" />, or <paramref name="path3" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x06001A34 RID: 6708 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A34")]
|
||||
[Address(RVA = "0xCC5D90", Offset = "0xCC4D90", VA = "0x180CC5D90")]
|
||||
public static string Combine(string path1, string path2, string path3)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A35 RID: 6709 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A35")]
|
||||
[Address(RVA = "0xCC8740", Offset = "0xCC7740", VA = "0x180CC8740")]
|
||||
internal static void Validate(string path)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A36 RID: 6710 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A36")]
|
||||
[Address(RVA = "0xCC8910", Offset = "0xCC7910", VA = "0x180CC8910")]
|
||||
internal static void Validate(string path, string parameterName)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000325 RID: 805
|
||||
// (get) Token: 0x06001A37 RID: 6711 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000325")]
|
||||
internal static string DirectorySeparatorCharAsString
|
||||
{
|
||||
[Token(Token = "0x6001A37")]
|
||||
[Address(RVA = "0xCC9060", Offset = "0xCC8060", VA = "0x180CC9060")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000326 RID: 806
|
||||
// (get) Token: 0x06001A38 RID: 6712 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000326")]
|
||||
internal static char[] TrimEndChars
|
||||
{
|
||||
[Token(Token = "0x6001A38")]
|
||||
[Address(RVA = "0xCC9120", Offset = "0xCC8120", VA = "0x180CC9120")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001A39 RID: 6713 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A39")]
|
||||
[Address(RVA = "0xCC53F0", Offset = "0xCC43F0", VA = "0x180CC53F0")]
|
||||
internal static void CheckSearchPattern(string searchPattern)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A3A RID: 6714 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A3A")]
|
||||
[Address(RVA = "0xCC52E0", Offset = "0xCC42E0", VA = "0x180CC52E0")]
|
||||
internal static void CheckInvalidPathChars(string path, bool checkAdditional = false)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A3B RID: 6715 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A3B")]
|
||||
[Address(RVA = "0xCC7EE0", Offset = "0xCC6EE0", VA = "0x180CC7EE0")]
|
||||
internal static string InternalCombine(string path1, string path2)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Provides a platform-specific array of characters that cannot be specified in path string arguments passed to members of the <see cref="T:System.IO.Path" /> class.</summary>
|
||||
// Token: 0x04000DCF RID: 3535
|
||||
[Token(Token = "0x4000DCF")]
|
||||
[Obsolete]
|
||||
public static readonly char[] InvalidPathChars;
|
||||
|
||||
/// <summary>Provides a platform-specific alternate character used to separate directory levels in a path string that reflects a hierarchical file system organization.</summary>
|
||||
// Token: 0x04000DD0 RID: 3536
|
||||
[Token(Token = "0x4000DD0")]
|
||||
public static readonly char AltDirectorySeparatorChar;
|
||||
|
||||
/// <summary>Provides a platform-specific character used to separate directory levels in a path string that reflects a hierarchical file system organization.</summary>
|
||||
// Token: 0x04000DD1 RID: 3537
|
||||
[Token(Token = "0x4000DD1")]
|
||||
public static readonly char DirectorySeparatorChar;
|
||||
|
||||
/// <summary>A platform-specific separator character used to separate path strings in environment variables.</summary>
|
||||
// Token: 0x04000DD2 RID: 3538
|
||||
[Token(Token = "0x4000DD2")]
|
||||
public static readonly char PathSeparator;
|
||||
|
||||
// Token: 0x04000DD3 RID: 3539
|
||||
[Token(Token = "0x4000DD3")]
|
||||
internal static readonly string DirectorySeparatorStr;
|
||||
|
||||
/// <summary>Provides a platform-specific volume separator character.</summary>
|
||||
// Token: 0x04000DD4 RID: 3540
|
||||
[Token(Token = "0x4000DD4")]
|
||||
public static readonly char VolumeSeparatorChar;
|
||||
|
||||
// Token: 0x04000DD5 RID: 3541
|
||||
[Token(Token = "0x4000DD5")]
|
||||
internal static readonly char[] PathSeparatorChars;
|
||||
|
||||
// Token: 0x04000DD6 RID: 3542
|
||||
[Token(Token = "0x4000DD6")]
|
||||
private static readonly bool dirEqualsVolume;
|
||||
|
||||
// Token: 0x04000DD7 RID: 3543
|
||||
[Token(Token = "0x4000DD7")]
|
||||
internal static readonly char[] trimEndCharsWindows;
|
||||
|
||||
// Token: 0x04000DD8 RID: 3544
|
||||
[Token(Token = "0x4000DD8")]
|
||||
internal static readonly char[] trimEndCharsUnix;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002B1 RID: 689
|
||||
[Token(Token = "0x20002B1")]
|
||||
internal static class PathInternal
|
||||
{
|
||||
// Token: 0x06001956 RID: 6486 RVA: 0x00010CC8 File Offset: 0x0000EEC8
|
||||
[Token(Token = "0x6001956")]
|
||||
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690")]
|
||||
public static bool IsPartiallyQualified(string path)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001957 RID: 6487 RVA: 0x00010CE0 File Offset: 0x0000EEE0
|
||||
[Token(Token = "0x6001957")]
|
||||
[Address(RVA = "0xCC4770", Offset = "0xCC3770", VA = "0x180CC4770")]
|
||||
public static bool HasIllegalCharacters(string path, bool checkAdditional)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length.</summary>
|
||||
// Token: 0x0200029A RID: 666
|
||||
[Token(Token = "0x200029A")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class PathTooLongException : IOException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.PathTooLongException" /> class with its HRESULT set to COR_E_PATHTOOLONG.</summary>
|
||||
// Token: 0x0600182E RID: 6190 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600182E")]
|
||||
[Address(RVA = "0xCC4830", Offset = "0xCC3830", VA = "0x180CC4830")]
|
||||
public PathTooLongException()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.PathTooLongException" /> class with its message string set to <paramref name="message" /> and its HRESULT set to COR_E_PATHTOOLONG.</summary>
|
||||
/// <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
|
||||
// Token: 0x0600182F RID: 6191 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600182F")]
|
||||
[Address(RVA = "0xCC47F0", Offset = "0xCC37F0", VA = "0x180CC47F0")]
|
||||
public PathTooLongException(string message)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.PathTooLongException" /> class with the specified serialization and context information.</summary>
|
||||
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
|
||||
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
|
||||
// Token: 0x06001830 RID: 6192 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001830")]
|
||||
[Address(RVA = "0x7241B0", Offset = "0x7231B0", VA = "0x1807241B0")]
|
||||
protected PathTooLongException(SerializationInfo info, StreamingContext context)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x0200029B RID: 667
|
||||
[Token(Token = "0x200029B")]
|
||||
internal sealed class PinnedBufferMemoryStream : UnmanagedMemoryStream
|
||||
{
|
||||
// Token: 0x06001831 RID: 6193 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001831")]
|
||||
[Address(RVA = "0xCC9290", Offset = "0xCC8290", VA = "0x180CC9290")]
|
||||
internal PinnedBufferMemoryStream(byte[] array)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001832 RID: 6194 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001832")]
|
||||
[Address(RVA = "0xCC9210", Offset = "0xCC8210", VA = "0x180CC9210", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001833 RID: 6195 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001833")]
|
||||
[Address(RVA = "0xCC91D0", Offset = "0xCC81D0", VA = "0x180CC91D0", Slot = "16")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CEE RID: 3310
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000CEE")]
|
||||
private byte[] _array;
|
||||
|
||||
// Token: 0x04000CEF RID: 3311
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4000CEF")]
|
||||
private GCHandle _pinningHandle;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Specifies whether to search the current directory, or the current directory and all subdirectories.</summary>
|
||||
// Token: 0x020002C4 RID: 708
|
||||
[Token(Token = "0x20002C4")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum SearchOption
|
||||
{
|
||||
/// <summary>Includes only the current directory in a search operation.</summary>
|
||||
// Token: 0x04000DDA RID: 3546
|
||||
[Token(Token = "0x4000DDA")]
|
||||
TopDirectoryOnly,
|
||||
/// <summary>Includes the current directory and all its subdirectories in a search operation. This option includes reparse points such as mounted drives and symbolic links in the search.</summary>
|
||||
// Token: 0x04000DDB RID: 3547
|
||||
[Token(Token = "0x4000DDB")]
|
||||
AllDirectories
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000295 RID: 661
|
||||
[Token(Token = "0x2000295")]
|
||||
internal sealed class SearchResult
|
||||
{
|
||||
// Token: 0x060017F0 RID: 6128 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017F0")]
|
||||
[Address(RVA = "0x466000", Offset = "0x465000", VA = "0x180466000")]
|
||||
internal SearchResult(string fullPath, string userPath, Win32Native.WIN32_FIND_DATA findData)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002D1 RID: 721
|
||||
// (get) Token: 0x060017F1 RID: 6129 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002D1")]
|
||||
internal string UserPath
|
||||
{
|
||||
[Token(Token = "0x60017F1")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002D2 RID: 722
|
||||
// (get) Token: 0x060017F2 RID: 6130 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002D2")]
|
||||
internal Win32Native.WIN32_FIND_DATA FindData
|
||||
{
|
||||
[Token(Token = "0x60017F2")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000CD9 RID: 3289
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CD9")]
|
||||
private string fullPath;
|
||||
|
||||
// Token: 0x04000CDA RID: 3290
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CDA")]
|
||||
private string userPath;
|
||||
|
||||
// Token: 0x04000CDB RID: 3291
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000CDB")]
|
||||
private Win32Native.WIN32_FIND_DATA findData;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000293 RID: 659
|
||||
[Token(Token = "0x2000293")]
|
||||
internal abstract class SearchResultHandler<TSource>
|
||||
{
|
||||
// Token: 0x060017EA RID: 6122
|
||||
[Token(Token = "0x60017EA")]
|
||||
[Address(Slot = "4")]
|
||||
internal abstract bool IsResultIncluded(SearchResult result);
|
||||
|
||||
// Token: 0x060017EB RID: 6123
|
||||
[Token(Token = "0x60017EB")]
|
||||
[Address(Slot = "5")]
|
||||
internal abstract TSource CreateObject(SearchResult result);
|
||||
|
||||
// Token: 0x060017EC RID: 6124 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017EC")]
|
||||
[Address(RVA = "0x1CC5E40", Offset = "0x1CC4E40", VA = "0x181CC5E40")]
|
||||
protected SearchResultHandler()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Specifies the position in a stream to use for seeking.</summary>
|
||||
// Token: 0x020002C5 RID: 709
|
||||
[Token(Token = "0x20002C5")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public enum SeekOrigin
|
||||
{
|
||||
/// <summary>Specifies the beginning of a stream.</summary>
|
||||
// Token: 0x04000DDD RID: 3549
|
||||
[Token(Token = "0x4000DDD")]
|
||||
Begin,
|
||||
/// <summary>Specifies the current position within a stream.</summary>
|
||||
// Token: 0x04000DDE RID: 3550
|
||||
[Token(Token = "0x4000DDE")]
|
||||
Current,
|
||||
/// <summary>Specifies the end of a stream.</summary>
|
||||
// Token: 0x04000DDF RID: 3551
|
||||
[Token(Token = "0x4000DDF")]
|
||||
End
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,957 @@
|
||||
using System;
|
||||
using System.Runtime.ExceptionServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides a generic view of a sequence of bytes. This is an abstract class.</summary>
|
||||
// Token: 0x0200029C RID: 668
|
||||
[Token(Token = "0x200029C")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public abstract class Stream : MarshalByRefObject, IDisposable
|
||||
{
|
||||
// Token: 0x06001834 RID: 6196 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001834")]
|
||||
[Address(RVA = "0xCCD860", Offset = "0xCCC860", VA = "0x180CCD860")]
|
||||
internal SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a value indicating whether the current stream supports reading.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports reading; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170002E2 RID: 738
|
||||
// (get) Token: 0x06001835 RID: 6197
|
||||
[Token(Token = "0x170002E2")]
|
||||
public abstract bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6001835")]
|
||||
[Address(Slot = "7")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a value indicating whether the current stream supports seeking.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports seeking; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170002E3 RID: 739
|
||||
// (get) Token: 0x06001836 RID: 6198
|
||||
[Token(Token = "0x170002E3")]
|
||||
public abstract bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6001836")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets a value indicating whether the current stream supports writing.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> if the stream supports writing; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170002E4 RID: 740
|
||||
// (get) Token: 0x06001837 RID: 6199
|
||||
[Token(Token = "0x170002E4")]
|
||||
public abstract bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6001837")]
|
||||
[Address(Slot = "9")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets the length in bytes of the stream.</summary>
|
||||
/// <returns>A long value representing the length of the stream in bytes.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">A class derived from <see langword="Stream" /> does not support seeking.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x170002E5 RID: 741
|
||||
// (get) Token: 0x06001838 RID: 6200
|
||||
[Token(Token = "0x170002E5")]
|
||||
public abstract long Length
|
||||
{
|
||||
[Token(Token = "0x6001838")]
|
||||
[Address(Slot = "10")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, gets or sets the position within the current stream.</summary>
|
||||
/// <returns>The current position within the stream.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x170002E6 RID: 742
|
||||
// (get) Token: 0x06001839 RID: 6201
|
||||
// (set) Token: 0x0600183A RID: 6202
|
||||
[Token(Token = "0x170002E6")]
|
||||
public abstract long Position
|
||||
{
|
||||
[Token(Token = "0x6001839")]
|
||||
[Address(Slot = "11")]
|
||||
get;
|
||||
[Token(Token = "0x600183A")]
|
||||
[Address(Slot = "12")]
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.</summary>
|
||||
/// <returns>A value, in miliseconds, that determines how long the stream will attempt to read before timing out.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.IO.Stream.ReadTimeout" /> method always throws an <see cref="T:System.InvalidOperationException" />.</exception>
|
||||
// Token: 0x170002E7 RID: 743
|
||||
// (get) Token: 0x0600183B RID: 6203 RVA: 0x000107A0 File Offset: 0x0000E9A0
|
||||
[Token(Token = "0x170002E7")]
|
||||
[ComVisible(false)]
|
||||
public virtual int ReadTimeout
|
||||
{
|
||||
[Token(Token = "0x600183B")]
|
||||
[Address(RVA = "0xCCE580", Offset = "0xCCD580", VA = "0x180CCE580", Slot = "13")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.</summary>
|
||||
/// <returns>A value, in miliseconds, that determines how long the stream will attempt to write before timing out.</returns>
|
||||
/// <exception cref="T:System.InvalidOperationException">The <see cref="P:System.IO.Stream.WriteTimeout" /> method always throws an <see cref="T:System.InvalidOperationException" />.</exception>
|
||||
// Token: 0x170002E8 RID: 744
|
||||
// (get) Token: 0x0600183C RID: 6204 RVA: 0x000107B8 File Offset: 0x0000E9B8
|
||||
[Token(Token = "0x170002E8")]
|
||||
[ComVisible(false)]
|
||||
public virtual int WriteTimeout
|
||||
{
|
||||
[Token(Token = "0x600183C")]
|
||||
[Address(RVA = "0xCCE5F0", Offset = "0xCCD5F0", VA = "0x180CCE5F0", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Reads the bytes from the current stream and writes them to another stream.</summary>
|
||||
/// <param name="destination">The stream to which the contents of the current stream will be copied.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="destination" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current stream does not support reading.
|
||||
/// -or-
|
||||
/// <paramref name="destination" /> does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Either the current stream or <paramref name="destination" /> were closed before the <see cref="M:System.IO.Stream.CopyTo(System.IO.Stream)" /> method was called.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurred.</exception>
|
||||
// Token: 0x0600183D RID: 6205 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600183D")]
|
||||
[Address(RVA = "0xCCD150", Offset = "0xCCC150", VA = "0x180CCD150")]
|
||||
public void CopyTo(Stream destination)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600183E RID: 6206 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600183E")]
|
||||
[Address(RVA = "0xCCDB60", Offset = "0xCCCB60", VA = "0x180CCDB60")]
|
||||
private void InternalCopyTo(Stream destination, int bufferSize)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.</summary>
|
||||
// Token: 0x0600183F RID: 6207 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600183F")]
|
||||
[Address(RVA = "0xCCD0E0", Offset = "0xCCC0E0", VA = "0x180CCD0E0", Slot = "15")]
|
||||
public virtual void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the <see cref="T:System.IO.Stream" />.</summary>
|
||||
// Token: 0x06001840 RID: 6208 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001840")]
|
||||
[Address(RVA = "0x9DE1B0", Offset = "0x9DD1B0", VA = "0x1809DE1B0", Slot = "6")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.Stream" /> 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: 0x06001841 RID: 6209 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001841")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "16")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.</summary>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001842 RID: 6210
|
||||
[Token(Token = "0x6001842")]
|
||||
[Address(Slot = "17")]
|
||||
public abstract void Flush();
|
||||
|
||||
/// <summary>Asynchronously clears all buffers for this stream, causes any buffered data to be written to the underlying device, and monitors cancellation requests.</summary>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous flush operation.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
// Token: 0x06001843 RID: 6211 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001843")]
|
||||
[Address(RVA = "0xCCD950", Offset = "0xCCC950", VA = "0x180CCD950", Slot = "18")]
|
||||
[ComVisible(false)]
|
||||
public virtual Task FlushAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Begins an asynchronous read operation. (Consider using <see cref="M:System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32)" /> instead.)</summary>
|
||||
/// <param name="buffer">The buffer to read the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data read from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="callback">An optional asynchronous callback, to be called when the read is complete.</param>
|
||||
/// <param name="state">A user-provided object that distinguishes this particular asynchronous read request from other requests.</param>
|
||||
/// <returns>An <see cref="T:System.IAsyncResult" /> that represents the asynchronous read, which could still be pending.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">Attempted an asynchronous read past the end of the stream, or a disk error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">One or more of the arguments is invalid.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current <see langword="Stream" /> implementation does not support the read operation.</exception>
|
||||
// Token: 0x06001844 RID: 6212 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001844")]
|
||||
[Address(RVA = "0xCCCB70", Offset = "0xCCBB70", VA = "0x180CCCB70", Slot = "19")]
|
||||
public virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001845 RID: 6213 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001845")]
|
||||
[Address(RVA = "0xCCC950", Offset = "0xCCB950", VA = "0x180CCC950")]
|
||||
internal IAsyncResult BeginReadInternal(byte[] buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Waits for the pending asynchronous read to complete. (Consider using <see cref="M:System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32)" /> instead.)</summary>
|
||||
/// <param name="asyncResult">The reference to the pending asynchronous request to finish.</param>
|
||||
/// <returns>The number of bytes read from the stream, between zero (0) and the number of bytes you requested. Streams return zero (0) only at the end of the stream, otherwise, they should block until at least one byte is available.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">A handle to the pending read operation is not available.
|
||||
/// -or-
|
||||
/// The pending operation does not support reading.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">
|
||||
/// <paramref name="asyncResult" /> did not originate from a <see cref="M:System.IO.Stream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> method on the current stream.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
|
||||
// Token: 0x06001846 RID: 6214 RVA: 0x000107D0 File Offset: 0x0000E9D0
|
||||
[Token(Token = "0x6001846")]
|
||||
[Address(RVA = "0xCCD400", Offset = "0xCCC400", VA = "0x180CCD400", Slot = "20")]
|
||||
public virtual int EndRead(IAsyncResult asyncResult)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous read operation.</exception>
|
||||
// Token: 0x06001847 RID: 6215 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001847")]
|
||||
[Address(RVA = "0xCCDC20", Offset = "0xCCCC20", VA = "0x180CCDC20", Slot = "21")]
|
||||
[ComVisible(false)]
|
||||
public virtual Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001848 RID: 6216 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001848")]
|
||||
[Address(RVA = "0xCCC5D0", Offset = "0xCCB5D0", VA = "0x180CCC5D0")]
|
||||
private Task<int> BeginEndReadAsync(byte[] buffer, int offset, int count)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Begins an asynchronous write operation. (Consider using <see cref="M:System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32)" /> instead.)</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> from which to begin writing.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="callback">An optional asynchronous callback, to be called when the write is complete.</param>
|
||||
/// <param name="state">A user-provided object that distinguishes this particular asynchronous write request from other requests.</param>
|
||||
/// <returns>An <see langword="IAsyncResult" /> that represents the asynchronous write, which could still be pending.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">Attempted an asynchronous write past the end of the stream, or a disk error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">One or more of the arguments is invalid.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The current <see langword="Stream" /> implementation does not support the write operation.</exception>
|
||||
// Token: 0x06001849 RID: 6217 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001849")]
|
||||
[Address(RVA = "0xCCCDC0", Offset = "0xCCBDC0", VA = "0x180CCCDC0", Slot = "22")]
|
||||
public virtual IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600184A RID: 6218 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600184A")]
|
||||
[Address(RVA = "0xCCCBA0", Offset = "0xCCBBA0", VA = "0x180CCCBA0")]
|
||||
internal IAsyncResult BeginWriteInternal(byte[] buffer, int offset, int count, AsyncCallback callback, object state, bool serializeAsynchronously)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600184B RID: 6219 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600184B")]
|
||||
[Address(RVA = "0xCCDEF0", Offset = "0xCCCEF0", VA = "0x180CCDEF0")]
|
||||
private void RunReadWriteTaskWhenReady(Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600184C RID: 6220 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600184C")]
|
||||
[Address(RVA = "0xCCE0D0", Offset = "0xCCD0D0", VA = "0x180CCE0D0")]
|
||||
private void RunReadWriteTask(Stream.ReadWriteTask readWriteTask)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Ends an asynchronous write operation. (Consider using <see cref="M:System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32)" /> instead.)</summary>
|
||||
/// <param name="asyncResult">A reference to the outstanding asynchronous I/O request.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="asyncResult" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">A handle to the pending write operation is not available.
|
||||
/// -or-
|
||||
/// The pending operation does not support writing.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">
|
||||
/// <paramref name="asyncResult" /> did not originate from a <see cref="M:System.IO.Stream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)" /> method on the current stream.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The stream is closed or an internal error has occurred.</exception>
|
||||
// Token: 0x0600184D RID: 6221 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600184D")]
|
||||
[Address(RVA = "0xCCD640", Offset = "0xCCC640", VA = "0x180CCD640", Slot = "23")]
|
||||
public virtual void EndWrite(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <returns>A task that represents the asynchronous write operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation.</exception>
|
||||
// Token: 0x0600184E RID: 6222 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600184E")]
|
||||
[Address(RVA = "0xCCE1A0", Offset = "0xCCD1A0", VA = "0x180CCE1A0")]
|
||||
[ComVisible(false)]
|
||||
public Task WriteAsync(byte[] buffer, int offset, int count)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous write operation.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream has been disposed.</exception>
|
||||
/// <exception cref="T:System.InvalidOperationException">The stream is currently in use by a previous write operation.</exception>
|
||||
// Token: 0x0600184F RID: 6223 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600184F")]
|
||||
[Address(RVA = "0xCCE240", Offset = "0xCCD240", VA = "0x180CCE240", Slot = "24")]
|
||||
[ComVisible(false)]
|
||||
public virtual Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001850 RID: 6224 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001850")]
|
||||
[Address(RVA = "0xCCC790", Offset = "0xCCB790", VA = "0x180CCC790")]
|
||||
private Task BeginEndWriteAsync(byte[] buffer, int offset, int count)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, sets the position within the current stream.</summary>
|
||||
/// <param name="offset">A byte offset relative to the <paramref name="origin" /> parameter.</param>
|
||||
/// <param name="origin">A value of type <see cref="T:System.IO.SeekOrigin" /> indicating the reference point used to obtain the new position.</param>
|
||||
/// <returns>The new position within the current stream.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support seeking, such as if the stream is constructed from a pipe or console output.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001851 RID: 6225
|
||||
[Token(Token = "0x6001851")]
|
||||
[Address(Slot = "25")]
|
||||
public abstract long Seek(long offset, SeekOrigin origin);
|
||||
|
||||
/// <summary>When overridden in a derived class, sets the length of the current stream.</summary>
|
||||
/// <param name="value">The desired length of the current stream in bytes.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support both writing and seeking, such as if the stream is constructed from a pipe or console output.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001852 RID: 6226
|
||||
[Token(Token = "0x6001852")]
|
||||
[Address(Slot = "26")]
|
||||
public abstract void SetLength(long value);
|
||||
|
||||
/// <summary>When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.</summary>
|
||||
/// <param name="buffer">An array of bytes. When this method returns, the buffer contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin storing the data read from the current stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to be read from the current stream.</param>
|
||||
/// <returns>The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is larger than the buffer length.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001853 RID: 6227
|
||||
[Token(Token = "0x6001853")]
|
||||
[Address(Slot = "27")]
|
||||
public abstract int Read([In] [Out] byte[] buffer, int offset, int count);
|
||||
|
||||
/// <summary>Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.</summary>
|
||||
/// <returns>The unsigned byte cast to an <see langword="Int32" />, or -1 if at the end of the stream.</returns>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support reading.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001854 RID: 6228 RVA: 0x000107E8 File Offset: 0x0000E9E8
|
||||
[Token(Token = "0x6001854")]
|
||||
[Address(RVA = "0xCCDE40", Offset = "0xCCCE40", VA = "0x180CCDE40", Slot = "28")]
|
||||
public virtual int ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.</summary>
|
||||
/// <param name="buffer">An array of bytes. This method copies <paramref name="count" /> bytes from <paramref name="buffer" /> to the current stream.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin copying bytes to the current stream.</param>
|
||||
/// <param name="count">The number of bytes to be written to the current stream.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The sum of <paramref name="offset" /> and <paramref name="count" /> is greater than the buffer length.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="offset" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occured, such as the specified file cannot be found.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">
|
||||
/// <see cref="M:System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)" /> was called after the stream was closed.</exception>
|
||||
// Token: 0x06001855 RID: 6229
|
||||
[Token(Token = "0x6001855")]
|
||||
[Address(Slot = "29")]
|
||||
public abstract void Write(byte[] buffer, int offset, int count);
|
||||
|
||||
/// <summary>Writes a byte to the current position in the stream and advances the position within the stream by one byte.</summary>
|
||||
/// <param name="value">The byte to write to the stream.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream does not support writing, or the stream is already closed.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">Methods were called after the stream was closed.</exception>
|
||||
// Token: 0x06001856 RID: 6230 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001856")]
|
||||
[Address(RVA = "0xCCE450", Offset = "0xCCD450", VA = "0x180CCE450", Slot = "30")]
|
||||
public virtual void WriteByte(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001857 RID: 6231 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001857")]
|
||||
[Address(RVA = "0xCCCDF0", Offset = "0xCCBDF0", VA = "0x180CCCDF0")]
|
||||
internal IAsyncResult BlockingBeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001858 RID: 6232 RVA: 0x00010800 File Offset: 0x0000EA00
|
||||
[Token(Token = "0x6001858")]
|
||||
[Address(RVA = "0xCCCFD0", Offset = "0xCCBFD0", VA = "0x180CCCFD0")]
|
||||
internal static int BlockingEndRead(IAsyncResult asyncResult)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001859 RID: 6233 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001859")]
|
||||
[Address(RVA = "0xCCCEE0", Offset = "0xCCBEE0", VA = "0x180CCCEE0")]
|
||||
internal IAsyncResult BlockingBeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600185A RID: 6234 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600185A")]
|
||||
[Address(RVA = "0xCCD060", Offset = "0xCCC060", VA = "0x180CCD060")]
|
||||
internal static void BlockingEndWrite(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.Stream" /> class.</summary>
|
||||
// Token: 0x0600185B RID: 6235 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600185B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected Stream()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>A <see langword="Stream" /> with no backing store.</summary>
|
||||
// Token: 0x04000CF0 RID: 3312
|
||||
[Token(Token = "0x4000CF0")]
|
||||
public static readonly Stream Null;
|
||||
|
||||
// Token: 0x04000CF1 RID: 3313
|
||||
[Token(Token = "0x4000CF1")]
|
||||
private const int _DefaultCopyBufferSize = 81920;
|
||||
|
||||
// Token: 0x04000CF2 RID: 3314
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000CF2")]
|
||||
[NonSerialized]
|
||||
private Stream.ReadWriteTask _activeReadWriteTask;
|
||||
|
||||
// Token: 0x04000CF3 RID: 3315
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000CF3")]
|
||||
[NonSerialized]
|
||||
private SemaphoreSlim _asyncActiveSemaphore;
|
||||
|
||||
// Token: 0x0200029D RID: 669
|
||||
[Token(Token = "0x200029D")]
|
||||
private struct ReadWriteParameters
|
||||
{
|
||||
// Token: 0x04000CF4 RID: 3316
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x4000CF4")]
|
||||
internal byte[] Buffer;
|
||||
|
||||
// Token: 0x04000CF5 RID: 3317
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x4000CF5")]
|
||||
internal int Offset;
|
||||
|
||||
// Token: 0x04000CF6 RID: 3318
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0xC")]
|
||||
[Token(Token = "0x4000CF6")]
|
||||
internal int Count;
|
||||
}
|
||||
|
||||
// Token: 0x0200029E RID: 670
|
||||
[Token(Token = "0x200029E")]
|
||||
private sealed class ReadWriteTask : Task<int>, ITaskCompletionAction
|
||||
{
|
||||
// Token: 0x0600185D RID: 6237 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600185D")]
|
||||
[Address(RVA = "0xCC9450", Offset = "0xCC8450", VA = "0x180CC9450")]
|
||||
internal void ClearBeginState()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600185E RID: 6238 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600185E")]
|
||||
[Address(RVA = "0xCC9620", Offset = "0xCC8620", VA = "0x180CC9620")]
|
||||
public ReadWriteTask(bool isRead, Func<object, int> function, object state, Stream stream, byte[] buffer, int offset, int count, AsyncCallback callback)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600185F RID: 6239 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600185F")]
|
||||
[Address(RVA = "0xCC9460", Offset = "0xCC8460", VA = "0x180CC9460")]
|
||||
private static void InvokeAsyncCallback(object completedTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001860 RID: 6240 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001860")]
|
||||
[Address(RVA = "0xCC94D0", Offset = "0xCC84D0", VA = "0x180CC94D0", Slot = "22")]
|
||||
void ITaskCompletionAction.Invoke(Task completingTask)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CF7 RID: 3319
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000CF7")]
|
||||
internal readonly bool _isRead;
|
||||
|
||||
// Token: 0x04000CF8 RID: 3320
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000CF8")]
|
||||
internal Stream _stream;
|
||||
|
||||
// Token: 0x04000CF9 RID: 3321
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4000CF9")]
|
||||
internal byte[] _buffer;
|
||||
|
||||
// Token: 0x04000CFA RID: 3322
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4000CFA")]
|
||||
internal int _offset;
|
||||
|
||||
// Token: 0x04000CFB RID: 3323
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x74")]
|
||||
[Token(Token = "0x4000CFB")]
|
||||
internal int _count;
|
||||
|
||||
// Token: 0x04000CFC RID: 3324
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4000CFC")]
|
||||
private AsyncCallback _callback;
|
||||
|
||||
// Token: 0x04000CFD RID: 3325
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4000CFD")]
|
||||
private ExecutionContext _context;
|
||||
|
||||
// Token: 0x04000CFE RID: 3326
|
||||
[Token(Token = "0x4000CFE")]
|
||||
private static ContextCallback s_invokeAsyncCallback;
|
||||
}
|
||||
|
||||
// Token: 0x0200029F RID: 671
|
||||
[Token(Token = "0x200029F")]
|
||||
[Serializable]
|
||||
private sealed class NullStream : Stream
|
||||
{
|
||||
// Token: 0x06001861 RID: 6241 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001861")]
|
||||
[Address(RVA = "0xCC4610", Offset = "0xCC3610", VA = "0x180CC4610")]
|
||||
internal NullStream()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002E9 RID: 745
|
||||
// (get) Token: 0x06001862 RID: 6242 RVA: 0x00010818 File Offset: 0x0000EA18
|
||||
[Token(Token = "0x170002E9")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6001862")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002EA RID: 746
|
||||
// (get) Token: 0x06001863 RID: 6243 RVA: 0x00010830 File Offset: 0x0000EA30
|
||||
[Token(Token = "0x170002EA")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6001863")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002EB RID: 747
|
||||
// (get) Token: 0x06001864 RID: 6244 RVA: 0x00010848 File Offset: 0x0000EA48
|
||||
[Token(Token = "0x170002EB")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6001864")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002EC RID: 748
|
||||
// (get) Token: 0x06001865 RID: 6245 RVA: 0x00010860 File Offset: 0x0000EA60
|
||||
[Token(Token = "0x170002EC")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x6001865")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002ED RID: 749
|
||||
// (get) Token: 0x06001866 RID: 6246 RVA: 0x00010878 File Offset: 0x0000EA78
|
||||
// (set) Token: 0x06001867 RID: 6247 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002ED")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x6001866")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
[Token(Token = "0x6001867")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "12")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001868 RID: 6248 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001868")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "16")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001869 RID: 6249 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001869")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600186A RID: 6250 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600186A")]
|
||||
[Address(RVA = "0xCC4420", Offset = "0xCC3420", VA = "0x180CC4420", Slot = "18")]
|
||||
[ComVisible(false)]
|
||||
public override Task FlushAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600186B RID: 6251 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600186B")]
|
||||
[Address(RVA = "0xCC4220", Offset = "0xCC3220", VA = "0x180CC4220", Slot = "19")]
|
||||
public override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600186C RID: 6252 RVA: 0x00010890 File Offset: 0x0000EA90
|
||||
[Token(Token = "0x600186C")]
|
||||
[Address(RVA = "0xCC4300", Offset = "0xCC3300", VA = "0x180CC4300", Slot = "20")]
|
||||
public override int EndRead(IAsyncResult asyncResult)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600186D RID: 6253 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600186D")]
|
||||
[Address(RVA = "0xCC4290", Offset = "0xCC3290", VA = "0x180CC4290", Slot = "22")]
|
||||
public override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600186E RID: 6254 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600186E")]
|
||||
[Address(RVA = "0xCC4390", Offset = "0xCC3390", VA = "0x180CC4390", Slot = "23")]
|
||||
public override void EndWrite(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600186F RID: 6255 RVA: 0x000108A8 File Offset: 0x0000EAA8
|
||||
[Token(Token = "0x600186F")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "27")]
|
||||
public override int Read([In] [Out] byte[] buffer, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001870 RID: 6256 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001870")]
|
||||
[Address(RVA = "0xCC44C0", Offset = "0xCC34C0", VA = "0x180CC44C0", Slot = "21")]
|
||||
[ComVisible(false)]
|
||||
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001871 RID: 6257 RVA: 0x000108C0 File Offset: 0x0000EAC0
|
||||
[Token(Token = "0x6001871")]
|
||||
[Address(RVA = "0x716A60", Offset = "0x715A60", VA = "0x180716A60", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001872 RID: 6258 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001872")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001873 RID: 6259 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001873")]
|
||||
[Address(RVA = "0xCC4580", Offset = "0xCC3580", VA = "0x180CC4580", Slot = "24")]
|
||||
[ComVisible(false)]
|
||||
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001874 RID: 6260 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001874")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001875 RID: 6261 RVA: 0x000108D8 File Offset: 0x0000EAD8
|
||||
[Token(Token = "0x6001875")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin origin)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Token: 0x06001876 RID: 6262 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001876")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "26")]
|
||||
public override void SetLength(long length)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000CFF RID: 3327
|
||||
[Token(Token = "0x4000CFF")]
|
||||
private static Task<int> s_nullReadTask;
|
||||
}
|
||||
|
||||
// Token: 0x020002A0 RID: 672
|
||||
[Token(Token = "0x20002A0")]
|
||||
internal sealed class SynchronousAsyncResult : IAsyncResult
|
||||
{
|
||||
// Token: 0x06001877 RID: 6263 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001877")]
|
||||
[Address(RVA = "0xCCF600", Offset = "0xCCE600", VA = "0x180CCF600")]
|
||||
internal SynchronousAsyncResult(int bytesRead, object asyncStateObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001878 RID: 6264 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001878")]
|
||||
[Address(RVA = "0xC039D0", Offset = "0xC029D0", VA = "0x180C039D0")]
|
||||
internal SynchronousAsyncResult(object asyncStateObject)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001879 RID: 6265 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001879")]
|
||||
[Address(RVA = "0xCCF5A0", Offset = "0xCCE5A0", VA = "0x180CCF5A0")]
|
||||
internal SynchronousAsyncResult(Exception ex, object asyncStateObject, bool isWrite)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002EE RID: 750
|
||||
// (get) Token: 0x0600187A RID: 6266 RVA: 0x000108F0 File Offset: 0x0000EAF0
|
||||
[Token(Token = "0x170002EE")]
|
||||
public bool IsCompleted
|
||||
{
|
||||
[Token(Token = "0x600187A")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002EF RID: 751
|
||||
// (get) Token: 0x0600187B RID: 6267 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002EF")]
|
||||
public WaitHandle AsyncWaitHandle
|
||||
{
|
||||
[Token(Token = "0x600187B")]
|
||||
[Address(RVA = "0xCCF640", Offset = "0xCCE640", VA = "0x180CCF640", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002F0 RID: 752
|
||||
// (get) Token: 0x0600187C RID: 6268 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002F0")]
|
||||
public object AsyncState
|
||||
{
|
||||
[Token(Token = "0x600187C")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002F1 RID: 753
|
||||
// (get) Token: 0x0600187D RID: 6269 RVA: 0x00010908 File Offset: 0x0000EB08
|
||||
[Token(Token = "0x170002F1")]
|
||||
public bool CompletedSynchronously
|
||||
{
|
||||
[Token(Token = "0x600187D")]
|
||||
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600187E RID: 6270 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600187E")]
|
||||
[Address(RVA = "0xCCF580", Offset = "0xCCE580", VA = "0x180CCF580")]
|
||||
internal void ThrowIfError()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600187F RID: 6271 RVA: 0x00010920 File Offset: 0x0000EB20
|
||||
[Token(Token = "0x600187F")]
|
||||
[Address(RVA = "0xCCCFD0", Offset = "0xCCBFD0", VA = "0x180CCCFD0")]
|
||||
internal static int EndRead(IAsyncResult asyncResult)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001880 RID: 6272 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001880")]
|
||||
[Address(RVA = "0xCCD060", Offset = "0xCCC060", VA = "0x180CCD060")]
|
||||
internal static void EndWrite(IAsyncResult asyncResult)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000D00 RID: 3328
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000D00")]
|
||||
private readonly object _stateObject;
|
||||
|
||||
// Token: 0x04000D01 RID: 3329
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000D01")]
|
||||
private readonly bool _isWrite;
|
||||
|
||||
// Token: 0x04000D02 RID: 3330
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000D02")]
|
||||
private ManualResetEvent _waitHandle;
|
||||
|
||||
// Token: 0x04000D03 RID: 3331
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D03")]
|
||||
private ExceptionDispatchInfo _exceptionInfo;
|
||||
|
||||
// Token: 0x04000D04 RID: 3332
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000D04")]
|
||||
private bool _endXxxCalled;
|
||||
|
||||
// Token: 0x04000D05 RID: 3333
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4000D05")]
|
||||
private int _bytesRead;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,586 @@
|
||||
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: 0x020002A3 RID: 675
|
||||
[Token(Token = "0x20002A3")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class StreamReader : TextReader
|
||||
{
|
||||
// Token: 0x170002F2 RID: 754
|
||||
// (get) Token: 0x0600188F RID: 6287 RVA: 0x00010998 File Offset: 0x0000EB98
|
||||
[Token(Token = "0x170002F2")]
|
||||
internal static int DefaultBufferSize
|
||||
{
|
||||
[Token(Token = "0x600188F")]
|
||||
[Address(RVA = "0xCCB240", Offset = "0xCCA240", VA = "0x180CCB240")]
|
||||
get
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001890 RID: 6288 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001890")]
|
||||
[Address(RVA = "0xCC9760", Offset = "0xCC8760", VA = "0x180CC9760")]
|
||||
private void CheckAsyncTaskInProgress()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001891 RID: 6289 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001891")]
|
||||
[Address(RVA = "0xCCB1E0", Offset = "0xCCA1E0", VA = "0x180CCB1E0")]
|
||||
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: 0x06001892 RID: 6290 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001892")]
|
||||
[Address(RVA = "0xCCABB0", Offset = "0xCC9BB0", VA = "0x180CCABB0")]
|
||||
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: 0x06001893 RID: 6291 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001893")]
|
||||
[Address(RVA = "0xCCAC40", Offset = "0xCC9C40", VA = "0x180CCAC40")]
|
||||
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: 0x06001894 RID: 6292 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001894")]
|
||||
[Address(RVA = "0xCCAF00", Offset = "0xCC9F00", VA = "0x180CCAF00")]
|
||||
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: 0x06001895 RID: 6293 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001895")]
|
||||
[Address(RVA = "0xCCAA50", Offset = "0xCC9A50", VA = "0x180CCAA50")]
|
||||
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: 0x06001896 RID: 6294 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001896")]
|
||||
[Address(RVA = "0xCCACE0", Offset = "0xCC9CE0", VA = "0x180CCACE0")]
|
||||
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: 0x06001897 RID: 6295 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001897")]
|
||||
[Address(RVA = "0xCCAE70", Offset = "0xCC9E70", VA = "0x180CCAE70")]
|
||||
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: 0x06001898 RID: 6296 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001898")]
|
||||
[Address(RVA = "0xCCA9B0", Offset = "0xCC99B0", VA = "0x180CCA9B0")]
|
||||
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: 0x06001899 RID: 6297 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001899")]
|
||||
[Address(RVA = "0xCCAB20", Offset = "0xCC9B20", VA = "0x180CCAB20")]
|
||||
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: 0x0600189A RID: 6298 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600189A")]
|
||||
[Address(RVA = "0xCCAAF0", Offset = "0xCC9AF0", VA = "0x180CCAAF0")]
|
||||
public StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600189B RID: 6299 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600189B")]
|
||||
[Address(RVA = "0xCCAF90", Offset = "0xCC9F90", VA = "0x180CCAF90")]
|
||||
internal StreamReader(string path, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool checkHost)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600189C RID: 6300 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600189C")]
|
||||
[Address(RVA = "0xCC9C40", Offset = "0xCC8C40", VA = "0x180CC9C40")]
|
||||
private void Init(Stream stream, Encoding encoding, bool detectEncodingFromByteOrderMarks, int bufferSize, bool leaveOpen)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600189D RID: 6301 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600189D")]
|
||||
[Address(RVA = "0xCC9D50", Offset = "0xCC8D50", VA = "0x180CC9D50")]
|
||||
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: 0x0600189E RID: 6302 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600189E")]
|
||||
[Address(RVA = "0xCC97F0", Offset = "0xCC87F0", VA = "0x180CC97F0", 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: 0x0600189F RID: 6303 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600189F")]
|
||||
[Address(RVA = "0xCC9B80", Offset = "0xCC8B80", VA = "0x180CC9B80", 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: 0x170002F3 RID: 755
|
||||
// (get) Token: 0x060018A0 RID: 6304 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002F3")]
|
||||
public virtual Encoding CurrentEncoding
|
||||
{
|
||||
[Token(Token = "0x60018A0")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Returns the underlying stream.</summary>
|
||||
/// <returns>The underlying stream.</returns>
|
||||
// Token: 0x170002F4 RID: 756
|
||||
// (get) Token: 0x060018A1 RID: 6305 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002F4")]
|
||||
public virtual Stream BaseStream
|
||||
{
|
||||
[Token(Token = "0x60018A1")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002F5 RID: 757
|
||||
// (get) Token: 0x060018A2 RID: 6306 RVA: 0x000109B0 File Offset: 0x0000EBB0
|
||||
[Token(Token = "0x170002F5")]
|
||||
internal bool LeaveOpen
|
||||
{
|
||||
[Token(Token = "0x60018A2")]
|
||||
[Address(RVA = "0xCCB2A0", Offset = "0xCCA2A0", VA = "0x180CCB2A0")]
|
||||
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: 0x170002F6 RID: 758
|
||||
// (get) Token: 0x060018A3 RID: 6307 RVA: 0x000109C8 File Offset: 0x0000EBC8
|
||||
[Token(Token = "0x170002F6")]
|
||||
public bool EndOfStream
|
||||
{
|
||||
[Token(Token = "0x60018A3")]
|
||||
[Address(RVA = "0xCCB250", Offset = "0xCCA250", VA = "0x180CCB250")]
|
||||
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: 0x060018A4 RID: 6308 RVA: 0x000109E0 File Offset: 0x0000EBE0
|
||||
[Token(Token = "0x60018A4")]
|
||||
[Address(RVA = "0xCC9E70", Offset = "0xCC8E70", VA = "0x180CC9E70", Slot = "9")]
|
||||
public override int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018A5 RID: 6309 RVA: 0x000109F8 File Offset: 0x0000EBF8
|
||||
[Token(Token = "0x60018A5")]
|
||||
[Address(RVA = "0xCC9850", Offset = "0xCC8850", VA = "0x180CC9850")]
|
||||
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: 0x060018A6 RID: 6310 RVA: 0x00010A10 File Offset: 0x0000EC10
|
||||
[Token(Token = "0x60018A6")]
|
||||
[Address(RVA = "0xCCA600", Offset = "0xCC9600", VA = "0x180CCA600", 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: 0x060018A7 RID: 6311 RVA: 0x00010A28 File Offset: 0x0000EC28
|
||||
[Token(Token = "0x60018A7")]
|
||||
[Address(RVA = "0xCCA690", Offset = "0xCC9690", VA = "0x180CCA690", 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: 0x060018A8 RID: 6312 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018A8")]
|
||||
[Address(RVA = "0xCCA510", Offset = "0xCC9510", VA = "0x180CCA510", Slot = "12")]
|
||||
public override string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060018A9 RID: 6313 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018A9")]
|
||||
[Address(RVA = "0xCC9810", Offset = "0xCC8810", VA = "0x180CC9810")]
|
||||
private void CompressBuffer(int n)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018AA RID: 6314 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018AA")]
|
||||
[Address(RVA = "0xCC9860", Offset = "0xCC8860", VA = "0x180CC9860")]
|
||||
private void DetectEncoding()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018AB RID: 6315 RVA: 0x00010A40 File Offset: 0x0000EC40
|
||||
[Token(Token = "0x60018AB")]
|
||||
[Address(RVA = "0xCC9D60", Offset = "0xCC8D60", VA = "0x180CC9D60")]
|
||||
private bool IsPreamble()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060018AC RID: 6316 RVA: 0x00010A58 File Offset: 0x0000EC58
|
||||
[Token(Token = "0x60018AC")]
|
||||
[Address(RVA = "0xCCA150", Offset = "0xCC9150", VA = "0x180CCA150", Slot = "16")]
|
||||
internal virtual int ReadBuffer()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018AD RID: 6317 RVA: 0x00010A70 File Offset: 0x0000EC70
|
||||
[Token(Token = "0x60018AD")]
|
||||
[Address(RVA = "0xCC9F00", Offset = "0xCC8F00", VA = "0x180CC9F00")]
|
||||
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: 0x060018AE RID: 6318 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018AE")]
|
||||
[Address(RVA = "0xCCA300", Offset = "0xCC9300", VA = "0x180CCA300", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>A <see cref="T:System.IO.StreamReader" /> object around an empty stream.</summary>
|
||||
// Token: 0x04000D12 RID: 3346
|
||||
[Token(Token = "0x4000D12")]
|
||||
public new static readonly StreamReader Null;
|
||||
|
||||
// Token: 0x04000D13 RID: 3347
|
||||
[Token(Token = "0x4000D13")]
|
||||
private const int DefaultFileStreamBufferSize = 4096;
|
||||
|
||||
// Token: 0x04000D14 RID: 3348
|
||||
[Token(Token = "0x4000D14")]
|
||||
private const int MinBufferSize = 128;
|
||||
|
||||
// Token: 0x04000D15 RID: 3349
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000D15")]
|
||||
private Stream stream;
|
||||
|
||||
// Token: 0x04000D16 RID: 3350
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000D16")]
|
||||
private Encoding encoding;
|
||||
|
||||
// Token: 0x04000D17 RID: 3351
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D17")]
|
||||
private Decoder decoder;
|
||||
|
||||
// Token: 0x04000D18 RID: 3352
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000D18")]
|
||||
private byte[] byteBuffer;
|
||||
|
||||
// Token: 0x04000D19 RID: 3353
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000D19")]
|
||||
private char[] charBuffer;
|
||||
|
||||
// Token: 0x04000D1A RID: 3354
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000D1A")]
|
||||
private byte[] _preamble;
|
||||
|
||||
// Token: 0x04000D1B RID: 3355
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000D1B")]
|
||||
private int charPos;
|
||||
|
||||
// Token: 0x04000D1C RID: 3356
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4C")]
|
||||
[Token(Token = "0x4000D1C")]
|
||||
private int charLen;
|
||||
|
||||
// Token: 0x04000D1D RID: 3357
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000D1D")]
|
||||
private int byteLen;
|
||||
|
||||
// Token: 0x04000D1E RID: 3358
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
|
||||
[Token(Token = "0x4000D1E")]
|
||||
private int bytePos;
|
||||
|
||||
// Token: 0x04000D1F RID: 3359
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000D1F")]
|
||||
private int _maxCharsPerBuffer;
|
||||
|
||||
// Token: 0x04000D20 RID: 3360
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
|
||||
[Token(Token = "0x4000D20")]
|
||||
private bool _detectEncoding;
|
||||
|
||||
// Token: 0x04000D21 RID: 3361
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5D")]
|
||||
[Token(Token = "0x4000D21")]
|
||||
private bool _checkPreamble;
|
||||
|
||||
// Token: 0x04000D22 RID: 3362
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5E")]
|
||||
[Token(Token = "0x4000D22")]
|
||||
private bool _isBlocked;
|
||||
|
||||
// Token: 0x04000D23 RID: 3363
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5F")]
|
||||
[Token(Token = "0x4000D23")]
|
||||
private bool _closable;
|
||||
|
||||
// Token: 0x04000D24 RID: 3364
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000D24")]
|
||||
[NonSerialized]
|
||||
private Task _asyncReadTask;
|
||||
|
||||
// Token: 0x020002A4 RID: 676
|
||||
[Token(Token = "0x20002A4")]
|
||||
private class NullStreamReader : StreamReader
|
||||
{
|
||||
// Token: 0x060018B0 RID: 6320 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018B0")]
|
||||
[Address(RVA = "0xCC40E0", Offset = "0xCC30E0", VA = "0x180CC40E0")]
|
||||
internal NullStreamReader()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002F7 RID: 759
|
||||
// (get) Token: 0x060018B1 RID: 6321 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002F7")]
|
||||
public override Stream BaseStream
|
||||
{
|
||||
[Token(Token = "0x60018B1")]
|
||||
[Address(RVA = "0xCC41B0", Offset = "0xCC31B0", VA = "0x180CC41B0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002F8 RID: 760
|
||||
// (get) Token: 0x060018B2 RID: 6322 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002F8")]
|
||||
public override Encoding CurrentEncoding
|
||||
{
|
||||
[Token(Token = "0x60018B2")]
|
||||
[Address(RVA = "0xCC4210", Offset = "0xCC3210", VA = "0x180CC4210", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060018B3 RID: 6323 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018B3")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "8")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018B4 RID: 6324 RVA: 0x00010A88 File Offset: 0x0000EC88
|
||||
[Token(Token = "0x60018B4")]
|
||||
[Address(RVA = "0x716A60", Offset = "0x715A60", VA = "0x180716A60", Slot = "9")]
|
||||
public override int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018B5 RID: 6325 RVA: 0x00010AA0 File Offset: 0x0000ECA0
|
||||
[Token(Token = "0x60018B5")]
|
||||
[Address(RVA = "0x716A60", Offset = "0x715A60", VA = "0x180716A60", Slot = "10")]
|
||||
public override int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018B6 RID: 6326 RVA: 0x00010AB8 File Offset: 0x0000ECB8
|
||||
[Token(Token = "0x60018B6")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "11")]
|
||||
public override int Read(char[] buffer, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018B7 RID: 6327 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018B7")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060018B8 RID: 6328 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018B8")]
|
||||
[Address(RVA = "0xCC40A0", Offset = "0xCC30A0", VA = "0x180CC40A0", Slot = "12")]
|
||||
public override string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060018B9 RID: 6329 RVA: 0x00010AD0 File Offset: 0x0000ECD0
|
||||
[Token(Token = "0x60018B9")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "16")]
|
||||
internal override int ReadBuffer()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,448 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Implements a <see cref="T:System.IO.TextWriter" /> for writing characters to a stream in a particular encoding.</summary>
|
||||
// Token: 0x020002A5 RID: 677
|
||||
[Token(Token = "0x20002A5")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class StreamWriter : TextWriter
|
||||
{
|
||||
// Token: 0x060018BA RID: 6330 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018BA")]
|
||||
[Address(RVA = "0xCCB2B0", Offset = "0xCCA2B0", VA = "0x180CCB2B0")]
|
||||
private void CheckAsyncTaskInProgress()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x170002F9 RID: 761
|
||||
// (get) Token: 0x060018BB RID: 6331 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002F9")]
|
||||
internal static Encoding UTF8NoBOM
|
||||
{
|
||||
[Token(Token = "0x60018BB")]
|
||||
[Address(RVA = "0xCCC490", Offset = "0xCCB490", VA = "0x180CCC490")]
|
||||
[FriendAccessAllowed]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x060018BC RID: 6332 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018BC")]
|
||||
[Address(RVA = "0xCCBDE0", Offset = "0xCCADE0", VA = "0x180CCBDE0")]
|
||||
internal StreamWriter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using UTF-8 encoding and the default buffer size.</summary>
|
||||
/// <param name="stream">The stream to write to.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="stream" /> is not writable.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060018BD RID: 6333 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018BD")]
|
||||
[Address(RVA = "0xCCC1B0", Offset = "0xCCB1B0", VA = "0x180CCC1B0")]
|
||||
public StreamWriter(Stream stream)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using the specified encoding and the default buffer size.</summary>
|
||||
/// <param name="stream">The stream to write to.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="stream" /> is not writable.</exception>
|
||||
// Token: 0x060018BE RID: 6334 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018BE")]
|
||||
[Address(RVA = "0xCCC450", Offset = "0xCCB450", VA = "0x180CCC450")]
|
||||
public StreamWriter(Stream stream, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified stream by using the specified encoding and buffer size, and optionally leaves the stream open.</summary>
|
||||
/// <param name="stream">The stream to write to.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <param name="bufferSize">The buffer size, in bytes.</param>
|
||||
/// <param name="leaveOpen">
|
||||
/// <see langword="true" /> to leave the stream open after the <see cref="T:System.IO.StreamWriter" /> object is disposed; otherwise, <see langword="false" />.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="stream" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="stream" /> is not writable.</exception>
|
||||
// Token: 0x060018BF RID: 6335 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018BF")]
|
||||
[Address(RVA = "0xCCC2C0", Offset = "0xCCB2C0", VA = "0x180CCC2C0")]
|
||||
public StreamWriter(Stream stream, Encoding encoding, int bufferSize, bool leaveOpen)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified file by using the default encoding and buffer size.</summary>
|
||||
/// <param name="path">The complete file path to write to. <paramref name="path" /> can be a file name.</param>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">Access is denied.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string ("").
|
||||
/// -or-
|
||||
/// <paramref name="path" /> contains the name of a system device (com1, com2, and so on).</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x060018C0 RID: 6336 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C0")]
|
||||
[Address(RVA = "0xCCC230", Offset = "0xCCB230", VA = "0x180CCC230")]
|
||||
public StreamWriter(string path)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified file by using the default encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.</summary>
|
||||
/// <param name="path">The complete file path to write to.</param>
|
||||
/// <param name="append">
|
||||
/// <see langword="true" /> to append data to the file; <see langword="false" /> to overwrite the file. If the specified file does not exist, this parameter has no effect, and the constructor creates a new file.</param>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">Access is denied.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is empty.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> contains the name of a system device (com1, com2, and so on).</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is 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 syntax.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x060018C1 RID: 6337 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C1")]
|
||||
[Address(RVA = "0xCCBE70", Offset = "0xCCAE70", VA = "0x180CCBE70")]
|
||||
public StreamWriter(string path, bool append)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified file by using the specified encoding and default buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.</summary>
|
||||
/// <param name="path">The complete file path to write to.</param>
|
||||
/// <param name="append">
|
||||
/// <see langword="true" /> to append data to the file; <see langword="false" /> to overwrite the file. If the specified file does not exist, this parameter has no effect, and the constructor creates a new file.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">Access is denied.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is empty.
|
||||
/// -or-
|
||||
/// <paramref name="path" /> contains the name of a system device (com1, com2, and so on).</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is 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 syntax.</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
// Token: 0x060018C2 RID: 6338 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C2")]
|
||||
[Address(RVA = "0xCCBE40", Offset = "0xCCAE40", VA = "0x180CCBE40")]
|
||||
public StreamWriter(string path, bool append, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StreamWriter" /> class for the specified file on the specified path, using the specified encoding and buffer size. If the file exists, it can be either overwritten or appended to. If the file does not exist, this constructor creates a new file.</summary>
|
||||
/// <param name="path">The complete file path to write to.</param>
|
||||
/// <param name="append">
|
||||
/// <see langword="true" /> to append data to the file; <see langword="false" /> to overwrite the file. If the specified file does not exist, this parameter has no effect, and the constructor creates a new file.</param>
|
||||
/// <param name="encoding">The character encoding to use.</param>
|
||||
/// <param name="bufferSize">The buffer size, in bytes.</param>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="path" /> is an empty string ("").
|
||||
/// -or-
|
||||
/// <paramref name="path" /> contains the name of a system device (com1, com2, and so on).</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="path" /> or <paramref name="encoding" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="bufferSize" /> is negative.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">
|
||||
/// <paramref name="path" /> includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.</exception>
|
||||
/// <exception cref="T:System.Security.SecurityException">The caller does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.UnauthorizedAccessException">Access is denied.</exception>
|
||||
/// <exception cref="T:System.IO.DirectoryNotFoundException">The specified path is invalid (for example, it is on an unmapped drive).</exception>
|
||||
/// <exception cref="T:System.IO.PathTooLongException">The specified path, file name, or both exceed the system-defined maximum length.</exception>
|
||||
// Token: 0x060018C3 RID: 6339 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C3")]
|
||||
[Address(RVA = "0xCCBDB0", Offset = "0xCCADB0", VA = "0x180CCBDB0")]
|
||||
public StreamWriter(string path, bool append, Encoding encoding, int bufferSize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018C4 RID: 6340 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C4")]
|
||||
[Address(RVA = "0xCCBF10", Offset = "0xCCAF10", VA = "0x180CCBF10")]
|
||||
internal StreamWriter(string path, bool append, Encoding encoding, int bufferSize, bool checkHost)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018C5 RID: 6341 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C5")]
|
||||
[Address(RVA = "0xCCB790", Offset = "0xCCA790", VA = "0x180CCB790")]
|
||||
private void Init(Stream streamArg, Encoding encodingArg, int bufferSize, bool shouldLeaveOpen)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018C6 RID: 6342 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018C6")]
|
||||
[Address(RVA = "0xCCB3B0", Offset = "0xCCA3B0", VA = "0x180CCB3B0")]
|
||||
private static Stream CreateFile(string path, bool append, bool checkHost)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Closes the current <see langword="StreamWriter" /> object and the underlying stream.</summary>
|
||||
/// <exception cref="T:System.Text.EncoderFallbackException">The current encoding does not support displaying half of a Unicode surrogate pair.</exception>
|
||||
// Token: 0x060018C7 RID: 6343 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C7")]
|
||||
[Address(RVA = "0xCCB340", Offset = "0xCCA340", VA = "0x180CCB340", Slot = "8")]
|
||||
public override void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StreamWriter" /> 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>
|
||||
/// <exception cref="T:System.Text.EncoderFallbackException">The current encoding does not support displaying half of a Unicode surrogate pair.</exception>
|
||||
// Token: 0x060018C8 RID: 6344 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C8")]
|
||||
[Address(RVA = "0xCCB4A0", Offset = "0xCCA4A0", VA = "0x180CCB4A0", Slot = "9")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Clears all buffers for the current writer and causes any buffered data to be written to the underlying stream.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current writer is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error has occurred.</exception>
|
||||
/// <exception cref="T:System.Text.EncoderFallbackException">The current encoding does not support displaying half of a Unicode surrogate pair.</exception>
|
||||
// Token: 0x060018C9 RID: 6345 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018C9")]
|
||||
[Address(RVA = "0xCCB5E0", Offset = "0xCCA5E0", VA = "0x180CCB5E0", Slot = "10")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018CA RID: 6346 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018CA")]
|
||||
[Address(RVA = "0xCCB610", Offset = "0xCCA610", VA = "0x180CCB610")]
|
||||
private void Flush(bool flushStream, bool flushEncoder)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a value indicating whether the <see cref="T:System.IO.StreamWriter" /> will flush its buffer to the underlying stream after every call to <see cref="M:System.IO.StreamWriter.Write(System.Char)" />.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="true" /> to force <see cref="T:System.IO.StreamWriter" /> to flush its buffer; otherwise, <see langword="false" />.</returns>
|
||||
// Token: 0x170002FA RID: 762
|
||||
// (set) Token: 0x060018CB RID: 6347 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170002FA")]
|
||||
public virtual bool AutoFlush
|
||||
{
|
||||
[Token(Token = "0x60018CB")]
|
||||
[Address(RVA = "0xCCC590", Offset = "0xCCB590", VA = "0x180CCC590", Slot = "27")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the underlying stream that interfaces with a backing store.</summary>
|
||||
/// <returns>The stream this <see langword="StreamWriter" /> is writing to.</returns>
|
||||
// Token: 0x170002FB RID: 763
|
||||
// (get) Token: 0x060018CC RID: 6348 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002FB")]
|
||||
public virtual Stream BaseStream
|
||||
{
|
||||
[Token(Token = "0x60018CC")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "28")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170002FC RID: 764
|
||||
// (get) Token: 0x060018CD RID: 6349 RVA: 0x00010AE8 File Offset: 0x0000ECE8
|
||||
[Token(Token = "0x170002FC")]
|
||||
internal bool LeaveOpen
|
||||
{
|
||||
[Token(Token = "0x60018CD")]
|
||||
[Address(RVA = "0xCCC480", Offset = "0xCCB480", VA = "0x180CCC480")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Text.Encoding" /> in which the output is written.</summary>
|
||||
/// <returns>The <see cref="T:System.Text.Encoding" /> specified in the constructor for the current instance, or <see cref="T:System.Text.UTF8Encoding" /> if an encoding was not specified.</returns>
|
||||
// Token: 0x170002FD RID: 765
|
||||
// (get) Token: 0x060018CE RID: 6350 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002FD")]
|
||||
public override Encoding Encoding
|
||||
{
|
||||
[Token(Token = "0x60018CE")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Writes a character to the stream.</summary>
|
||||
/// <param name="value">The character to write to the stream.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream.</exception>
|
||||
// Token: 0x060018CF RID: 6351 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018CF")]
|
||||
[Address(RVA = "0xCCBC60", Offset = "0xCCAC60", VA = "0x180CCBC60", Slot = "13")]
|
||||
public override void Write(char value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a character array to the stream.</summary>
|
||||
/// <param name="buffer">A character array containing the data to write. If <paramref name="buffer" /> is <see langword="null" />, nothing is written.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream.</exception>
|
||||
// Token: 0x060018D0 RID: 6352 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018D0")]
|
||||
[Address(RVA = "0xCCB8B0", Offset = "0xCCA8B0", VA = "0x180CCB8B0", Slot = "14")]
|
||||
public override void Write(char[] buffer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a subarray of characters to the stream.</summary>
|
||||
/// <param name="buffer">A character array that contains the data to write.</param>
|
||||
/// <param name="index">The character position in the buffer at which to start reading data.</param>
|
||||
/// <param name="count">The maximum number of characters to write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</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.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream.</exception>
|
||||
// Token: 0x060018D1 RID: 6353 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018D1")]
|
||||
[Address(RVA = "0xCCB980", Offset = "0xCCA980", VA = "0x180CCB980", Slot = "15")]
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a string to the stream.</summary>
|
||||
/// <param name="value">The string to write to the stream. If <paramref name="value" /> is null, nothing is written.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and current writer is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">
|
||||
/// <see cref="P:System.IO.StreamWriter.AutoFlush" /> is true or the <see cref="T:System.IO.StreamWriter" /> buffer is full, and the contents of the buffer cannot be written to the underlying fixed size stream because the <see cref="T:System.IO.StreamWriter" /> is at the end the stream.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x060018D2 RID: 6354 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018D2")]
|
||||
[Address(RVA = "0xCCBB90", Offset = "0xCCAB90", VA = "0x180CCBB90", Slot = "18")]
|
||||
public override void Write(string value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000D25 RID: 3365
|
||||
[Token(Token = "0x4000D25")]
|
||||
internal const int DefaultBufferSize = 1024;
|
||||
|
||||
// Token: 0x04000D26 RID: 3366
|
||||
[Token(Token = "0x4000D26")]
|
||||
private const int DefaultFileStreamBufferSize = 4096;
|
||||
|
||||
// Token: 0x04000D27 RID: 3367
|
||||
[Token(Token = "0x4000D27")]
|
||||
private const int MinBufferSize = 128;
|
||||
|
||||
// Token: 0x04000D28 RID: 3368
|
||||
[Token(Token = "0x4000D28")]
|
||||
private const int DontCopyOnWriteLineThreshold = 512;
|
||||
|
||||
/// <summary>Provides a <see langword="StreamWriter" /> with no backing store that can be written to, but not read from.</summary>
|
||||
// Token: 0x04000D29 RID: 3369
|
||||
[Token(Token = "0x4000D29")]
|
||||
public new static readonly StreamWriter Null;
|
||||
|
||||
// Token: 0x04000D2A RID: 3370
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D2A")]
|
||||
private Stream stream;
|
||||
|
||||
// Token: 0x04000D2B RID: 3371
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000D2B")]
|
||||
private Encoding encoding;
|
||||
|
||||
// Token: 0x04000D2C RID: 3372
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000D2C")]
|
||||
private Encoder encoder;
|
||||
|
||||
// Token: 0x04000D2D RID: 3373
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000D2D")]
|
||||
private byte[] byteBuffer;
|
||||
|
||||
// Token: 0x04000D2E RID: 3374
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000D2E")]
|
||||
private char[] charBuffer;
|
||||
|
||||
// Token: 0x04000D2F RID: 3375
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000D2F")]
|
||||
private int charPos;
|
||||
|
||||
// Token: 0x04000D30 RID: 3376
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x54")]
|
||||
[Token(Token = "0x4000D30")]
|
||||
private int charLen;
|
||||
|
||||
// Token: 0x04000D31 RID: 3377
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000D31")]
|
||||
private bool autoFlush;
|
||||
|
||||
// Token: 0x04000D32 RID: 3378
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x59")]
|
||||
[Token(Token = "0x4000D32")]
|
||||
private bool haveWrittenPreamble;
|
||||
|
||||
// Token: 0x04000D33 RID: 3379
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5A")]
|
||||
[Token(Token = "0x4000D33")]
|
||||
private bool closable;
|
||||
|
||||
// Token: 0x04000D34 RID: 3380
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000D34")]
|
||||
[NonSerialized]
|
||||
private Task _asyncWriteTask;
|
||||
|
||||
// Token: 0x04000D35 RID: 3381
|
||||
[Token(Token = "0x4000D35")]
|
||||
private static Encoding _UTF8NoBOM;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,122 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Implements a <see cref="T:System.IO.TextReader" /> that reads from a string.</summary>
|
||||
// Token: 0x020002A6 RID: 678
|
||||
[Token(Token = "0x20002A6")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class StringReader : TextReader
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StringReader" /> class that reads from the specified string.</summary>
|
||||
/// <param name="s">The string to which the <see cref="T:System.IO.StringReader" /> should be initialized.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="s" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x060018D4 RID: 6356 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018D4")]
|
||||
[Address(RVA = "0xCCEA00", Offset = "0xCCDA00", VA = "0x180CCEA00")]
|
||||
public StringReader(string s)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Closes the <see cref="T:System.IO.StringReader" />.</summary>
|
||||
// Token: 0x060018D5 RID: 6357 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018D5")]
|
||||
[Address(RVA = "0xCC97F0", Offset = "0xCC87F0", VA = "0x180CC97F0", Slot = "7")]
|
||||
public override void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StringReader" /> 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: 0x060018D6 RID: 6358 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018D6")]
|
||||
[Address(RVA = "0xCCE660", Offset = "0xCCD660", VA = "0x180CCE660", Slot = "8")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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 no more characters are available or the stream does not support seeking.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current reader is closed.</exception>
|
||||
// Token: 0x060018D7 RID: 6359 RVA: 0x00010B00 File Offset: 0x0000ED00
|
||||
[Token(Token = "0x60018D7")]
|
||||
[Address(RVA = "0xCCE670", Offset = "0xCCD670", VA = "0x180CCE670", Slot = "9")]
|
||||
public override int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads the next character from the input string and advances the character position by one character.</summary>
|
||||
/// <returns>The next character from the underlying string, or -1 if no more characters are available.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current reader is closed.</exception>
|
||||
// Token: 0x060018D8 RID: 6360 RVA: 0x00010B18 File Offset: 0x0000ED18
|
||||
[Token(Token = "0x60018D8")]
|
||||
[Address(RVA = "0xCCE7F0", Offset = "0xCCD7F0", VA = "0x180CCE7F0", Slot = "10")]
|
||||
public override int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a block of characters from the input string and advances the character position by <paramref name="count" />.</summary>
|
||||
/// <param name="buffer">When this method returns, contains the specified character array with the values between <paramref name="index" /> and (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
|
||||
/// <param name="index">The starting index in the buffer.</param>
|
||||
/// <param name="count">The number of characters to read.</param>
|
||||
/// <returns>The total number of characters read into the buffer. This can be less than the number of characters requested if that many characters are not currently available, or zero if the end of the underlying string has been reached.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current reader is closed.</exception>
|
||||
// Token: 0x060018D9 RID: 6361 RVA: 0x00010B30 File Offset: 0x0000ED30
|
||||
[Token(Token = "0x60018D9")]
|
||||
[Address(RVA = "0xCCE830", Offset = "0xCCD830", VA = "0x180CCE830", 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 string and returns them as a single string.</summary>
|
||||
/// <returns>The content from the current position to the end of the underlying string.</returns>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current reader is closed.</exception>
|
||||
// Token: 0x060018DA RID: 6362 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018DA")]
|
||||
[Address(RVA = "0xCCE7B0", Offset = "0xCCD7B0", VA = "0x180CCE7B0", Slot = "12")]
|
||||
public override string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads a line of characters from the current string and returns the data as a string.</summary>
|
||||
/// <returns>The next line from the current string, or <see langword="null" /> if the end of the string is reached.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The current reader is closed.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
|
||||
// Token: 0x060018DB RID: 6363 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018DB")]
|
||||
[Address(RVA = "0xCCE6B0", Offset = "0xCCD6B0", VA = "0x180CCE6B0", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000D36 RID: 3382
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000D36")]
|
||||
private string _s;
|
||||
|
||||
// Token: 0x04000D37 RID: 3383
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000D37")]
|
||||
private int _pos;
|
||||
|
||||
// Token: 0x04000D38 RID: 3384
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4000D38")]
|
||||
private int _length;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000294 RID: 660
|
||||
[Token(Token = "0x2000294")]
|
||||
internal class StringResultHandler : SearchResultHandler<string>
|
||||
{
|
||||
// Token: 0x060017ED RID: 6125 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60017ED")]
|
||||
[Address(RVA = "0xCCEB90", Offset = "0xCCDB90", VA = "0x180CCEB90")]
|
||||
internal StringResultHandler(bool includeFiles, bool includeDirs)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060017EE RID: 6126 RVA: 0x000105C0 File Offset: 0x0000E7C0
|
||||
[Token(Token = "0x60017EE")]
|
||||
[Address(RVA = "0xCCEAC0", Offset = "0xCCDAC0", VA = "0x180CCEAC0", Slot = "4")]
|
||||
internal override bool IsResultIncluded(SearchResult result)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060017EF RID: 6127 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60017EF")]
|
||||
[Address(RVA = "0xCCEAA0", Offset = "0xCCDAA0", VA = "0x180CCEAA0", Slot = "5")]
|
||||
internal override string CreateObject(SearchResult result)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000CD7 RID: 3287
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000CD7")]
|
||||
private bool _includeFiles;
|
||||
|
||||
// Token: 0x04000CD8 RID: 3288
|
||||
[FieldOffset(Offset = "0x11")]
|
||||
[Token(Token = "0x4000CD8")]
|
||||
private bool _includeDirs;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Implements a <see cref="T:System.IO.TextWriter" /> for writing information to a string. The information is stored in an underlying <see cref="T:System.Text.StringBuilder" />.</summary>
|
||||
// Token: 0x020002A7 RID: 679
|
||||
[Token(Token = "0x20002A7")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class StringWriter : TextWriter
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class.</summary>
|
||||
// Token: 0x060018DC RID: 6364 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018DC")]
|
||||
[Address(RVA = "0xCCEEC0", Offset = "0xCCDEC0", VA = "0x180CCEEC0")]
|
||||
public StringWriter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class with the specified format control.</summary>
|
||||
/// <param name="formatProvider">An <see cref="T:System.IFormatProvider" /> object that controls formatting.</param>
|
||||
// Token: 0x060018DD RID: 6365 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018DD")]
|
||||
[Address(RVA = "0xCCEE50", Offset = "0xCCDE50", VA = "0x180CCEE50")]
|
||||
public StringWriter(IFormatProvider formatProvider)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class that writes to the specified <see cref="T:System.Text.StringBuilder" />.</summary>
|
||||
/// <param name="sb">The <see cref="T:System.Text.StringBuilder" /> object to write to.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="sb" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060018DE RID: 6366 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018DE")]
|
||||
[Address(RVA = "0xCCEF50", Offset = "0xCCDF50", VA = "0x180CCEF50")]
|
||||
public StringWriter(StringBuilder sb)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.StringWriter" /> class that writes to the specified <see cref="T:System.Text.StringBuilder" /> and has the specified format provider.</summary>
|
||||
/// <param name="sb">The <see cref="T:System.Text.StringBuilder" /> object to write to.</param>
|
||||
/// <param name="formatProvider">An <see cref="T:System.IFormatProvider" /> object that controls formatting.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="sb" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060018DF RID: 6367 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018DF")]
|
||||
[Address(RVA = "0xCCEFC0", Offset = "0xCCDFC0", VA = "0x180CCEFC0")]
|
||||
public StringWriter(StringBuilder sb, IFormatProvider formatProvider)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Closes the current <see cref="T:System.IO.StringWriter" /> and the underlying stream.</summary>
|
||||
// Token: 0x060018E0 RID: 6368 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E0")]
|
||||
[Address(RVA = "0x41EF10", Offset = "0x41DF10", VA = "0x18041EF10", Slot = "8")]
|
||||
public override void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.StringWriter" /> 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: 0x060018E1 RID: 6369 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E1")]
|
||||
[Address(RVA = "0x6E1A50", Offset = "0x6E0A50", VA = "0x1806E1A50", Slot = "9")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Text.Encoding" /> in which the output is written.</summary>
|
||||
/// <returns>The <see langword="Encoding" /> in which the output is written.</returns>
|
||||
// Token: 0x170002FE RID: 766
|
||||
// (get) Token: 0x060018E2 RID: 6370 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002FE")]
|
||||
public override Encoding Encoding
|
||||
{
|
||||
[Token(Token = "0x60018E2")]
|
||||
[Address(RVA = "0xCCF090", Offset = "0xCCE090", VA = "0x180CCF090", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Writes a character to the string.</summary>
|
||||
/// <param name="value">The character to write.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The writer is closed.</exception>
|
||||
// Token: 0x060018E3 RID: 6371 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E3")]
|
||||
[Address(RVA = "0xCCEE20", Offset = "0xCCDE20", VA = "0x180CCEE20", Slot = "13")]
|
||||
public override void Write(char value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a subarray of characters to the string.</summary>
|
||||
/// <param name="buffer">The character array to write data from.</param>
|
||||
/// <param name="index">The position in the buffer at which to start reading data.</param>
|
||||
/// <param name="count">The maximum number of characters to write.</param>
|
||||
/// <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.ArgumentException">(<paramref name="index" /> + <paramref name="count" />)> <paramref name="buffer" />. <see langword="Length" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The writer is closed.</exception>
|
||||
// Token: 0x060018E4 RID: 6372 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E4")]
|
||||
[Address(RVA = "0xCCEC20", Offset = "0xCCDC20", VA = "0x180CCEC20", Slot = "15")]
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a string to the current string.</summary>
|
||||
/// <param name="value">The string to write.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The writer is closed.</exception>
|
||||
// Token: 0x060018E5 RID: 6373 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E5")]
|
||||
[Address(RVA = "0xCCEDE0", Offset = "0xCCDDE0", VA = "0x180CCEDE0", Slot = "18")]
|
||||
public override void Write(string value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Returns a string containing the characters written to the current <see langword="StringWriter" /> so far.</summary>
|
||||
/// <returns>The string containing the characters written to the current <see langword="StringWriter" />.</returns>
|
||||
// Token: 0x060018E6 RID: 6374 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018E6")]
|
||||
[Address(RVA = "0xCCEBF0", Offset = "0xCCDBF0", VA = "0x180CCEBF0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000D39 RID: 3385
|
||||
[Token(Token = "0x4000D39")]
|
||||
private static UnicodeEncoding m_encoding;
|
||||
|
||||
// Token: 0x04000D3A RID: 3386
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D3A")]
|
||||
private StringBuilder _sb;
|
||||
|
||||
// Token: 0x04000D3B RID: 3387
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000D3B")]
|
||||
private bool _isOpen;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,249 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Represents a reader that can read a sequential series of characters.</summary>
|
||||
// Token: 0x020002A8 RID: 680
|
||||
[Token(Token = "0x20002A8")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public abstract class TextReader : MarshalByRefObject, IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.TextReader" /> class.</summary>
|
||||
// Token: 0x060018E7 RID: 6375 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E7")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected TextReader()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Closes the <see cref="T:System.IO.TextReader" /> and releases any system resources associated with the <see langword="TextReader" />.</summary>
|
||||
// Token: 0x060018E8 RID: 6376 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E8")]
|
||||
[Address(RVA = "0xCCF730", Offset = "0xCCE730", VA = "0x180CCF730", Slot = "7")]
|
||||
public virtual void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the <see cref="T:System.IO.TextReader" /> object.</summary>
|
||||
// Token: 0x060018E9 RID: 6377 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018E9")]
|
||||
[Address(RVA = "0xCCF7A0", Offset = "0xCCE7A0", VA = "0x180CCF7A0", Slot = "6")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.TextReader" /> 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: 0x060018EA RID: 6378 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018EA")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "8")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Reads the next character without changing the state of the reader or the character source. Returns the next available character without actually reading it from the reader.</summary>
|
||||
/// <returns>An integer representing the next character to be read, or -1 if no more characters are available or the reader does not support seeking.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x060018EB RID: 6379 RVA: 0x00010B48 File Offset: 0x0000ED48
|
||||
[Token(Token = "0x60018EB")]
|
||||
[Address(RVA = "0x716A60", Offset = "0x715A60", VA = "0x180716A60", Slot = "9")]
|
||||
public virtual int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads the next character from the text reader and advances the character position by one character.</summary>
|
||||
/// <returns>The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x060018EC RID: 6380 RVA: 0x00010B60 File Offset: 0x0000ED60
|
||||
[Token(Token = "0x60018EC")]
|
||||
[Address(RVA = "0x716A60", Offset = "0x715A60", VA = "0x180716A60", Slot = "10")]
|
||||
public virtual int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Reads a specified maximum number of characters from the current reader and writes the data to 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 (<paramref name="index" /> + <paramref name="count" /> - 1) replaced by the characters read from the current source.</param>
|
||||
/// <param name="index">The position in <paramref name="buffer" /> at which to begin writing.</param>
|
||||
/// <param name="count">The maximum number of characters to read. If the end of the reader is reached before the specified number of characters is read into the buffer, the method returns.</param>
|
||||
/// <returns>The number of characters that have been read. The number will be less than or equal to <paramref name="count" />, depending on whether the data is available within the reader. This method returns 0 (zero) if it is called when no more characters are left to read.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="buffer" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x060018ED RID: 6381 RVA: 0x00010B78 File Offset: 0x0000ED78
|
||||
[Token(Token = "0x60018ED")]
|
||||
[Address(RVA = "0xCCFA20", Offset = "0xCCEA20", VA = "0x180CCFA20", Slot = "11")]
|
||||
public virtual 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 text reader and returns them as one string.</summary>
|
||||
/// <returns>A string that contains all characters from the current position to the end of the text reader.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" /></exception>
|
||||
// Token: 0x060018EE RID: 6382 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018EE")]
|
||||
[Address(RVA = "0xCCF930", Offset = "0xCCE930", VA = "0x180CCF930", Slot = "12")]
|
||||
public virtual string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads a line of characters from the text reader and returns the data as a string.</summary>
|
||||
/// <returns>The next line from the reader, or <see langword="null" /> if all characters have been read.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.OutOfMemoryException">There is insufficient memory to allocate a buffer for the returned string.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextReader" /> is closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The number of characters in the next line is larger than <see cref="F:System.Int32.MaxValue" /></exception>
|
||||
// Token: 0x060018EF RID: 6383 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018EF")]
|
||||
[Address(RVA = "0xCCF810", Offset = "0xCCE810", VA = "0x180CCF810", Slot = "13")]
|
||||
public virtual string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Creates a thread-safe wrapper around the specified <see langword="TextReader" />.</summary>
|
||||
/// <param name="reader">The <see langword="TextReader" /> to synchronize.</param>
|
||||
/// <returns>A thread-safe <see cref="T:System.IO.TextReader" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="reader" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060018F0 RID: 6384 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018F0")]
|
||||
[Address(RVA = "0xCCFC00", Offset = "0xCCEC00", VA = "0x180CCFC00")]
|
||||
public static TextReader Synchronized(TextReader reader)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000D3C RID: 3388
|
||||
[Token(Token = "0x4000D3C")]
|
||||
[NonSerialized]
|
||||
private static Func<object, string> _ReadLineDelegate;
|
||||
|
||||
// Token: 0x04000D3D RID: 3389
|
||||
[Token(Token = "0x4000D3D")]
|
||||
[NonSerialized]
|
||||
private static Func<object, int> _ReadDelegate;
|
||||
|
||||
/// <summary>Provides a <see langword="TextReader" /> with no data to read from.</summary>
|
||||
// Token: 0x04000D3E RID: 3390
|
||||
[Token(Token = "0x4000D3E")]
|
||||
public static readonly TextReader Null;
|
||||
|
||||
// Token: 0x020002A9 RID: 681
|
||||
[Token(Token = "0x20002A9")]
|
||||
[Serializable]
|
||||
private sealed class NullTextReader : TextReader
|
||||
{
|
||||
// Token: 0x060018F2 RID: 6386 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018F2")]
|
||||
[Address(RVA = "0xCC4670", Offset = "0xCC3670", VA = "0x180CC4670")]
|
||||
public NullTextReader()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018F3 RID: 6387 RVA: 0x00010B90 File Offset: 0x0000ED90
|
||||
[Token(Token = "0x60018F3")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "11")]
|
||||
public override int Read(char[] buffer, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018F4 RID: 6388 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018F4")]
|
||||
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x020002AA RID: 682
|
||||
[Token(Token = "0x20002AA")]
|
||||
[Serializable]
|
||||
internal sealed class SyncTextReader : TextReader
|
||||
{
|
||||
// Token: 0x060018F5 RID: 6389 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018F5")]
|
||||
[Address(RVA = "0xCCF210", Offset = "0xCCE210", VA = "0x180CCF210")]
|
||||
internal SyncTextReader(TextReader t)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018F6 RID: 6390 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018F6")]
|
||||
[Address(RVA = "0xA1AC70", Offset = "0xA19C70", VA = "0x180A1AC70", Slot = "7")]
|
||||
public override void Close()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018F7 RID: 6391 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60018F7")]
|
||||
[Address(RVA = "0xCCF120", Offset = "0xCCE120", VA = "0x180CCF120", Slot = "8")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060018F8 RID: 6392 RVA: 0x00010BA8 File Offset: 0x0000EDA8
|
||||
[Token(Token = "0x60018F8")]
|
||||
[Address(RVA = "0xCCF180", Offset = "0xCCE180", VA = "0x180CCF180", Slot = "9")]
|
||||
public override int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018F9 RID: 6393 RVA: 0x00010BC0 File Offset: 0x0000EDC0
|
||||
[Token(Token = "0x60018F9")]
|
||||
[Address(RVA = "0xA1ACA0", Offset = "0xA19CA0", VA = "0x180A1ACA0", Slot = "10")]
|
||||
public override int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018FA RID: 6394 RVA: 0x00010BD8 File Offset: 0x0000EDD8
|
||||
[Token(Token = "0x60018FA")]
|
||||
[Address(RVA = "0xCCF1E0", Offset = "0xCCE1E0", VA = "0x180CCF1E0", Slot = "11")]
|
||||
public override int Read([In] [Out] char[] buffer, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060018FB RID: 6395 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018FB")]
|
||||
[Address(RVA = "0xA1AC40", Offset = "0xA19C40", VA = "0x180A1AC40", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x060018FC RID: 6396 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x60018FC")]
|
||||
[Address(RVA = "0xCCF1B0", Offset = "0xCCE1B0", VA = "0x180CCF1B0", Slot = "12")]
|
||||
public override string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000D3F RID: 3391
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000D3F")]
|
||||
internal TextReader _in;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,608 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Represents a writer that can write a sequential series of characters. This class is abstract.</summary>
|
||||
// Token: 0x020002AC RID: 684
|
||||
[Token(Token = "0x20002AC")]
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public abstract class TextWriter : MarshalByRefObject, IDisposable
|
||||
{
|
||||
// Token: 0x170002FF RID: 767
|
||||
// (get) Token: 0x06001901 RID: 6401 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x170002FF")]
|
||||
private static string InitialNewLine
|
||||
{
|
||||
[Token(Token = "0x6001901")]
|
||||
[Address(RVA = "0x4F07F0", Offset = "0x4EF7F0", VA = "0x1804F07F0")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.TextWriter" /> class.</summary>
|
||||
// Token: 0x06001902 RID: 6402 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001902")]
|
||||
[Address(RVA = "0xCD0B30", Offset = "0xCCFB30", VA = "0x180CD0B30")]
|
||||
protected TextWriter()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.TextWriter" /> class with the specified format provider.</summary>
|
||||
/// <param name="formatProvider">An <see cref="T:System.IFormatProvider" /> object that controls formatting.</param>
|
||||
// Token: 0x06001903 RID: 6403 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001903")]
|
||||
[Address(RVA = "0xCD0BB0", Offset = "0xCCFBB0", VA = "0x180CD0BB0")]
|
||||
protected TextWriter(IFormatProvider formatProvider)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets an object that controls formatting.</summary>
|
||||
/// <returns>An <see cref="T:System.IFormatProvider" /> object for a specific culture, or the formatting of the current culture if no other culture is specified.</returns>
|
||||
// Token: 0x17000300 RID: 768
|
||||
// (get) Token: 0x06001904 RID: 6404 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000300")]
|
||||
public virtual IFormatProvider FormatProvider
|
||||
{
|
||||
[Token(Token = "0x6001904")]
|
||||
[Address(RVA = "0xCD0C40", Offset = "0xCCFC40", VA = "0x180CD0C40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Closes the current writer and releases any system resources associated with the writer.</summary>
|
||||
// Token: 0x06001905 RID: 6405 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001905")]
|
||||
[Address(RVA = "0xCCFE30", Offset = "0xCCEE30", VA = "0x180CCFE30", Slot = "8")]
|
||||
public virtual void Close()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.TextWriter" /> 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: 0x06001906 RID: 6406 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001906")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "9")]
|
||||
protected virtual void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the <see cref="T:System.IO.TextWriter" /> object.</summary>
|
||||
// Token: 0x06001907 RID: 6407 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001907")]
|
||||
[Address(RVA = "0xCCFEA0", Offset = "0xCCEEA0", VA = "0x180CCFEA0", Slot = "6")]
|
||||
public void Dispose()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Clears all buffers for the current writer and causes any buffered data to be written to the underlying device.</summary>
|
||||
// Token: 0x06001908 RID: 6408 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001908")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "10")]
|
||||
public virtual void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>When overridden in a derived class, returns the character encoding in which the output is written.</summary>
|
||||
/// <returns>The character encoding in which the output is written.</returns>
|
||||
// Token: 0x17000301 RID: 769
|
||||
// (get) Token: 0x06001909 RID: 6409
|
||||
[Token(Token = "0x17000301")]
|
||||
public abstract Encoding Encoding
|
||||
{
|
||||
[Token(Token = "0x6001909")]
|
||||
[Address(Slot = "11")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the line terminator string used by the current <see langword="TextWriter" />.</summary>
|
||||
/// <returns>The line terminator string for the current <see langword="TextWriter" />.</returns>
|
||||
// Token: 0x17000302 RID: 770
|
||||
// (get) Token: 0x0600190A RID: 6410 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000302")]
|
||||
public virtual string NewLine
|
||||
{
|
||||
[Token(Token = "0x600190A")]
|
||||
[Address(RVA = "0xCD0C80", Offset = "0xCCFC80", VA = "0x180CD0C80", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Creates a thread-safe wrapper around the specified <see langword="TextWriter" />.</summary>
|
||||
/// <param name="writer">The <see langword="TextWriter" /> to synchronize.</param>
|
||||
/// <returns>A thread-safe wrapper.</returns>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="writer" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x0600190B RID: 6411 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600190B")]
|
||||
[Address(RVA = "0xCCFF10", Offset = "0xCCEF10", VA = "0x180CCFF10")]
|
||||
public static TextWriter Synchronized(TextWriter writer)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Writes a character to the text string or stream.</summary>
|
||||
/// <param name="value">The character to write to the text stream.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600190C RID: 6412 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600190C")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "13")]
|
||||
public virtual void Write(char value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a character array to the text string or stream.</summary>
|
||||
/// <param name="buffer">The character array to write to the text stream.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600190D RID: 6413 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600190D")]
|
||||
[Address(RVA = "0xCD0810", Offset = "0xCCF810", VA = "0x180CD0810", Slot = "14")]
|
||||
public virtual void Write(char[] buffer)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a subarray of characters to the text string or stream.</summary>
|
||||
/// <param name="buffer">The character array to write data from.</param>
|
||||
/// <param name="index">The character position in the buffer at which to start retrieving data.</param>
|
||||
/// <param name="count">The number of characters to write.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="buffer" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600190E RID: 6414 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600190E")]
|
||||
[Address(RVA = "0xCD0570", Offset = "0xCCF570", VA = "0x180CD0570", Slot = "15")]
|
||||
public virtual void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the text representation of a 4-byte signed integer to the text string or stream.</summary>
|
||||
/// <param name="value">The 4-byte signed integer to write.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x0600190F RID: 6415 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600190F")]
|
||||
[Address(RVA = "0xCD0750", Offset = "0xCCF750", VA = "0x180CD0750", Slot = "16")]
|
||||
public virtual void Write(int value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the text representation of an 8-byte signed integer to the text string or stream.</summary>
|
||||
/// <param name="value">The 8-byte signed integer to write.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001910 RID: 6416 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001910")]
|
||||
[Address(RVA = "0xCD07B0", Offset = "0xCCF7B0", VA = "0x180CD07B0", Slot = "17")]
|
||||
public virtual void Write(long value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a string to the text string or stream.</summary>
|
||||
/// <param name="value">The string to write.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001911 RID: 6417 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001911")]
|
||||
[Address(RVA = "0xCD0530", Offset = "0xCCF530", VA = "0x180CD0530", Slot = "18")]
|
||||
public virtual void Write(string value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a line terminator to the text string or stream.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001912 RID: 6418 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001912")]
|
||||
[Address(RVA = "0xCD0510", Offset = "0xCCF510", VA = "0x180CD0510", Slot = "19")]
|
||||
public virtual void WriteLine()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a character followed by a line terminator to the text string or stream.</summary>
|
||||
/// <param name="value">The character to write to the text stream.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001913 RID: 6419 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001913")]
|
||||
[Address(RVA = "0xCD0070", Offset = "0xCCF070", VA = "0x180CD0070", Slot = "20")]
|
||||
public virtual void WriteLine(char value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a subarray of characters followed by a line terminator to the text string or stream.</summary>
|
||||
/// <param name="buffer">The character array from which data is read.</param>
|
||||
/// <param name="index">The character position in <paramref name="buffer" /> at which to start reading data.</param>
|
||||
/// <param name="count">The maximum number of characters to write.</param>
|
||||
/// <exception cref="T:System.ArgumentException">The buffer length minus <paramref name="index" /> is less than <paramref name="count" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="buffer" /> parameter is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="index" /> or <paramref name="count" /> is negative.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001914 RID: 6420 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001914")]
|
||||
[Address(RVA = "0xCD04D0", Offset = "0xCCF4D0", VA = "0x180CD04D0", Slot = "21")]
|
||||
public virtual void WriteLine(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a string followed by a line terminator to the text string or stream.</summary>
|
||||
/// <param name="value">The string to write. If <paramref name="value" /> is <see langword="null" />, only the line terminator is written.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001915 RID: 6421 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001915")]
|
||||
[Address(RVA = "0xCD02C0", Offset = "0xCCF2C0", VA = "0x180CD02C0", Slot = "22")]
|
||||
public virtual void WriteLine(string value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes the text representation of an object by calling the <see langword="ToString" /> method on that object, followed by a line terminator to the text string or stream.</summary>
|
||||
/// <param name="value">The object to write. If <paramref name="value" /> is <see langword="null" />, only the line terminator is written.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
// Token: 0x06001916 RID: 6422 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001916")]
|
||||
[Address(RVA = "0xCD00B0", Offset = "0xCCF0B0", VA = "0x180CD00B0", Slot = "23")]
|
||||
public virtual void WriteLine(object value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a formatted string and a new line to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object)" /> method.</summary>
|
||||
/// <param name="format">A composite format string.</param>
|
||||
/// <param name="arg0">The object to format and write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="format" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.FormatException">
|
||||
/// <paramref name="format" /> is not a valid composite format string.
|
||||
/// -or-
|
||||
/// The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one).</exception>
|
||||
// Token: 0x06001917 RID: 6423 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001917")]
|
||||
[Address(RVA = "0xCD0260", Offset = "0xCCF260", VA = "0x180CD0260", Slot = "24")]
|
||||
public virtual void WriteLine(string format, object arg0)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a formatted string and a new line to the text string or stream, using the same semantics as the <see cref="M:System.String.Format(System.String,System.Object,System.Object)" /> method.</summary>
|
||||
/// <param name="format">A composite format string.</param>
|
||||
/// <param name="arg0">The first object to format and write.</param>
|
||||
/// <param name="arg1">The second object to format and write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="format" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.FormatException">
|
||||
/// <paramref name="format" /> is not a valid composite format string.
|
||||
/// -or-
|
||||
/// The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is two).</exception>
|
||||
// Token: 0x06001918 RID: 6424 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001918")]
|
||||
[Address(RVA = "0xCD01E0", Offset = "0xCCF1E0", VA = "0x180CD01E0", Slot = "25")]
|
||||
public virtual void WriteLine(string format, object arg0, object arg1)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes out a formatted string and a new line, using the same semantics as <see cref="M:System.String.Format(System.String,System.Object)" />.</summary>
|
||||
/// <param name="format">A composite format string.</param>
|
||||
/// <param name="arg">An object array that contains zero or more objects to format and write.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">A string or object is passed in as <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.IO.TextWriter" /> is closed.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.FormatException">
|
||||
/// <paramref name="format" /> is not a valid composite format string.
|
||||
/// -or-
|
||||
/// The index of a format item is less than 0 (zero), or greater than or equal to the length of the <paramref name="arg" /> array.</exception>
|
||||
// Token: 0x06001919 RID: 6425 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001919")]
|
||||
[Address(RVA = "0xCD0010", Offset = "0xCCF010", VA = "0x180CD0010", Slot = "26")]
|
||||
public virtual void WriteLine(string format, params object[] arg)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Provides a <see langword="TextWriter" /> with no backing store that can be written to, but not read from.</summary>
|
||||
// Token: 0x04000D41 RID: 3393
|
||||
[Token(Token = "0x4000D41")]
|
||||
public static readonly TextWriter Null;
|
||||
|
||||
// Token: 0x04000D42 RID: 3394
|
||||
[Token(Token = "0x4000D42")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _WriteCharDelegate;
|
||||
|
||||
// Token: 0x04000D43 RID: 3395
|
||||
[Token(Token = "0x4000D43")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _WriteStringDelegate;
|
||||
|
||||
// Token: 0x04000D44 RID: 3396
|
||||
[Token(Token = "0x4000D44")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _WriteCharArrayRangeDelegate;
|
||||
|
||||
// Token: 0x04000D45 RID: 3397
|
||||
[Token(Token = "0x4000D45")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _WriteLineCharDelegate;
|
||||
|
||||
// Token: 0x04000D46 RID: 3398
|
||||
[Token(Token = "0x4000D46")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _WriteLineStringDelegate;
|
||||
|
||||
// Token: 0x04000D47 RID: 3399
|
||||
[Token(Token = "0x4000D47")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _WriteLineCharArrayRangeDelegate;
|
||||
|
||||
// Token: 0x04000D48 RID: 3400
|
||||
[Token(Token = "0x4000D48")]
|
||||
[NonSerialized]
|
||||
private static Action<object> _FlushDelegate;
|
||||
|
||||
/// <summary>Stores the newline characters used for this <see langword="TextWriter" />.</summary>
|
||||
// Token: 0x04000D49 RID: 3401
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000D49")]
|
||||
protected char[] CoreNewLine;
|
||||
|
||||
// Token: 0x04000D4A RID: 3402
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000D4A")]
|
||||
private IFormatProvider InternalFormatProvider;
|
||||
|
||||
// Token: 0x020002AD RID: 685
|
||||
[Token(Token = "0x20002AD")]
|
||||
[Serializable]
|
||||
private sealed class NullTextWriter : TextWriter
|
||||
{
|
||||
// Token: 0x0600191B RID: 6427 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600191B")]
|
||||
[Address(RVA = "0xCC46D0", Offset = "0xCC36D0", VA = "0x180CC46D0")]
|
||||
internal NullTextWriter()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000303 RID: 771
|
||||
// (get) Token: 0x0600191C RID: 6428 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000303")]
|
||||
public override Encoding Encoding
|
||||
{
|
||||
[Token(Token = "0x600191C")]
|
||||
[Address(RVA = "0xCC4760", Offset = "0xCC3760", VA = "0x180CC4760", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600191D RID: 6429 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600191D")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "15")]
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600191E RID: 6430 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600191E")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "18")]
|
||||
public override void Write(string value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600191F RID: 6431 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600191F")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "19")]
|
||||
public override void WriteLine()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001920 RID: 6432 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001920")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "22")]
|
||||
public override void WriteLine(string value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001921 RID: 6433 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001921")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "23")]
|
||||
public override void WriteLine(object value)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x020002AE RID: 686
|
||||
[Token(Token = "0x20002AE")]
|
||||
[Serializable]
|
||||
internal sealed class SyncTextWriter : TextWriter, IDisposable
|
||||
{
|
||||
// Token: 0x06001922 RID: 6434 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001922")]
|
||||
[Address(RVA = "0xCCF4C0", Offset = "0xCCE4C0", VA = "0x180CCF4C0")]
|
||||
internal SyncTextWriter(TextWriter t)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x17000304 RID: 772
|
||||
// (get) Token: 0x06001923 RID: 6435 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000304")]
|
||||
public override Encoding Encoding
|
||||
{
|
||||
[Token(Token = "0x6001923")]
|
||||
[Address(RVA = "0x4B7ED0", Offset = "0x4B6ED0", VA = "0x1804B7ED0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000305 RID: 773
|
||||
// (get) Token: 0x06001924 RID: 6436 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000305")]
|
||||
public override IFormatProvider FormatProvider
|
||||
{
|
||||
[Token(Token = "0x6001924")]
|
||||
[Address(RVA = "0x4B7E10", Offset = "0x4B6E10", VA = "0x1804B7E10", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000306 RID: 774
|
||||
// (get) Token: 0x06001925 RID: 6437 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x17000306")]
|
||||
public override string NewLine
|
||||
{
|
||||
[Token(Token = "0x6001925")]
|
||||
[Address(RVA = "0xCCF550", Offset = "0xCCE550", VA = "0x180CCF550", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06001926 RID: 6438 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001926")]
|
||||
[Address(RVA = "0x4B7E40", Offset = "0x4B6E40", VA = "0x1804B7E40", Slot = "8")]
|
||||
public override void Close()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001927 RID: 6439 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001927")]
|
||||
[Address(RVA = "0xCCF280", Offset = "0xCCE280", VA = "0x180CCF280", Slot = "9")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001928 RID: 6440 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001928")]
|
||||
[Address(RVA = "0x4B7EA0", Offset = "0x4B6EA0", VA = "0x1804B7EA0", Slot = "10")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001929 RID: 6441 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001929")]
|
||||
[Address(RVA = "0xCCF400", Offset = "0xCCE400", VA = "0x180CCF400", Slot = "13")]
|
||||
public override void Write(char value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600192A RID: 6442 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600192A")]
|
||||
[Address(RVA = "0x6E1AD0", Offset = "0x6E0AD0", VA = "0x1806E1AD0", Slot = "14")]
|
||||
public override void Write(char[] buffer)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600192B RID: 6443 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600192B")]
|
||||
[Address(RVA = "0xCCF430", Offset = "0xCCE430", VA = "0x180CCF430", Slot = "15")]
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600192C RID: 6444 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600192C")]
|
||||
[Address(RVA = "0xCCF490", Offset = "0xCCE490", VA = "0x180CCF490", Slot = "16")]
|
||||
public override void Write(int value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600192D RID: 6445 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600192D")]
|
||||
[Address(RVA = "0xCCF460", Offset = "0xCCE460", VA = "0x180CCF460", Slot = "17")]
|
||||
public override void Write(long value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600192E RID: 6446 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600192E")]
|
||||
[Address(RVA = "0x8B92B0", Offset = "0x8B82B0", VA = "0x1808B92B0", Slot = "18")]
|
||||
public override void Write(string value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600192F RID: 6447 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600192F")]
|
||||
[Address(RVA = "0xCCF3D0", Offset = "0xCCE3D0", VA = "0x180CCF3D0", Slot = "19")]
|
||||
public override void WriteLine()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001930 RID: 6448 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001930")]
|
||||
[Address(RVA = "0x4B7B50", Offset = "0x4B6B50", VA = "0x1804B7B50", Slot = "20")]
|
||||
public override void WriteLine(char value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001931 RID: 6449 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001931")]
|
||||
[Address(RVA = "0xCCF2E0", Offset = "0xCCE2E0", VA = "0x180CCF2E0", Slot = "21")]
|
||||
public override void WriteLine(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001932 RID: 6450 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001932")]
|
||||
[Address(RVA = "0xCCF370", Offset = "0xCCE370", VA = "0x180CCF370", Slot = "22")]
|
||||
public override void WriteLine(string value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001933 RID: 6451 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001933")]
|
||||
[Address(RVA = "0x4B7B80", Offset = "0x4B6B80", VA = "0x1804B7B80", Slot = "23")]
|
||||
public override void WriteLine(object value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001934 RID: 6452 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001934")]
|
||||
[Address(RVA = "0xCCF310", Offset = "0xCCE310", VA = "0x180CCF310", Slot = "24")]
|
||||
public override void WriteLine(string format, object arg0)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001935 RID: 6453 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001935")]
|
||||
[Address(RVA = "0xCCF3A0", Offset = "0xCCE3A0", VA = "0x180CCF3A0", Slot = "25")]
|
||||
public override void WriteLine(string format, object arg0, object arg1)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001936 RID: 6454 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001936")]
|
||||
[Address(RVA = "0xCCF340", Offset = "0xCCE340", VA = "0x180CCF340", Slot = "26")]
|
||||
public override void WriteLine(string format, params object[] arg)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000D4B RID: 3403
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D4B")]
|
||||
private TextWriter _out;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C6 RID: 710
|
||||
[Token(Token = "0x20002C6")]
|
||||
internal class UnexceptionalStreamReader : StreamReader
|
||||
{
|
||||
// Token: 0x06001A3D RID: 6717 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A3D")]
|
||||
[Address(RVA = "0xCD2130", Offset = "0xCD1130", VA = "0x180CD2130")]
|
||||
public UnexceptionalStreamReader(Stream stream, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A3E RID: 6718 RVA: 0x00011508 File Offset: 0x0000F708
|
||||
[Token(Token = "0x6001A3E")]
|
||||
[Address(RVA = "0xCD1BD0", Offset = "0xCD0BD0", VA = "0x180CD1BD0", Slot = "9")]
|
||||
public override int Peek()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A3F RID: 6719 RVA: 0x00011520 File Offset: 0x0000F720
|
||||
[Token(Token = "0x6001A3F")]
|
||||
[Address(RVA = "0xCD1E30", Offset = "0xCD0E30", VA = "0x180CD1E30", Slot = "10")]
|
||||
public override int Read()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A40 RID: 6720 RVA: 0x00011538 File Offset: 0x0000F738
|
||||
[Token(Token = "0x6001A40")]
|
||||
[Address(RVA = "0xCD1EA0", Offset = "0xCD0EA0", VA = "0x180CD1EA0", Slot = "11")]
|
||||
public override int Read([In] [Out] char[] dest_buffer, int index, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x06001A41 RID: 6721 RVA: 0x00011550 File Offset: 0x0000F750
|
||||
[Token(Token = "0x6001A41")]
|
||||
[Address(RVA = "0xCD19A0", Offset = "0xCD09A0", VA = "0x180CD19A0")]
|
||||
private bool CheckEOL(char current)
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x06001A42 RID: 6722 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A42")]
|
||||
[Address(RVA = "0xCD1CA0", Offset = "0xCD0CA0", VA = "0x180CD1CA0", Slot = "13")]
|
||||
public override string ReadLine()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001A43 RID: 6723 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001A43")]
|
||||
[Address(RVA = "0xCD1D00", Offset = "0xCD0D00", VA = "0x180CD1D00", Slot = "12")]
|
||||
public override string ReadToEnd()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04000DE0 RID: 3552
|
||||
[Token(Token = "0x4000DE0")]
|
||||
private static bool[] newline;
|
||||
|
||||
// Token: 0x04000DE1 RID: 3553
|
||||
[Token(Token = "0x4000DE1")]
|
||||
private static char newlineChar;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Text;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x020002C7 RID: 711
|
||||
[Token(Token = "0x20002C7")]
|
||||
internal class UnexceptionalStreamWriter : StreamWriter
|
||||
{
|
||||
// Token: 0x06001A44 RID: 6724 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A44")]
|
||||
[Address(RVA = "0xCD25C0", Offset = "0xCD15C0", VA = "0x180CD25C0")]
|
||||
public UnexceptionalStreamWriter(Stream stream, Encoding encoding)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A45 RID: 6725 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A45")]
|
||||
[Address(RVA = "0xCD2200", Offset = "0xCD1200", VA = "0x180CD2200", Slot = "10")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A46 RID: 6726 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A46")]
|
||||
[Address(RVA = "0xCD2530", Offset = "0xCD1530", VA = "0x180CD2530", Slot = "15")]
|
||||
public override void Write(char[] buffer, int index, int count)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A47 RID: 6727 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A47")]
|
||||
[Address(RVA = "0xCD2270", Offset = "0xCD1270", VA = "0x180CD2270", Slot = "13")]
|
||||
public override void Write(char value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A48 RID: 6728 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A48")]
|
||||
[Address(RVA = "0xCD2430", Offset = "0xCD1430", VA = "0x180CD2430", Slot = "14")]
|
||||
public override void Write(char[] value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001A49 RID: 6729 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001A49")]
|
||||
[Address(RVA = "0xCD2330", Offset = "0xCD1330", VA = "0x180CD2330", Slot = "18")]
|
||||
public override void Write(string value)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,379 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
/// <summary>Provides access to unmanaged blocks of memory from managed code.</summary>
|
||||
// Token: 0x020002B0 RID: 688
|
||||
[Token(Token = "0x20002B0")]
|
||||
public class UnmanagedMemoryStream : Stream
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class.</summary>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the required permission.</exception>
|
||||
// Token: 0x06001940 RID: 6464 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001940")]
|
||||
[Address(RVA = "0xCD3E30", Offset = "0xCD2E30", VA = "0x180CD3E30")]
|
||||
protected UnmanagedMemoryStream()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.IO.UnmanagedMemoryStream" /> class using the specified location and memory length.</summary>
|
||||
/// <param name="pointer">A pointer to an unmanaged memory location.</param>
|
||||
/// <param name="length">The length of the memory to use.</param>
|
||||
/// <exception cref="T:System.Security.SecurityException">The user does not have the required permission.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="pointer" /> value is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="length" /> value is less than zero.
|
||||
/// -or-
|
||||
/// The <paramref name="length" /> is large enough to cause an overflow.</exception>
|
||||
// Token: 0x06001941 RID: 6465 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001941")]
|
||||
[Address(RVA = "0xCD3F30", Offset = "0xCD2F30", VA = "0x180CD3F30")]
|
||||
[CLSCompliant(false)]
|
||||
public unsafe UnmanagedMemoryStream(byte* pointer, long length)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001942 RID: 6466 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001942")]
|
||||
[Address(RVA = "0xCD3E90", Offset = "0xCD2E90", VA = "0x180CD3E90")]
|
||||
internal unsafe UnmanagedMemoryStream(byte* pointer, long length, long capacity, FileAccess access, bool skipSecurityCheck)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001943 RID: 6467 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001943")]
|
||||
[Address(RVA = "0xCD2780", Offset = "0xCD1780", VA = "0x180CD2780")]
|
||||
internal unsafe void Initialize(byte* pointer, long length, long capacity, FileAccess access, bool skipSecurityCheck)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether a stream supports reading.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="false" /> if the object was created by a constructor with an <paramref name="access" /> parameter that did not include reading the stream and if the stream is closed; otherwise, <see langword="true" />.</returns>
|
||||
// Token: 0x17000307 RID: 775
|
||||
// (get) Token: 0x06001944 RID: 6468 RVA: 0x00010C08 File Offset: 0x0000EE08
|
||||
[Token(Token = "0x17000307")]
|
||||
public override bool CanRead
|
||||
{
|
||||
[Token(Token = "0x6001944")]
|
||||
[Address(RVA = "0xCD3FD0", Offset = "0xCD2FD0", VA = "0x180CD3FD0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether a stream supports seeking.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="false" /> if the stream is closed; otherwise, <see langword="true" />.</returns>
|
||||
// Token: 0x17000308 RID: 776
|
||||
// (get) Token: 0x06001945 RID: 6469 RVA: 0x00010C20 File Offset: 0x0000EE20
|
||||
[Token(Token = "0x17000308")]
|
||||
public override bool CanSeek
|
||||
{
|
||||
[Token(Token = "0x6001945")]
|
||||
[Address(RVA = "0x497580", Offset = "0x496580", VA = "0x180497580", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets a value indicating whether a stream supports writing.</summary>
|
||||
/// <returns>
|
||||
/// <see langword="false" /> if the object was created by a constructor with an <paramref name="access" /> parameter value that supports writing or was created by a constructor that had no parameters, or if the stream is closed; otherwise, <see langword="true" />.</returns>
|
||||
// Token: 0x17000309 RID: 777
|
||||
// (get) Token: 0x06001946 RID: 6470 RVA: 0x00010C38 File Offset: 0x0000EE38
|
||||
[Token(Token = "0x17000309")]
|
||||
public override bool CanWrite
|
||||
{
|
||||
[Token(Token = "0x6001946")]
|
||||
[Address(RVA = "0xCD3FE0", Offset = "0xCD2FE0", VA = "0x180CD3FE0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.IO.UnmanagedMemoryStream" /> 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: 0x06001947 RID: 6471 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001947")]
|
||||
[Address(RVA = "0xCD2650", Offset = "0xCD1650", VA = "0x180CD2650", Slot = "16")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Overrides the <see cref="M:System.IO.Stream.Flush" /> method so that no action is performed.</summary>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001948 RID: 6472 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001948")]
|
||||
[Address(RVA = "0xCD2760", Offset = "0xCD1760", VA = "0x180CD2760", Slot = "17")]
|
||||
public override void Flush()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Overrides the <see cref="M:System.IO.Stream.FlushAsync(System.Threading.CancellationToken)" /> method so that the operation is cancelled if specified, but no other action is performed.
|
||||
/// Available starting in .NET Framework 4.6</summary>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous flush operation.</returns>
|
||||
// Token: 0x06001949 RID: 6473 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001949")]
|
||||
[Address(RVA = "0xCD2660", Offset = "0xCD1660", VA = "0x180CD2660", Slot = "18")]
|
||||
[ComVisible(false)]
|
||||
public override Task FlushAsync(CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Gets the length of the data in a stream.</summary>
|
||||
/// <returns>The length of the data in the stream.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x1700030A RID: 778
|
||||
// (get) Token: 0x0600194A RID: 6474 RVA: 0x00010C50 File Offset: 0x0000EE50
|
||||
[Token(Token = "0x1700030A")]
|
||||
public override long Length
|
||||
{
|
||||
[Token(Token = "0x600194A")]
|
||||
[Address(RVA = "0xCD4000", Offset = "0xCD3000", VA = "0x180CD4000", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the current position in a stream.</summary>
|
||||
/// <returns>The current position in the stream.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The position is set to a value that is less than zero, or the position is larger than <see cref="F:System.Int32.MaxValue" /> or results in overflow when added to the current pointer.</exception>
|
||||
// Token: 0x1700030B RID: 779
|
||||
// (get) Token: 0x0600194B RID: 6475 RVA: 0x00010C68 File Offset: 0x0000EE68
|
||||
// (set) Token: 0x0600194C RID: 6476 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700030B")]
|
||||
public override long Position
|
||||
{
|
||||
[Token(Token = "0x600194B")]
|
||||
[Address(RVA = "0xCD4110", Offset = "0xCD3110", VA = "0x180CD4110", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
[Token(Token = "0x600194C")]
|
||||
[Address(RVA = "0xCD4150", Offset = "0xCD3150", VA = "0x180CD4150", Slot = "12")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets a byte pointer to a stream based on the current position in the stream.</summary>
|
||||
/// <returns>A byte pointer.</returns>
|
||||
/// <exception cref="T:System.IndexOutOfRangeException">The current position is larger than the capacity of the stream.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The position is being set is not a valid position in the current stream.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The pointer is being set to a lower value than the starting position of the stream.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The stream was initialized for use with a <see cref="T:System.Runtime.InteropServices.SafeBuffer" />. The <see cref="P:System.IO.UnmanagedMemoryStream.PositionPointer" /> property is valid only for streams that are initialized with a <see cref="T:System.Byte" /> pointer.</exception>
|
||||
// Token: 0x1700030C RID: 780
|
||||
// (get) Token: 0x0600194D RID: 6477 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x1700030C")]
|
||||
[CLSCompliant(false)]
|
||||
public unsafe byte* PositionPointer
|
||||
{
|
||||
[Token(Token = "0x600194D")]
|
||||
[Address(RVA = "0xCD4030", Offset = "0xCD3030", VA = "0x180CD4030")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Reads the specified number of bytes into the specified array.</summary>
|
||||
/// <param name="buffer">When this method returns, contains the specified byte array with the values between <paramref name="offset" /> and (<paramref name="offset" /> + <paramref name="count" /> - 1) replaced by the bytes read from the current source. This parameter is passed uninitialized.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> at which to begin storing the data read from the current stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read from the current stream.</param>
|
||||
/// <returns>The total number of bytes read into the buffer. This can be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The underlying memory does not support reading.
|
||||
/// -or-
|
||||
/// The <see cref="P:System.IO.UnmanagedMemoryStream.CanRead" /> property is set to <see langword="false" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="buffer" /> parameter is set to <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="offset" /> parameter is less than zero.
|
||||
/// -or-
|
||||
/// The <paramref name="count" /> parameter is less than zero.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The length of the buffer array minus the <paramref name="offset" /> parameter is less than the <paramref name="count" /> parameter.</exception>
|
||||
// Token: 0x0600194E RID: 6478 RVA: 0x00010C80 File Offset: 0x0000EE80
|
||||
[Token(Token = "0x600194E")]
|
||||
[Address(RVA = "0xCD2DF0", Offset = "0xCD1DF0", VA = "0x180CD2DF0", Slot = "27")]
|
||||
public override int Read([In] [Out] byte[] buffer, int offset, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously reads the specified number of bytes into the specified array.
|
||||
/// Available starting in .NET Framework 4.6</summary>
|
||||
/// <param name="buffer">The buffer to write the data into.</param>
|
||||
/// <param name="offset">The byte offset in <paramref name="buffer" /> at which to begin writing data from the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to read.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous read operation. The value of the <paramref name="TResult" /> parameter contains the total number of bytes read into the buffer. The result value can be less than the number of bytes requested if the number of bytes currently available is less than the requested number, or it can be 0 (zero) if the end of the stream has been reached.</returns>
|
||||
// Token: 0x0600194F RID: 6479 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600194F")]
|
||||
[Address(RVA = "0xCD29C0", Offset = "0xCD19C0", VA = "0x180CD29C0", Slot = "21")]
|
||||
[ComVisible(false)]
|
||||
public override Task<int> ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Reads a byte from a stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.</summary>
|
||||
/// <returns>The unsigned byte cast to an <see cref="T:System.Int32" /> object, or -1 if at the end of the stream.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The underlying memory does not support reading.
|
||||
/// -or-
|
||||
/// The current position is at the end of the stream.</exception>
|
||||
// Token: 0x06001950 RID: 6480 RVA: 0x00010C98 File Offset: 0x0000EE98
|
||||
[Token(Token = "0x6001950")]
|
||||
[Address(RVA = "0xCD2C50", Offset = "0xCD1C50", VA = "0x180CD2C50", Slot = "28")]
|
||||
public override int ReadByte()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// <summary>Sets the current position of the current stream to the given value.</summary>
|
||||
/// <param name="offset">The point relative to origin to begin seeking from.</param>
|
||||
/// <param name="loc">Specifies the beginning, the end, or the current position as a reference point for origin, using a value of type <see cref="T:System.IO.SeekOrigin" />.</param>
|
||||
/// <returns>The new position in the stream.</returns>
|
||||
/// <exception cref="T:System.IO.IOException">An attempt was made to seek before the beginning of the stream.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="offset" /> value is larger than the maximum size of the stream.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">
|
||||
/// <paramref name="loc" /> is invalid.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
// Token: 0x06001951 RID: 6481 RVA: 0x00010CB0 File Offset: 0x0000EEB0
|
||||
[Token(Token = "0x6001951")]
|
||||
[Address(RVA = "0xCD3170", Offset = "0xCD2170", VA = "0x180CD3170", Slot = "25")]
|
||||
public override long Seek(long offset, SeekOrigin loc)
|
||||
{
|
||||
return 0L;
|
||||
}
|
||||
|
||||
/// <summary>Sets the length of a stream to a specified value.</summary>
|
||||
/// <param name="value">The length of the stream.</param>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error has occurred.</exception>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The underlying memory does not support writing.
|
||||
/// -or-
|
||||
/// An attempt is made to write to the stream and the <see cref="P:System.IO.UnmanagedMemoryStream.CanWrite" /> property is <see langword="false" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">The specified <paramref name="value" /> exceeds the capacity of the stream.
|
||||
/// -or-
|
||||
/// The specified <paramref name="value" /> is negative.</exception>
|
||||
// Token: 0x06001952 RID: 6482 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001952")]
|
||||
[Address(RVA = "0xCD3320", Offset = "0xCD2320", VA = "0x180CD3320", Slot = "26")]
|
||||
public override void SetLength(long value)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Writes a block of bytes to the current stream using data from a buffer.</summary>
|
||||
/// <param name="buffer">The byte array from which to copy bytes to the current stream.</param>
|
||||
/// <param name="offset">The offset in the buffer at which to begin copying bytes to the current stream.</param>
|
||||
/// <param name="count">The number of bytes to write to the current stream.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The underlying memory does not support writing.
|
||||
/// -or-
|
||||
/// An attempt is made to write to the stream and the <see cref="P:System.IO.UnmanagedMemoryStream.CanWrite" /> property is <see langword="false" />.
|
||||
/// -or-
|
||||
/// The <paramref name="count" /> value is greater than the capacity of the stream.
|
||||
/// -or-
|
||||
/// The position is at the end of the stream capacity.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">An I/O error occurs.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">One of the specified parameters is less than zero.</exception>
|
||||
/// <exception cref="T:System.ArgumentException">The <paramref name="offset" /> parameter minus the length of the <paramref name="buffer" /> parameter is less than the <paramref name="count" /> parameter.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">The <paramref name="buffer" /> parameter is <see langword="null" />.</exception>
|
||||
// Token: 0x06001953 RID: 6483 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001953")]
|
||||
[Address(RVA = "0xCD39D0", Offset = "0xCD29D0", VA = "0x180CD39D0", Slot = "29")]
|
||||
public override void Write(byte[] buffer, int offset, int count)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.
|
||||
/// Available starting in .NET Framework 4.6</summary>
|
||||
/// <param name="buffer">The buffer to write data from.</param>
|
||||
/// <param name="offset">The zero-based byte offset in <paramref name="buffer" /> from which to begin copying bytes to the stream.</param>
|
||||
/// <param name="count">The maximum number of bytes to write.</param>
|
||||
/// <param name="cancellationToken">The token to monitor for cancellation requests. The default value is <see cref="P:System.Threading.CancellationToken.None" />.</param>
|
||||
/// <returns>A task that represents the asynchronous write operation.</returns>
|
||||
// Token: 0x06001954 RID: 6484 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6001954")]
|
||||
[Address(RVA = "0xCD34E0", Offset = "0xCD24E0", VA = "0x180CD34E0", Slot = "24")]
|
||||
[ComVisible(false)]
|
||||
public override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Writes a byte to the current position in the file stream.</summary>
|
||||
/// <param name="value">A byte value written to the stream.</param>
|
||||
/// <exception cref="T:System.ObjectDisposedException">The stream is closed.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">The underlying memory does not support writing.
|
||||
/// -or-
|
||||
/// An attempt is made to write to the stream and the <see cref="P:System.IO.UnmanagedMemoryStream.CanWrite" /> property is <see langword="false" />.
|
||||
/// -or-
|
||||
/// The current position is at the end of the capacity of the stream.</exception>
|
||||
/// <exception cref="T:System.IO.IOException">The supplied <paramref name="value" /> causes the stream exceed its maximum capacity.</exception>
|
||||
// Token: 0x06001955 RID: 6485 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001955")]
|
||||
[Address(RVA = "0xCD3740", Offset = "0xCD2740", VA = "0x180CD3740", Slot = "30")]
|
||||
public override void WriteByte(byte value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000D4D RID: 3405
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000D4D")]
|
||||
private SafeBuffer _buffer;
|
||||
|
||||
// Token: 0x04000D4E RID: 3406
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000D4E")]
|
||||
private unsafe byte* _mem;
|
||||
|
||||
// Token: 0x04000D4F RID: 3407
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000D4F")]
|
||||
private long _length;
|
||||
|
||||
// Token: 0x04000D50 RID: 3408
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000D50")]
|
||||
private long _capacity;
|
||||
|
||||
// Token: 0x04000D51 RID: 3409
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4000D51")]
|
||||
private long _position;
|
||||
|
||||
// Token: 0x04000D52 RID: 3410
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4000D52")]
|
||||
private long _offset;
|
||||
|
||||
// Token: 0x04000D53 RID: 3411
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4000D53")]
|
||||
private FileAccess _access;
|
||||
|
||||
// Token: 0x04000D54 RID: 3412
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x5C")]
|
||||
[Token(Token = "0x4000D54")]
|
||||
internal bool _isOpen;
|
||||
|
||||
// Token: 0x04000D55 RID: 3413
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4000D55")]
|
||||
[NonSerialized]
|
||||
private Task<int> _lastReadTask;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.IO
|
||||
{
|
||||
// Token: 0x02000280 RID: 640
|
||||
[Token(Token = "0x2000280")]
|
||||
internal static class __Error
|
||||
{
|
||||
// Token: 0x06001713 RID: 5907 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001713")]
|
||||
[Address(RVA = "0xCD42A0", Offset = "0xCD32A0", VA = "0x180CD42A0")]
|
||||
internal static void EndOfFile()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001714 RID: 5908 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001714")]
|
||||
[Address(RVA = "0xCD43F0", Offset = "0xCD33F0", VA = "0x180CD43F0")]
|
||||
internal static void FileNotOpen()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001715 RID: 5909 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001715")]
|
||||
[Address(RVA = "0xCD4770", Offset = "0xCD3770", VA = "0x180CD4770")]
|
||||
internal static void StreamIsClosed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001716 RID: 5910 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001716")]
|
||||
[Address(RVA = "0xCD45B0", Offset = "0xCD35B0", VA = "0x180CD45B0")]
|
||||
internal static void MemoryStreamNotExpandable()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001717 RID: 5911 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001717")]
|
||||
[Address(RVA = "0xCD4690", Offset = "0xCD3690", VA = "0x180CD4690")]
|
||||
internal static void ReaderClosed()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001718 RID: 5912 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001718")]
|
||||
[Address(RVA = "0xCD4620", Offset = "0xCD3620", VA = "0x180CD4620")]
|
||||
internal static void ReadNotSupported()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001719 RID: 5913 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001719")]
|
||||
[Address(RVA = "0xCD4700", Offset = "0xCD3700", VA = "0x180CD4700")]
|
||||
internal static void SeekNotSupported()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600171A RID: 5914 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600171A")]
|
||||
[Address(RVA = "0xCD4F90", Offset = "0xCD3F90", VA = "0x180CD4F90")]
|
||||
internal static void WrongAsyncResult()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600171B RID: 5915 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600171B")]
|
||||
[Address(RVA = "0xCD4310", Offset = "0xCD3310", VA = "0x180CD4310")]
|
||||
internal static void EndReadCalledTwice()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600171C RID: 5916 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600171C")]
|
||||
[Address(RVA = "0xCD4380", Offset = "0xCD3380", VA = "0x180CD4380")]
|
||||
internal static void EndWriteCalledTwice()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600171D RID: 5917 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x600171D")]
|
||||
[Address(RVA = "0xCD4460", Offset = "0xCD3460", VA = "0x180CD4460")]
|
||||
internal static string GetDisplayablePath(string path, bool isInvalidPath)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x0600171E RID: 5918 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600171E")]
|
||||
[Address(RVA = "0xCD47E0", Offset = "0xCD37E0", VA = "0x180CD47E0")]
|
||||
internal static void WinIOError(int errorCode, string maybeFullPath)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600171F RID: 5919 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600171F")]
|
||||
[Address(RVA = "0xCD4EB0", Offset = "0xCD3EB0", VA = "0x180CD4EB0")]
|
||||
internal static void WriteNotSupported()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06001720 RID: 5920 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6001720")]
|
||||
[Address(RVA = "0xCD4F20", Offset = "0xCD3F20", VA = "0x180CD4F20")]
|
||||
internal static void WriterClosed()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user