using System; using System.Runtime.InteropServices; using System.Text; using Cpp2IlInjected; namespace System.IO { /// Implements a for writing information to a string. The information is stored in an underlying . // Token: 0x020002A0 RID: 672 [Token(Token = "0x20002A0")] [ComVisible(true)] [Serializable] public class StringWriter : TextWriter { /// Initializes a new instance of the class. // Token: 0x0600189D RID: 6301 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600189D")] [Address(RVA = "0x260DD50", Offset = "0x260CB50", VA = "0x18260DD50")] public StringWriter() { } /// Initializes a new instance of the class with the specified format control. /// An object that controls formatting. // Token: 0x0600189E RID: 6302 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600189E")] [Address(RVA = "0x260DCE0", Offset = "0x260CAE0", VA = "0x18260DCE0")] public StringWriter(IFormatProvider formatProvider) { } /// Initializes a new instance of the class that writes to the specified . /// The object to write to. /// /// is . // Token: 0x0600189F RID: 6303 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600189F")] [Address(RVA = "0x260DDE0", Offset = "0x260CBE0", VA = "0x18260DDE0")] public StringWriter(StringBuilder sb) { } /// Initializes a new instance of the class that writes to the specified and has the specified format provider. /// The object to write to. /// An object that controls formatting. /// /// is . // Token: 0x060018A0 RID: 6304 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018A0")] [Address(RVA = "0x260DE50", Offset = "0x260CC50", VA = "0x18260DE50")] public StringWriter(StringBuilder sb, IFormatProvider formatProvider) { } /// Closes the current and the underlying stream. // Token: 0x060018A1 RID: 6305 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018A1")] [Address(RVA = "0x1631B50", Offset = "0x1630950", VA = "0x181631B50", Slot = "8")] public override void Close() { } /// Releases the unmanaged resources used by the and optionally releases the managed resources. /// /// to release both managed and unmanaged resources; to release only unmanaged resources. // Token: 0x060018A2 RID: 6306 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018A2")] [Address(RVA = "0x2514930", Offset = "0x2513730", VA = "0x182514930", Slot = "9")] protected override void Dispose(bool disposing) { } /// Gets the in which the output is written. /// The in which the output is written. // Token: 0x170002F3 RID: 755 // (get) Token: 0x060018A3 RID: 6307 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170002F3")] public override Encoding Encoding { [Token(Token = "0x60018A3")] [Address(RVA = "0x260DF20", Offset = "0x260CD20", VA = "0x18260DF20", Slot = "11")] get { return null; } } /// Writes a character to the string. /// The character to write. /// The writer is closed. // Token: 0x060018A4 RID: 6308 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018A4")] [Address(RVA = "0x260DCB0", Offset = "0x260CAB0", VA = "0x18260DCB0", Slot = "12")] public override void Write(char value) { } /// Writes a subarray of characters to the string. /// The character array to write data from. /// The position in the buffer at which to start reading data. /// The maximum number of characters to write. /// /// is . /// /// or is negative. /// ( + )> . . /// The writer is closed. // Token: 0x060018A5 RID: 6309 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018A5")] [Address(RVA = "0x260DAB0", Offset = "0x260C8B0", VA = "0x18260DAB0", Slot = "14")] public override void Write(char[] buffer, int index, int count) { } /// Writes a string to the current string. /// The string to write. /// The writer is closed. // Token: 0x060018A6 RID: 6310 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60018A6")] [Address(RVA = "0x260DC70", Offset = "0x260CA70", VA = "0x18260DC70", Slot = "17")] public override void Write(string value) { } /// Returns a string containing the characters written to the current so far. /// The string containing the characters written to the current . // Token: 0x060018A7 RID: 6311 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60018A7")] [Address(RVA = "0x260DA80", Offset = "0x260C880", VA = "0x18260DA80", Slot = "3")] public override string ToString() { return null; } // Token: 0x04000D2F RID: 3375 [Token(Token = "0x4000D2F")] private static UnicodeEncoding m_encoding; // Token: 0x04000D30 RID: 3376 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4000D30")] private StringBuilder _sb; // Token: 0x04000D31 RID: 3377 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x4000D31")] private bool _isOpen; } }