449 lines
24 KiB
C#
449 lines
24 KiB
C#
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;
|
|
}
|
|
}
|