terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
StreamWriter.cs
Go to the documentation of this file.
1using System;
4using System.Text;
9
10namespace System.IO
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000541")]
13 [global::System.Serializable]
14 public class StreamWriter : TextWriter
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60027B3")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1B9C18C", Offset = "0x1B9C18C", Length = "0x5C")]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Flush", ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "set_AutoFlush", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[]
24 {
25 typeof(char[]),
26 typeof(int),
27 typeof(int)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "WriteSpan", MemberParameters = new object[]
30 {
31 typeof(global::System.ReadOnlySpan<char>),
32 typeof(bool)
33 }, ReturnType = typeof(void))]
34 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "WriteLine", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
37 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "get_IsCompleted", ReturnType = typeof(bool))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "ThrowAsyncIOInProgress", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x60027B4")]
46 [global::Cpp2ILInjected.Address(RVA = "0x1B9C1E8", Offset = "0x1B9C1E8", Length = "0x4C")]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
51 private static void ThrowAsyncIOInProgress()
52 {
53 throw null;
54 }
55
56 [global::Cpp2ILInjected.Token(Token = "0x170005B5")]
57 private static global::System.Text.Encoding UTF8NoBOM
58 {
59 [global::Cpp2ILInjected.Token(Token = "0x60027B5")]
60 [global::Cpp2ILInjected.Address(RVA = "0x1B9C234", Offset = "0x1B9C234", Length = "0x50")]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
64 {
65 typeof(string),
66 typeof(bool)
67 }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".cctor", ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.EncodingHelper), Member = "get_UTF8Unmarked", ReturnType = typeof(global::System.Text.Encoding))]
71 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
72 get
73 {
74 throw null;
75 }
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x60027B6")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1B9C284", Offset = "0x1B9C284", Length = "0xBC")]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
82 internal StreamWriter()
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x60027B7")]
88 [global::Cpp2ILInjected.Address(RVA = "0x1B9C3C8", Offset = "0x1B9C3C8", Length = "0x74")]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = "SetupStreams", ReturnType = typeof(void))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.TimeLogger", Member = "NewDrawFrame", ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.IO.ConsoleOutputMirror", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "get_UTF8NoBOM", ReturnType = typeof(global::System.Text.Encoding))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
95 public StreamWriter(Stream stream)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60027B8")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1B9C63C", Offset = "0x1B9C63C", Length = "0xC")]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = "SetupStreams", MemberParameters = new object[] { typeof(global::System.Text.UTF8Encoding) }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.KeyPairPersistence), Member = "Save", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "AddEntry", MemberParameters = new object[]
106 {
107 typeof(string),
108 typeof(string),
109 typeof(global::System.Text.Encoding)
110 }, ReturnType = "Ionic.Zip.ZipEntry")]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
113 {
114 typeof(Stream),
115 typeof(global::System.Text.Encoding),
116 typeof(int),
117 typeof(bool)
118 }, ReturnType = typeof(void))]
119 public StreamWriter(Stream stream, global::System.Text.Encoding encoding)
120 {
121 throw null;
122 }
123
124 [global::Cpp2ILInjected.Token(Token = "0x60027B9")]
125 [global::Cpp2ILInjected.Address(RVA = "0x1B9C648", Offset = "0x1B9C648", Length = "0x8")]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.HttpListenerResponse", Member = "SendHeaders", MemberParameters = new object[]
127 {
128 typeof(bool),
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
133 {
134 typeof(Stream),
135 typeof(global::System.Text.Encoding),
136 typeof(int),
137 typeof(bool)
138 }, ReturnType = typeof(void))]
139 public StreamWriter(Stream stream, global::System.Text.Encoding encoding, int bufferSize)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x60027BA")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1B9C43C", Offset = "0x1B9C43C", Length = "0x200")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
148 {
149 typeof(Stream),
150 typeof(global::System.Text.Encoding)
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
153 {
154 typeof(Stream),
155 typeof(global::System.Text.Encoding),
156 typeof(int)
157 }, ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".cctor", ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnexceptionalStreamWriter), Member = ".ctor", MemberParameters = new object[]
160 {
161 typeof(Stream),
162 typeof(global::System.Text.Encoding)
163 }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CStreamWriter), Member = ".ctor", MemberParameters = new object[]
165 {
166 typeof(Stream),
167 typeof(global::System.Text.Encoding),
168 typeof(bool)
169 }, ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextWriter), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.IFormatProvider) }, ReturnType = typeof(void))]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Init", MemberParameters = new object[]
173 {
174 typeof(Stream),
175 typeof(global::System.Text.Encoding),
176 typeof(int),
177 typeof(bool)
178 }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
182 {
183 typeof(string),
184 typeof(string)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
187 public StreamWriter(Stream stream, global::System.Text.Encoding encoding, int bufferSize, bool leaveOpen)
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x60027BB")]
193 [global::Cpp2ILInjected.Address(RVA = "0x1B9C77C", Offset = "0x1B9C77C", Length = "0x74")]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "InControl.Utility", Member = "WriteToFile", MemberParameters = new object[]
195 {
196 typeof(string),
197 typeof(string)
198 }, ReturnType = typeof(void))]
199 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
200 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "get_UTF8NoBOM", ReturnType = typeof(global::System.Text.Encoding))]
201 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
202 public StreamWriter(string path)
203 {
204 throw null;
205 }
206
207 [global::Cpp2ILInjected.Token(Token = "0x60027BC")]
208 [global::Cpp2ILInjected.Address(RVA = "0x1B9CA2C", Offset = "0x1B9CA2C", Length = "0x78")]
209 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Netplay", Member = "AddBan", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile", Member = "ValidateWorld", MemberParameters = new object[] { typeof(BinaryReader) }, ReturnType = typeof(bool))]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileInfo), Member = "CreateText", ReturnType = typeof(StreamWriter))]
212 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileInfo), Member = "AppendText", ReturnType = typeof(StreamWriter))]
213 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
214 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "get_UTF8NoBOM", ReturnType = typeof(global::System.Text.Encoding))]
215 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
216 {
217 typeof(string),
218 typeof(bool),
219 typeof(global::System.Text.Encoding),
220 typeof(int)
221 }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
223 public StreamWriter(string path, bool append)
224 {
225 throw null;
226 }
227
228 [global::Cpp2ILInjected.Token(Token = "0x60027BD")]
229 [global::Cpp2ILInjected.Address(RVA = "0x1B9C7F0", Offset = "0x1B9C7F0", Length = "0x23C")]
230 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
232 {
233 typeof(string),
234 typeof(bool)
235 }, ReturnType = typeof(void))]
236 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
237 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(TextWriter), Member = ".ctor", ReturnType = typeof(void))]
238 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
239 {
240 typeof(string),
241 typeof(FileMode),
242 typeof(FileAccess),
243 typeof(FileShare),
244 typeof(int),
245 typeof(FileOptions)
246 }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Init", MemberParameters = new object[]
248 {
249 typeof(Stream),
250 typeof(global::System.Text.Encoding),
251 typeof(int),
252 typeof(bool)
253 }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
257 {
258 typeof(string),
259 typeof(string)
260 }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
262 public StreamWriter(string path, bool append, global::System.Text.Encoding encoding, int bufferSize)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x60027BE")]
268 [global::Cpp2ILInjected.Address(RVA = "0x1B9C650", Offset = "0x1B9C650", Length = "0x12C")]
269 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
271 {
272 typeof(Stream),
273 typeof(global::System.Text.Encoding),
274 typeof(int),
275 typeof(bool)
276 }, ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
278 {
279 typeof(string),
280 typeof(bool),
281 typeof(global::System.Text.Encoding),
282 typeof(int)
283 }, ReturnType = typeof(void))]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
286 private void Init(Stream streamArg, global::System.Text.Encoding encodingArg, int bufferSize, bool shouldLeaveOpen)
287 {
288 throw null;
289 }
290
291 [global::Cpp2ILInjected.Token(Token = "0x60027BF")]
292 [global::Cpp2ILInjected.Address(RVA = "0x1B9CB20", Offset = "0x1B9CB20", Length = "0x6C")]
293 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
294 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
297 public override void Close()
298 {
299 throw null;
300 }
301
302 [global::Cpp2ILInjected.Token(Token = "0x60027C0")]
303 [global::Cpp2ILInjected.Address(RVA = "0x1B9CB8C", Offset = "0x1B9CB8C", Length = "0x94")]
304 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
305 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
306 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
308 {
309 typeof(bool),
310 typeof(bool)
311 }, ReturnType = typeof(void))]
312 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
313 protected override void Dispose(bool disposing)
314 {
315 throw null;
316 }
317
318 [global::Cpp2ILInjected.Token(Token = "0x60027C1")]
319 [global::Cpp2ILInjected.Address(RVA = "0x1B9CD84", Offset = "0x1B9CD84", Length = "0x20")]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnexceptionalStreamWriter), Member = "Flush", ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
324 {
325 typeof(bool),
326 typeof(bool)
327 }, ReturnType = typeof(void))]
328 public override void Flush()
329 {
330 throw null;
331 }
332
333 [global::Cpp2ILInjected.Token(Token = "0x60027C2")]
334 [global::Cpp2ILInjected.Address(RVA = "0x1B9CC20", Offset = "0x1B9CC20", Length = "0x164")]
335 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
336 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
337 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Flush", ReturnType = typeof(void))]
338 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "set_AutoFlush", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
339 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
340 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(void))]
341 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[]
342 {
343 typeof(char[]),
344 typeof(int),
345 typeof(int)
346 }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "WriteSpan", MemberParameters = new object[]
348 {
349 typeof(global::System.ReadOnlySpan<char>),
350 typeof(bool)
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "Write", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
353 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = "WriteLine", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
354 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 17)]
355 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
356 {
357 typeof(string),
358 typeof(string)
359 }, ReturnType = typeof(void))]
360 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
361 private void Flush(bool flushStream, bool flushEncoder)
362 {
363 throw null;
364 }
365
366 [global::Cpp2ILInjected.Token(Token = "0x170005B6")]
367 public virtual bool AutoFlush
368 {
369 [global::Cpp2ILInjected.Token(Token = "0x60027C3")]
370 [global::Cpp2ILInjected.Address(RVA = "0x1B9CDA4", Offset = "0x1B9CDA4", Length = "0x44")]
371 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
372 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
373 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
374 {
375 typeof(bool),
376 typeof(bool)
377 }, ReturnType = typeof(void))]
378 set
379 {
380 throw null;
381 }
382 }
383
384 [global::Cpp2ILInjected.Token(Token = "0x170005B7")]
385 internal bool LeaveOpen
386 {
387 [global::Cpp2ILInjected.Token(Token = "0x60027C4")]
388 [global::Cpp2ILInjected.Address(RVA = "0x1B9CDE8", Offset = "0x1B9CDE8", Length = "0x10")]
389 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
390 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
391 get
392 {
393 throw null;
394 }
395 }
396
397 [global::Cpp2ILInjected.Token(Token = "0x170005B8")]
398 public override global::System.Text.Encoding Encoding
399 {
400 [global::Cpp2ILInjected.Token(Token = "0x60027C5")]
401 [global::Cpp2ILInjected.Address(RVA = "0x1B9CDF8", Offset = "0x1B9CDF8", Length = "0x8")]
402 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
403 get
404 {
405 throw null;
406 }
407 }
408
409 [global::Cpp2ILInjected.Token(Token = "0x60027C6")]
410 [global::Cpp2ILInjected.Address(RVA = "0x1B9CE00", Offset = "0x1B9CE00", Length = "0x74")]
411 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
412 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnexceptionalStreamWriter), Member = "Write", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
413 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CStreamWriter), Member = "InternalWriteChar", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(void))]
414 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
415 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
416 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
417 {
418 typeof(bool),
419 typeof(bool)
420 }, ReturnType = typeof(void))]
421 public override void Write(char value)
422 {
423 throw null;
424 }
425
426 [global::Cpp2ILInjected.Token(Token = "0x60027C7")]
427 [global::Cpp2ILInjected.Address(RVA = "0x1B9CE74", Offset = "0x1B9CE74", Length = "0x230")]
428 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
429 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnexceptionalStreamWriter), Member = "Write", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(void))]
430 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.ReadOnlySpan`1<T>")]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
433 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = "T&")]
434 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
435 {
436 typeof(bool),
437 typeof(bool)
438 }, ReturnType = typeof(void))]
439 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
440 {
441 typeof(int),
442 typeof(int)
443 }, ReturnType = typeof(int))]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "MemoryCopy", MemberParameters = new object[]
445 {
446 typeof(void*),
447 typeof(void*),
448 typeof(long),
449 typeof(long)
450 }, ReturnType = typeof(void))]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
452 {
453 typeof(string),
454 typeof(string)
455 }, ReturnType = typeof(void))]
456 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
457 [MethodImpl(8)]
458 public unsafe override void Write(char[] buffer)
459 {
460 throw null;
461 }
462
463 [global::Cpp2ILInjected.Token(Token = "0x60027C8")]
464 [global::Cpp2ILInjected.Address(RVA = "0x1B9D0A4", Offset = "0x1B9D0A4", Length = "0x394")]
465 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
466 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnexceptionalStreamWriter), Member = "Write", MemberParameters = new object[]
467 {
468 typeof(char[]),
469 typeof(int),
470 typeof(int)
471 }, ReturnType = typeof(void))]
472 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CStreamWriter), Member = "Write", MemberParameters = new object[]
473 {
474 typeof(char[]),
475 typeof(int),
476 typeof(int)
477 }, ReturnType = typeof(void))]
478 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CStreamWriter), Member = "InternalWriteChars", MemberParameters = new object[]
479 {
480 typeof(char[]),
481 typeof(int)
482 }, ReturnType = typeof(void))]
483 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
484 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
485 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(global::System.Span<char>) }, ReturnType = "System.ReadOnlySpan`1<T>")]
486 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
487 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = "T&")]
488 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
489 {
490 typeof(bool),
491 typeof(bool)
492 }, ReturnType = typeof(void))]
493 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
494 {
495 typeof(int),
496 typeof(int)
497 }, ReturnType = typeof(int))]
498 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "MemoryCopy", MemberParameters = new object[]
499 {
500 typeof(void*),
501 typeof(void*),
502 typeof(long),
503 typeof(long)
504 }, ReturnType = typeof(void))]
505 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
506 {
507 typeof(string),
508 typeof(string)
509 }, ReturnType = typeof(void))]
510 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
511 {
512 typeof(string),
513 typeof(string)
514 }, ReturnType = typeof(void))]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
516 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
517 {
518 typeof(string),
519 typeof(string)
520 }, ReturnType = typeof(void))]
521 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
522 [MethodImpl(8)]
523 public unsafe override void Write(char[] buffer, int index, int count)
524 {
525 throw null;
526 }
527
528 [global::Cpp2ILInjected.Token(Token = "0x60027C9")]
529 [global::Cpp2ILInjected.Address(RVA = "0x1B9D438", Offset = "0x1B9D438", Length = "0x264")]
530 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
531 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
532 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = "T&")]
534 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
535 {
536 typeof(bool),
537 typeof(bool)
538 }, ReturnType = typeof(void))]
539 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
540 {
541 typeof(int),
542 typeof(int)
543 }, ReturnType = typeof(int))]
544 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "MemoryCopy", MemberParameters = new object[]
545 {
546 typeof(void*),
547 typeof(void*),
548 typeof(long),
549 typeof(long)
550 }, ReturnType = typeof(void))]
551 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
552 {
553 typeof(string),
554 typeof(string)
555 }, ReturnType = typeof(void))]
556 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
557 [MethodImpl(256)]
558 private unsafe void WriteSpan(global::System.ReadOnlySpan<char> buffer, bool appendNewLine)
559 {
560 throw null;
561 }
562
563 [global::Cpp2ILInjected.Token(Token = "0x60027CA")]
564 [global::Cpp2ILInjected.Address(RVA = "0x1B9D69C", Offset = "0x1B9D69C", Length = "0x234")]
565 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
566 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnexceptionalStreamWriter), Member = "Write", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
567 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CStreamWriter), Member = "InternalWriteString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
568 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CStreamWriter), Member = "Write", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
569 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
570 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
571 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
572 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = "T&")]
573 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
574 {
575 typeof(bool),
576 typeof(bool)
577 }, ReturnType = typeof(void))]
578 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
579 {
580 typeof(int),
581 typeof(int)
582 }, ReturnType = typeof(int))]
583 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "MemoryCopy", MemberParameters = new object[]
584 {
585 typeof(void*),
586 typeof(void*),
587 typeof(long),
588 typeof(long)
589 }, ReturnType = typeof(void))]
590 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
591 {
592 typeof(string),
593 typeof(string)
594 }, ReturnType = typeof(void))]
595 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
596 [MethodImpl(8)]
597 public unsafe override void Write(string value)
598 {
599 throw null;
600 }
601
602 [global::Cpp2ILInjected.Token(Token = "0x60027CB")]
603 [global::Cpp2ILInjected.Address(RVA = "0x1B9D8D0", Offset = "0x1B9D8D0", Length = "0x29C")]
604 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
605 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
606 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "CheckAsyncTaskInProgress", ReturnType = typeof(void))]
607 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
608 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = "T&")]
609 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "Flush", MemberParameters = new object[]
610 {
611 typeof(bool),
612 typeof(bool)
613 }, ReturnType = typeof(void))]
614 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
615 {
616 typeof(int),
617 typeof(int)
618 }, ReturnType = typeof(int))]
619 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "MemoryCopy", MemberParameters = new object[]
620 {
621 typeof(void*),
622 typeof(void*),
623 typeof(long),
624 typeof(long)
625 }, ReturnType = typeof(void))]
626 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[]
627 {
628 typeof(string),
629 typeof(string)
630 }, ReturnType = typeof(void))]
631 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
632 [MethodImpl(8)]
633 public unsafe override void WriteLine(string value)
634 {
635 throw null;
636 }
637
638 // Note: this type is marked as 'beforefieldinit'.
639 [global::Cpp2ILInjected.Token(Token = "0x60027CC")]
640 [global::Cpp2ILInjected.Address(RVA = "0x1B9DB6C", Offset = "0x1B9DB6C", Length = "0xAC")]
641 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
642 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = "get_UTF8NoBOM", ReturnType = typeof(global::System.Text.Encoding))]
643 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
644 {
645 typeof(Stream),
646 typeof(global::System.Text.Encoding),
647 typeof(int),
648 typeof(bool)
649 }, ReturnType = typeof(void))]
650 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
652 {
653 throw null;
654 }
655
656 [global::Cpp2ILInjected.Token(Token = "0x40015A4")]
657 public new static readonly StreamWriter Null;
658
659 [global::Cpp2ILInjected.Token(Token = "0x40015A5")]
660 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
662
663 [global::Cpp2ILInjected.Token(Token = "0x40015A6")]
664 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
665 private global::System.Text.Encoding _encoding;
666
667 [global::Cpp2ILInjected.Token(Token = "0x40015A7")]
668 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
669 private global::System.Text.Encoder _encoder;
670
671 [global::Cpp2ILInjected.Token(Token = "0x40015A8")]
672 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
673 private byte[] _byteBuffer;
674
675 [global::Cpp2ILInjected.Token(Token = "0x40015A9")]
676 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
677 private char[] _charBuffer;
678
679 [global::Cpp2ILInjected.Token(Token = "0x40015AA")]
680 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
681 private int _charPos;
682
683 [global::Cpp2ILInjected.Token(Token = "0x40015AB")]
684 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
685 private int _charLen;
686
687 [global::Cpp2ILInjected.Token(Token = "0x40015AC")]
688 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
689 private bool _autoFlush;
690
691 [global::Cpp2ILInjected.Token(Token = "0x40015AD")]
692 [global::Cpp2ILInjected.FieldOffset(Offset = "0x61")]
694
695 [global::Cpp2ILInjected.Token(Token = "0x40015AE")]
696 [global::Cpp2ILInjected.FieldOffset(Offset = "0x62")]
697 private bool _closable;
698
699 [global::Cpp2ILInjected.Token(Token = "0x40015AF")]
700 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
701 private global::System.Threading.Tasks.Task _asyncWriteTask;
702 }
703}
class f__AnonymousType0<< Count > j__TPar
void Flush(bool flushStream, bool flushEncoder)
override void Dispose(bool disposing)
unsafe void WriteSpan(global::System.ReadOnlySpan< char > buffer, bool appendNewLine)
unsafe override void Write(string value)
unsafe override void WriteLine(string value)
static global::System.Text.Encoding UTF8NoBOM
global::System.Text.Encoder _encoder
StreamWriter(Stream stream, global::System.Text.Encoding encoding)
static void ThrowAsyncIOInProgress()
StreamWriter(string path, bool append, global::System.Text.Encoding encoding, int bufferSize)
unsafe override void Write(char[] buffer, int index, int count)
override void Flush()
override void Close()
void Init(Stream streamArg, global::System.Text.Encoding encodingArg, int bufferSize, bool shouldLeaveOpen)
StreamWriter(Stream stream, global::System.Text.Encoding encoding, int bufferSize)
static new readonly StreamWriter Null
unsafe override void Write(char[] buffer)
StreamWriter(Stream stream)
override void Write(char value)
StreamWriter(string path, bool append)
StreamWriter(string path)
global::System.Threading.Tasks.Task _asyncWriteTask
StreamWriter(Stream stream, global::System.Text.Encoding encoding, int bufferSize, bool leaveOpen)
global::System.Text.Encoding _encoding