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
XmlAsyncCheckWriter.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml
5{
6 // Token: 0x02000030 RID: 48
8 {
9 // Token: 0x0600010D RID: 269 RVA: 0x0000446C File Offset: 0x0000266C
11 {
12 if (!true)
13 {
14 }
15 this.lastTask = 1;
16 base..ctor();
17 this.coreWriter = writer;
18 }
19
20 // Token: 0x0600010E RID: 270 RVA: 0x00004490 File Offset: 0x00002690
21 private void CheckAsync()
22 {
23 bool isCompleted = this.lastTask.IsCompleted;
24 }
25
26 // Token: 0x0600010F RID: 271 RVA: 0x000044B4 File Offset: 0x000026B4
27 public override void WriteStartDocument()
28 {
29 this.CheckAsync();
31 }
32
33 // Token: 0x06000110 RID: 272 RVA: 0x000044D0 File Offset: 0x000026D0
34 public override void WriteStartDocument(bool standalone)
35 {
36 /*
37An exception occurred when decompiling this method (06000110)
38
39ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.Xml.XmlAsyncCheckWriter::WriteStartDocument(System.Boolean)
40
41 ---> System.Exception: Basic block has to end with unconditional control flow.
42{
43 Block_0:
44 call:void(XmlAsyncCheckWriter::CheckAsync, ldloc:XmlAsyncCheckWriter(this))
45 stloc:XmlWriter(var_0_0C, ldfld:XmlWriter(XmlAsyncCheckWriter::coreWriter, ldloc:XmlAsyncCheckWriter(this)))
46}
47
48 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
49 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
50 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
51 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
52 --- End of inner exception stack trace ---
53 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
54 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
55*/;
56 }
57
58 // Token: 0x06000111 RID: 273 RVA: 0x000044EC File Offset: 0x000026EC
59 public override void WriteEndDocument()
60 {
61 this.CheckAsync();
63 }
64
65 // Token: 0x06000112 RID: 274 RVA: 0x00004508 File Offset: 0x00002708
66 public override void WriteDocType(string name, string pubid, string sysid, string subset)
67 {
68 this.CheckAsync();
70 }
71
72 // Token: 0x06000113 RID: 275 RVA: 0x00004524 File Offset: 0x00002724
73 public override void WriteStartElement(string prefix, string localName, string ns)
74 {
75 this.CheckAsync();
77 }
78
79 // Token: 0x06000114 RID: 276 RVA: 0x00004540 File Offset: 0x00002740
80 public override void WriteEndElement()
81 {
82 this.CheckAsync();
84 }
85
86 // Token: 0x06000115 RID: 277 RVA: 0x0000455C File Offset: 0x0000275C
87 public override void WriteFullEndElement()
88 {
89 this.CheckAsync();
91 }
92
93 // Token: 0x06000116 RID: 278 RVA: 0x00004578 File Offset: 0x00002778
94 public override void WriteStartAttribute(string prefix, string localName, string ns)
95 {
96 this.CheckAsync();
98 }
99
100 // Token: 0x06000117 RID: 279 RVA: 0x00004594 File Offset: 0x00002794
101 public override void WriteEndAttribute()
102 {
103 this.CheckAsync();
105 }
106
107 // Token: 0x06000118 RID: 280 RVA: 0x000045B0 File Offset: 0x000027B0
108 public override void WriteCData(string text)
109 {
110 this.CheckAsync();
112 }
113
114 // Token: 0x06000119 RID: 281 RVA: 0x000045CC File Offset: 0x000027CC
115 public override void WriteComment(string text)
116 {
117 this.CheckAsync();
119 }
120
121 // Token: 0x0600011A RID: 282 RVA: 0x000045E8 File Offset: 0x000027E8
122 public override void WriteProcessingInstruction(string name, string text)
123 {
124 this.CheckAsync();
126 }
127
128 // Token: 0x0600011B RID: 283 RVA: 0x00004604 File Offset: 0x00002804
129 public override void WriteEntityRef(string name)
130 {
131 this.CheckAsync();
132 }
133
134 // Token: 0x0600011C RID: 284 RVA: 0x00004618 File Offset: 0x00002818
135 public override void WriteCharEntity(char ch)
136 {
137 this.CheckAsync();
139 }
140
141 // Token: 0x0600011D RID: 285 RVA: 0x00004634 File Offset: 0x00002834
142 public override void WriteWhitespace(string ws)
143 {
144 this.CheckAsync();
146 }
147
148 // Token: 0x0600011E RID: 286 RVA: 0x00004650 File Offset: 0x00002850
149 public override void WriteString(string text)
150 {
151 this.CheckAsync();
153 }
154
155 // Token: 0x0600011F RID: 287 RVA: 0x0000466C File Offset: 0x0000286C
156 public override void WriteSurrogateCharEntity(char lowChar, char highChar)
157 {
158 this.CheckAsync();
160 }
161
162 // Token: 0x06000120 RID: 288 RVA: 0x00004688 File Offset: 0x00002888
163 public override void WriteChars(char[] buffer, int index, int count)
164 {
165 this.CheckAsync();
167 }
168
169 // Token: 0x06000121 RID: 289 RVA: 0x000046A4 File Offset: 0x000028A4
170 public override void WriteRaw(char[] buffer, int index, int count)
171 {
172 this.CheckAsync();
174 }
175
176 // Token: 0x06000122 RID: 290 RVA: 0x000046C0 File Offset: 0x000028C0
177 public override void WriteRaw(string data)
178 {
179 this.CheckAsync();
181 }
182
183 // Token: 0x06000123 RID: 291 RVA: 0x000046DC File Offset: 0x000028DC
184 public override void WriteBase64(byte[] buffer, int index, int count)
185 {
186 this.CheckAsync();
188 }
189
190 // Token: 0x06000124 RID: 292 RVA: 0x000046F8 File Offset: 0x000028F8
191 public override void WriteBinHex(byte[] buffer, int index, int count)
192 {
193 this.CheckAsync();
195 }
196
197 // Token: 0x17000037 RID: 55
198 // (get) Token: 0x06000125 RID: 293 RVA: 0x00004714 File Offset: 0x00002914
199 public override WriteState WriteState
200 {
201 get
202 {
203 /*
204An exception occurred when decompiling this method (06000125)
205
206ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Xml.WriteState System.Xml.XmlAsyncCheckWriter::get_WriteState()
207
208 ---> System.Exception: Basic block has to end with unconditional control flow.
209{
210 Block_0:
211 call:void(XmlAsyncCheckWriter::CheckAsync, ldloc:XmlAsyncCheckWriter(this))
212 stloc:XmlWriter(var_0_0C, ldfld:XmlWriter(XmlAsyncCheckWriter::coreWriter, ldloc:XmlAsyncCheckWriter(this)))
213}
214
215 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
216 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
217 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
218 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
219 --- End of inner exception stack trace ---
220 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
221 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
222*/;
223 }
224 }
225
226 // Token: 0x06000126 RID: 294 RVA: 0x00004730 File Offset: 0x00002930
227 public override void Close()
228 {
229 this.CheckAsync();
231 }
232
233 // Token: 0x06000127 RID: 295 RVA: 0x0000474C File Offset: 0x0000294C
234 public override void Flush()
235 {
236 this.CheckAsync();
238 }
239
240 // Token: 0x06000128 RID: 296 RVA: 0x00004768 File Offset: 0x00002968
241 public override string LookupPrefix(string ns)
242 {
243 /*
244An exception occurred when decompiling this method (06000128)
245
246ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.XmlAsyncCheckWriter::LookupPrefix(System.String)
247
248 ---> System.Exception: Basic block has to end with unconditional control flow.
249{
250 Block_0:
251 call:void(XmlAsyncCheckWriter::CheckAsync, ldloc:XmlAsyncCheckWriter(this))
252 stloc:XmlWriter(var_0_0C, ldfld:XmlWriter(XmlAsyncCheckWriter::coreWriter, ldloc:XmlAsyncCheckWriter(this)))
253}
254
255 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
256 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
257 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
258 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
259 --- End of inner exception stack trace ---
260 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
261 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
262*/;
263 }
264
265 // Token: 0x06000129 RID: 297 RVA: 0x00004784 File Offset: 0x00002984
266 public override void WriteValue(string value)
267 {
268 this.CheckAsync();
270 }
271
272 // Token: 0x0600012A RID: 298 RVA: 0x000047A0 File Offset: 0x000029A0
273 protected override void Dispose(bool disposing)
274 {
275 this.CheckAsync();
276 this.coreWriter.Dispose();
277 }
278
279 // Token: 0x0400007F RID: 127
281
282 // Token: 0x04000080 RID: 128
283 private Task lastTask;
284 }
285}
class f__AnonymousType0<< Count > j__TPar
override void WriteRaw(char[] buffer, int index, int count)
override void WriteString(string text)
override void WriteValue(string value)
override void WriteChars(char[] buffer, int index, int count)
override string LookupPrefix(string ns)
override void WriteSurrogateCharEntity(char lowChar, char highChar)
override void Dispose(bool disposing)
override void WriteBinHex(byte[] buffer, int index, int count)
override void WriteDocType(string name, string pubid, string sysid, string subset)
override void WriteBase64(byte[] buffer, int index, int count)
override void WriteComment(string text)
override void WriteStartElement(string prefix, string localName, string ns)
override void WriteCData(string text)
override void WriteCharEntity(char ch)
override void WriteRaw(string data)
override void WriteEntityRef(string name)
override void WriteStartAttribute(string prefix, string localName, string ns)
override void WriteStartDocument(bool standalone)
override void WriteProcessingInstruction(string name, string text)
override void WriteWhitespace(string ws)