terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches
XmlWriterSettings.cs
Go to the documentation of this file.
1using System;
3using System.IO;
4using System.Text;
6
7namespace System.Xml
8{
9 // Token: 0x02000060 RID: 96
10 public sealed class XmlWriterSettings
11 {
12 // Token: 0x0600043B RID: 1083 RVA: 0x00010CD4 File Offset: 0x0000EED4
14 {
15 this.Initialize();
16 }
17
18 // Token: 0x170000C9 RID: 201
19 // (get) Token: 0x0600043C RID: 1084 RVA: 0x00010CF0 File Offset: 0x0000EEF0
20 public bool Async
21 {
22 get
23 {
24 return this.useAsync;
25 }
26 }
27
28 // Token: 0x170000CA RID: 202
29 // (get) Token: 0x0600043D RID: 1085 RVA: 0x00010D04 File Offset: 0x0000EF04
31 {
32 get
33 {
34 return this.encoding;
35 }
36 }
37
38 // Token: 0x170000CB RID: 203
39 // (get) Token: 0x0600043E RID: 1086 RVA: 0x00010D18 File Offset: 0x0000EF18
40 // (set) Token: 0x0600043F RID: 1087 RVA: 0x00010D2C File Offset: 0x0000EF2C
42 {
43 get
44 {
45 return this.omitXmlDecl;
46 }
47 set
48 {
49 this.CheckReadOnly("OmitXmlDeclaration");
50 }
51 }
52
53 // Token: 0x170000CC RID: 204
54 // (get) Token: 0x06000440 RID: 1088 RVA: 0x00010D44 File Offset: 0x0000EF44
56 {
57 get
58 {
59 return this.newLineHandling;
60 }
61 }
62
63 // Token: 0x170000CD RID: 205
64 // (get) Token: 0x06000441 RID: 1089 RVA: 0x00010D58 File Offset: 0x0000EF58
65 public string NewLineChars
66 {
67 get
68 {
69 return this.newLineChars;
70 }
71 }
72
73 // Token: 0x170000CE RID: 206
74 // (get) Token: 0x06000442 RID: 1090 RVA: 0x00010D6C File Offset: 0x0000EF6C
75 // (set) Token: 0x06000443 RID: 1091 RVA: 0x00010D80 File Offset: 0x0000EF80
76 public bool Indent
77 {
78 get
79 {
80 /*
81An exception occurred when decompiling this method (06000442)
82
83ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Xml.XmlWriterSettings::get_Indent()
84
85 ---> System.Exception: Basic block has to end with unconditional control flow.
86{
87 Block_0:
88 stloc:TriState(var_0_06, ldfld:TriState(XmlWriterSettings::indent, ldloc:XmlWriterSettings(this)))
89}
90
91 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
92 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
93 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
94 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
95 --- End of inner exception stack trace ---
96 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
97 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
98*/;
99 }
100 set
101 {
102 this.CheckReadOnly("Indent");
103 this.indent = TriState.True;
104 }
105 }
106
107 // Token: 0x170000CF RID: 207
108 // (get) Token: 0x06000444 RID: 1092 RVA: 0x00010DA0 File Offset: 0x0000EFA0
109 public string IndentChars
110 {
111 get
112 {
113 return this.indentChars;
114 }
115 }
116
117 // Token: 0x170000D0 RID: 208
118 // (get) Token: 0x06000445 RID: 1093 RVA: 0x00010DB4 File Offset: 0x0000EFB4
120 {
121 get
122 {
123 return this.newLineOnAttributes;
124 }
125 }
126
127 // Token: 0x170000D1 RID: 209
128 // (get) Token: 0x06000446 RID: 1094 RVA: 0x00010DC8 File Offset: 0x0000EFC8
129 public bool CloseOutput
130 {
131 get
132 {
133 return this.closeOutput;
134 }
135 }
136
137 // Token: 0x170000D2 RID: 210
138 // (get) Token: 0x06000447 RID: 1095 RVA: 0x00010DDC File Offset: 0x0000EFDC
139 // (set) Token: 0x06000448 RID: 1096 RVA: 0x00010DF0 File Offset: 0x0000EFF0
141 {
142 get
143 {
144 return this.conformanceLevel;
145 }
146 set
147 {
148 this.CheckReadOnly("ConformanceLevel");
150 }
151 }
152
153 // Token: 0x170000D3 RID: 211
154 // (get) Token: 0x06000449 RID: 1097 RVA: 0x00010E10 File Offset: 0x0000F010
155 public bool CheckCharacters
156 {
157 get
158 {
159 return this.checkCharacters;
160 }
161 }
162
163 // Token: 0x170000D4 RID: 212
164 // (get) Token: 0x0600044A RID: 1098 RVA: 0x00010E24 File Offset: 0x0000F024
165 // (set) Token: 0x0600044B RID: 1099 RVA: 0x00010E38 File Offset: 0x0000F038
167 {
168 get
169 {
170 return this.namespaceHandling;
171 }
172 set
173 {
174 this.CheckReadOnly("NamespaceHandling");
176 }
177 }
178
179 // Token: 0x170000D5 RID: 213
180 // (get) Token: 0x0600044C RID: 1100 RVA: 0x00010E58 File Offset: 0x0000F058
182 {
183 get
184 {
185 return this.writeEndDocumentOnClose;
186 }
187 }
188
189 // Token: 0x170000D6 RID: 214
190 // (get) Token: 0x0600044D RID: 1101 RVA: 0x00010E6C File Offset: 0x0000F06C
191 // (set) Token: 0x0600044E RID: 1102 RVA: 0x00010E80 File Offset: 0x0000F080
193 {
194 get
195 {
196 return this.outputMethod;
197 }
198 internal set
199 {
201 }
202 }
203
204 // Token: 0x0600044F RID: 1103 RVA: 0x00010E94 File Offset: 0x0000F094
206 {
207 /*
208An exception occurred when decompiling this method (0600044F)
209
210ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Xml.XmlWriterSettings System.Xml.XmlWriterSettings::Clone()
211
212 ---> System.Exception: Basic block has to end with unconditional control flow.
213{
214 IL_0008:
215 stloc:class [mscorlib]System.Collections.Generic.List`1<class System.Xml.XmlQualifiedName>(var_1_10, ldfld:class [mscorlib]System.Collections.Generic.List`1<class System.Xml.XmlQualifiedName>(XmlWriterSettings::cdataSections, ldloc:XmlWriterSettings(this)))
216}
217
218 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
219 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
220 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
221 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
222 --- End of inner exception stack trace ---
223 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
224 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
225*/;
226 }
227
228 // Token: 0x170000D7 RID: 215
229 // (get) Token: 0x06000450 RID: 1104 RVA: 0x00010EB4 File Offset: 0x0000F0B4
231 {
232 get
233 {
234 return this.cdataSections;
235 }
236 }
237
238 // Token: 0x170000D8 RID: 216
239 // (get) Token: 0x06000451 RID: 1105 RVA: 0x00010EC8 File Offset: 0x0000F0C8
241 {
242 get
243 {
244 return this.doNotEscapeUriAttributes;
245 }
246 }
247
248 // Token: 0x170000D9 RID: 217
249 // (get) Token: 0x06000452 RID: 1106 RVA: 0x00010EDC File Offset: 0x0000F0DC
250 internal bool MergeCDataSections
251 {
252 get
253 {
254 return this.mergeCDataSections;
255 }
256 }
257
258 // Token: 0x170000DA RID: 218
259 // (get) Token: 0x06000453 RID: 1107 RVA: 0x00010EF0 File Offset: 0x0000F0F0
260 internal string MediaType
261 {
262 get
263 {
264 return this.mediaType;
265 }
266 }
267
268 // Token: 0x170000DB RID: 219
269 // (get) Token: 0x06000454 RID: 1108 RVA: 0x00010F04 File Offset: 0x0000F104
270 internal string DocTypeSystem
271 {
272 get
273 {
274 return this.docTypeSystem;
275 }
276 }
277
278 // Token: 0x170000DC RID: 220
279 // (get) Token: 0x06000455 RID: 1109 RVA: 0x00010F18 File Offset: 0x0000F118
280 internal string DocTypePublic
281 {
282 get
283 {
284 return this.docTypePublic;
285 }
286 }
287
288 // Token: 0x170000DD RID: 221
289 // (get) Token: 0x06000456 RID: 1110 RVA: 0x00010F2C File Offset: 0x0000F12C
291 {
292 get
293 {
294 return this.standalone;
295 }
296 }
297
298 // Token: 0x170000DE RID: 222
299 // (get) Token: 0x06000457 RID: 1111 RVA: 0x00010F40 File Offset: 0x0000F140
300 internal bool AutoXmlDeclaration
301 {
302 get
303 {
304 return this.autoXmlDecl;
305 }
306 }
307
308 // Token: 0x170000DF RID: 223
309 // (get) Token: 0x06000458 RID: 1112 RVA: 0x00010F54 File Offset: 0x0000F154
311 {
312 get
313 {
314 return this.indent;
315 }
316 }
317
318 // Token: 0x170000E0 RID: 224
319 // (get) Token: 0x06000459 RID: 1113 RVA: 0x00010F68 File Offset: 0x0000F168
320 internal bool IsQuerySpecific
321 {
322 get
323 {
324 if (this.cdataSections._size != 0 || this.docTypePublic != null || this.docTypeSystem != null)
325 {
326 return true;
327 }
329 return true;
330 }
331 }
332
333 // Token: 0x0600045A RID: 1114 RVA: 0x00010F9C File Offset: 0x0000F19C
335 {
336 if (output != null)
337 {
340 TriState triState = this.indent;
346 if (this.useAsync)
347 {
348 }
349 }
350 throw new InvalidCastException();
351 }
352
353 // Token: 0x0600045B RID: 1115 RVA: 0x00010FF8 File Offset: 0x0000F1F8
355 {
356 if (output != null)
357 {
359 TriState triState = this.indent;
363 if (this.useAsync)
364 {
365 }
366 }
367 throw new InvalidCastException();
368 }
369
370 // Token: 0x170000E1 RID: 225
371 // (set) Token: 0x0600045C RID: 1116 RVA: 0x0001103C File Offset: 0x0000F23C
372 internal bool ReadOnly
373 {
374 set
375 {
376 }
377 }
378
379 // Token: 0x0600045D RID: 1117 RVA: 0x0001104C File Offset: 0x0000F24C
380 private void CheckReadOnly(string propertyName)
381 {
382 /*
383An exception occurred when decompiling this method (0600045D)
384
385ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.Xml.XmlWriterSettings::CheckReadOnly(System.String)
386
387 ---> System.Exception: Basic block has to end with unconditional control flow.
388{
389 IL_0009:
390 stloc:Type(var_0_0F, call:Type(object::GetType, ldloc:XmlWriterSettings[exp:object](this)))
391}
392
393 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
394 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
395 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
396 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
397 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
398 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
399 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
400 --- End of inner exception stack trace ---
401 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
402 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
403*/;
404 }
405
406 // Token: 0x0600045E RID: 1118 RVA: 0x00003FFD File Offset: 0x000021FD
407 private void Initialize()
408 {
409 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
410 }
411
412 // Token: 0x04000271 RID: 625
413 private bool useAsync;
414
415 // Token: 0x04000272 RID: 626
417
418 // Token: 0x04000273 RID: 627
419 private bool omitXmlDecl;
420
421 // Token: 0x04000274 RID: 628
423
424 // Token: 0x04000275 RID: 629
425 private string newLineChars;
426
427 // Token: 0x04000276 RID: 630
429
430 // Token: 0x04000277 RID: 631
431 private string indentChars;
432
433 // Token: 0x04000278 RID: 632
435
436 // Token: 0x04000279 RID: 633
437 private bool closeOutput;
438
439 // Token: 0x0400027A RID: 634
441
442 // Token: 0x0400027B RID: 635
444
445 // Token: 0x0400027C RID: 636
446 private bool checkCharacters;
447
448 // Token: 0x0400027D RID: 637
450
451 // Token: 0x0400027E RID: 638
453
454 // Token: 0x0400027F RID: 639
456
457 // Token: 0x04000280 RID: 640
459
460 // Token: 0x04000281 RID: 641
461 private bool mergeCDataSections;
462
463 // Token: 0x04000282 RID: 642
464 private string mediaType;
465
466 // Token: 0x04000283 RID: 643
467 private string docTypeSystem;
468
469 // Token: 0x04000284 RID: 644
470 private string docTypePublic;
471
472 // Token: 0x04000285 RID: 645
474
475 // Token: 0x04000286 RID: 646
476 private bool autoXmlDecl;
477
478 // Token: 0x04000287 RID: 647
479 private bool isReadOnly;
480 }
481}
class f__AnonymousType0<< Count > j__TPar
XmlWriter CreateWriter(TextWriter output)
List< XmlQualifiedName > cdataSections
void CheckReadOnly(string propertyName)
XmlWriter CreateWriter(Stream output)
List< XmlQualifiedName > CDataSectionElements