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
DeflateStream.cs
Go to the documentation of this file.
1using System;
5
7{
8 // Token: 0x0200043D RID: 1085
9 public class DeflateStream : Stream
10 {
11 // Token: 0x06001DBC RID: 7612 RVA: 0x0004FB6C File Offset: 0x0004DD6C
13 {
14 }
15
16 // Token: 0x06001DBD RID: 7613 RVA: 0x0004FB80 File Offset: 0x0004DD80
18 {
19 }
20
21 // Token: 0x06001DBE RID: 7614 RVA: 0x0004FB90 File Offset: 0x0004DD90
23 {
25 do
26 {
27 if (!true)
28 {
29 }
30 base..ctor();
31 if (compressedStream == null)
32 {
33 return;
34 }
37 }
38 while (deflateStreamNative == null);
39 this.leaveOpen = true;
40 }
41
42 // Token: 0x06001DBF RID: 7615 RVA: 0x0004FBC4 File Offset: 0x0004DDC4
43 protected override void Finalize()
44 {
45 base.Finalize();
46 }
47
48 // Token: 0x06001DC0 RID: 7616 RVA: 0x0004FBF8 File Offset: 0x0004DDF8
49 protected override void Dispose(bool disposing)
50 {
51 long num = 0L;
52 GC.SuppressFinalize(this);
54 if (deflateStreamNative != null)
55 {
57 }
58 if (!this.disposed)
59 {
60 bool flag = this.leaveOpen;
61 this.disposed = true;
62 if (flag || this.base_stream != null)
63 {
64 }
65 }
66 base.Dispose(num != 0L);
67 }
68
69 // Token: 0x06001DC1 RID: 7617 RVA: 0x0004FC48 File Offset: 0x0004DE48
70 private int ReadInternal(byte[] array, int offset, int count)
71 {
72 if (count == 0 || array != null)
73 {
74 }
75 int num;
76 return num;
77 }
78
79 // Token: 0x06001DC2 RID: 7618 RVA: 0x0004FC60 File Offset: 0x0004DE60
81 {
82 return base.ReadAsync(destination, cancellationToken);
83 }
84
85 // Token: 0x06001DC3 RID: 7619 RVA: 0x0004FC78 File Offset: 0x0004DE78
87 {
88 /*
89An exception occurred when decompiling this method (06001DC3)
90
91ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.IO.Compression.DeflateStream::ReadCore(System.Span`1<System.Byte>)
92
93 ---> System.Exception: Basic block has to end with unconditional control flow.
94{
95 Block_0:
96 call:void(ThrowHelper::ThrowArgumentOutOfRangeException)
97}
98
99 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
100 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
101 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
102 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
103 --- End of inner exception stack trace ---
104 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
105 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
106*/;
107 }
108
109 // Token: 0x06001DC4 RID: 7620 RVA: 0x0004FC98 File Offset: 0x0004DE98
110 public override int Read(byte[] array, int offset, int count)
111 {
112 if (!this.disposed)
113 {
114 if (array == null)
115 {
116 goto IL_0020;
117 }
118 if (count != 0)
119 {
121 int num;
122 return num;
123 }
124 }
125 Type type = base.GetType();
126 IL_0020:
127 return "Dest or count is negative.";
128 }
129
130 // Token: 0x06001DC5 RID: 7621 RVA: 0x0004FCD0 File Offset: 0x0004DED0
131 private void WriteInternal(byte[] array, int offset, int count)
132 {
133 if (count == 0)
134 {
135 return;
136 }
137 if (array != null)
138 {
139 return;
140 }
142 }
143
144 // Token: 0x06001DC6 RID: 7622 RVA: 0x0004FCEC File Offset: 0x0004DEEC
146 {
147 return base.WriteAsync(source, cancellationToken);
148 }
149
150 // Token: 0x06001DC7 RID: 7623 RVA: 0x00002050 File Offset: 0x00000250
152 {
153 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
154 }
155
156 // Token: 0x06001DC8 RID: 7624 RVA: 0x0004FD04 File Offset: 0x0004DF04
157 public override void Write(byte[] array, int offset, int count)
158 {
159 if (!this.disposed)
160 {
161 if (array != null)
162 {
163 if (count != 0)
164 {
166 return;
167 }
168 return;
169 }
170 }
171 else
172 {
173 Type type = base.GetType();
174 }
175 }
176
177 // Token: 0x06001DC9 RID: 7625 RVA: 0x0004FD34 File Offset: 0x0004DF34
178 public override void Flush()
179 {
180 /*
181An exception occurred when decompiling this method (06001DC9)
182
183ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.IO.Compression.DeflateStream::Flush()
184
185 ---> System.Exception: Basic block has to end with unconditional control flow.
186{
187 IL_0015:
188 stloc:Type(var_0_1B, call:Type(object::GetType, ldloc:DeflateStream[exp:object](this)))
189}
190
191 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
192 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
193 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
194 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
195 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
196 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
197 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
198 --- End of inner exception stack trace ---
199 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
200 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
201*/;
202 }
203
204 // Token: 0x06001DCA RID: 7626 RVA: 0x0004FD5C File Offset: 0x0004DF5C
206 {
207 if (!this.disposed)
208 {
209 if (array != null)
210 {
211 IAsyncResult asyncResult;
212 return asyncResult;
213 }
214 }
215 else
216 {
217 Type type = base.GetType();
218 }
219 return "count";
220 }
221
222 // Token: 0x06001DCB RID: 7627 RVA: 0x0004FD84 File Offset: 0x0004DF84
224 {
225 if (!this.disposed)
226 {
227 if (array != null)
228 {
229 IAsyncResult asyncResult;
230 return asyncResult;
231 }
232 }
233 else
234 {
235 Type type = base.GetType();
236 }
237 return "count";
238 }
239
240 // Token: 0x06001DCC RID: 7628 RVA: 0x0004FDAC File Offset: 0x0004DFAC
241 public override int EndRead(IAsyncResult asyncResult)
242 {
243 /*
244An exception occurred when decompiling this method (06001DCC)
245
246ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.IO.Compression.DeflateStream::EndRead(System.IAsyncResult)
247
248 ---> System.Exception: Basic block has to end with unconditional control flow.
249{
250 Block_0:
251 brtrue(IL_0000, logicnot:bool(ldloc:IAsyncResult[exp:bool](asyncResult)))
252}
253
254 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
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 1878
256 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
257 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
258 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
259 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
260 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
261 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
262 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
263 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
264 --- End of inner exception stack trace ---
265 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
266 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
267*/;
268 }
269
270 // Token: 0x06001DCD RID: 7629 RVA: 0x0004FDC0 File Offset: 0x0004DFC0
271 public override void EndWrite(IAsyncResult asyncResult)
272 {
273 while (asyncResult == null)
274 {
275 }
276 if (asyncResult != null)
277 {
278 return;
279 }
280 }
281
282 // Token: 0x06001DCE RID: 7630 RVA: 0x00002050 File Offset: 0x00000250
283 public override long Seek(long offset, SeekOrigin origin)
284 {
285 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
286 }
287
288 // Token: 0x06001DCF RID: 7631 RVA: 0x00002050 File Offset: 0x00000250
289 public override void SetLength(long value)
290 {
291 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
292 }
293
294 // Token: 0x170006B6 RID: 1718
295 // (get) Token: 0x06001DD0 RID: 7632 RVA: 0x0004FDD4 File Offset: 0x0004DFD4
296 public override bool CanRead
297 {
298 get
299 {
300 while (!this.disposed && this.mode == CompressionMode.Decompress)
301 {
302 }
303 }
304 }
305
306 // Token: 0x170006B7 RID: 1719
307 // (get) Token: 0x06001DD1 RID: 7633 RVA: 0x0004FDF4 File Offset: 0x0004DFF4
308 public override bool CanSeek
309 {
310 get
311 {
312 }
313 }
314
315 // Token: 0x170006B8 RID: 1720
316 // (get) Token: 0x06001DD2 RID: 7634 RVA: 0x0004FE04 File Offset: 0x0004E004
317 public override bool CanWrite
318 {
319 get
320 {
321 if (!this.disposed)
322 {
324 Stream stream = this.base_stream;
325 return;
326 }
327 }
328 }
329
330 // Token: 0x170006B9 RID: 1721
331 // (get) Token: 0x06001DD3 RID: 7635 RVA: 0x00002050 File Offset: 0x00000250
332 public override long Length
333 {
334 get
335 {
336 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
337 }
338 }
339
340 // Token: 0x170006BA RID: 1722
341 // (get) Token: 0x06001DD4 RID: 7636 RVA: 0x00002050 File Offset: 0x00000250
342 // (set) Token: 0x06001DD5 RID: 7637 RVA: 0x00002050 File Offset: 0x00000250
343 public override long Position
344 {
345 get
346 {
347 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
348 }
349 set
350 {
351 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
352 }
353 }
354
355 // Token: 0x0400140A RID: 5130
357
358 // Token: 0x0400140B RID: 5131
360
361 // Token: 0x0400140C RID: 5132
362 private bool leaveOpen;
363
364 // Token: 0x0400140D RID: 5133
365 private bool disposed;
366
367 // Token: 0x0400140E RID: 5134
369
370 // Token: 0x0200043E RID: 1086
371 private sealed class ReadMethod : MulticastDelegate
372 {
373 // Token: 0x06001DD6 RID: 7638 RVA: 0x0004FE28 File Offset: 0x0004E028
374 public ReadMethod(object @object, IntPtr method)
375 {
376 this.m_target = @object;
378 this.method_code = this;
379 }
380
381 // Token: 0x06001DD7 RID: 7639 RVA: 0x0004FE74 File Offset: 0x0004E074
382 public int Invoke(byte[] array, int offset, int count)
383 {
384 /*
385An exception occurred when decompiling this method (06001DD7)
386
387ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.IO.Compression.DeflateStream/ReadMethod::Invoke(System.Byte[],System.Int32,System.Int32)
388
389 ---> System.Exception: Basic block has to end with unconditional control flow.
390{
391 Block_0:
392 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:ReadMethod[exp:Delegate](this)))
393 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:ReadMethod[exp:Delegate](this)))
394 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:ReadMethod[exp:Delegate](this)))
395}
396
397 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
398 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
399 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
400 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
401 --- End of inner exception stack trace ---
402 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
403 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
404*/;
405 }
406
407 // Token: 0x06001DD8 RID: 7640 RVA: 0x00002050 File Offset: 0x00000250
408 public IAsyncResult BeginInvoke(byte[] array, int offset, int count, AsyncCallback callback, object @object)
409 {
410 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
411 }
412
413 // Token: 0x06001DD9 RID: 7641 RVA: 0x00002050 File Offset: 0x00000250
414 public int EndInvoke(IAsyncResult result)
415 {
416 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
417 }
418 }
419
420 // Token: 0x0200043F RID: 1087
421 private sealed class WriteMethod : MulticastDelegate
422 {
423 // Token: 0x06001DDA RID: 7642 RVA: 0x0004FE98 File Offset: 0x0004E098
424 public WriteMethod(object @object, IntPtr method)
425 {
427 this.m_target = @object;
429 this.method_code = this;
430 }
431
432 // Token: 0x06001DDB RID: 7643 RVA: 0x0004FEEC File Offset: 0x0004E0EC
433 public void Invoke(byte[] array, int offset, int count)
434 {
437 IntPtr method = this.method;
438 }
439
440 // Token: 0x06001DDC RID: 7644 RVA: 0x00002050 File Offset: 0x00000250
441 public IAsyncResult BeginInvoke(byte[] array, int offset, int count, AsyncCallback callback, object @object)
442 {
443 throw new global::Cpp2IlInjected.AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
444 }
445
446 // Token: 0x06001DDD RID: 7645 RVA: 0x0004FF10 File Offset: 0x0004E110
447 public void EndInvoke(IAsyncResult result)
448 {
449 }
450 }
451 }
452}
class f__AnonymousType0<< Count > j__TPar
IntPtr method_code
Definition Delegate.cs:386
IntPtr invoke_impl
Definition Delegate.cs:371
static void SuppressFinalize(object obj)
Definition GC.cs:116
IAsyncResult BeginInvoke(byte[] array, int offset, int count, AsyncCallback callback, object @object)
int Invoke(byte[] array, int offset, int count)
ReadMethod(object @object, IntPtr method)
void Invoke(byte[] array, int offset, int count)
IAsyncResult BeginInvoke(byte[] array, int offset, int count, AsyncCallback callback, object @object)
WriteMethod(object @object, IntPtr method)
DeflateStream(Stream stream, CompressionMode mode, bool leaveOpen, int windowsBits)
override IAsyncResult BeginWrite(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState)
override void EndWrite(IAsyncResult asyncResult)
override void SetLength(long value)
void WriteInternal(byte[] array, int offset, int count)
void WriteCore(ReadOnlySpan< byte > source)
DeflateStream(Stream compressedStream, CompressionMode mode, bool leaveOpen, bool gzip)
override int EndRead(IAsyncResult asyncResult)
override void Write(byte[] array, int offset, int count)
ValueTask WriteAsyncMemory(ReadOnlyMemory< byte > source, CancellationToken cancellationToken)
override int Read(byte[] array, int offset, int count)
int ReadCore(Span< byte > destination)
DeflateStream(Stream stream, CompressionMode mode)
int ReadInternal(byte[] array, int offset, int count)
override IAsyncResult BeginRead(byte[] array, int offset, int count, AsyncCallback asyncCallback, object asyncState)
override long Seek(long offset, SeekOrigin origin)
ValueTask< int > ReadAsyncMemory(Memory< byte > destination, CancellationToken cancellationToken)
override void Dispose(bool disposing)
new Type GetType()
Definition Type.cs:287