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
FileStreamAsyncResult.cs
Go to the documentation of this file.
1using System;
3
4namespace System.IO
5{
6 // Token: 0x02000568 RID: 1384
8 {
9 // Token: 0x0600299F RID: 10655 RVA: 0x0005A7A4 File Offset: 0x000589A4
11 {
14 if (cb != null)
15 {
16 }
17 }
18
19 // Token: 0x060029A0 RID: 10656 RVA: 0x0005A7CC File Offset: 0x000589CC
20 private static void CBWrapper(IAsyncResult ares)
21 {
22 if (ares != null)
23 {
24 }
25 }
26
27 // Token: 0x170005FB RID: 1531
28 // (get) Token: 0x060029A1 RID: 10657 RVA: 0x0005A7E4 File Offset: 0x000589E4
29 public object AsyncState
30 {
31 get
32 {
33 return this.state;
34 }
35 }
36
37 // Token: 0x170005FC RID: 1532
38 // (get) Token: 0x060029A2 RID: 10658 RVA: 0x0005A7F8 File Offset: 0x000589F8
40 {
41 get
42 {
43 return this.completedSynch;
44 }
45 }
46
47 // Token: 0x170005FD RID: 1533
48 // (get) Token: 0x060029A3 RID: 10659 RVA: 0x0005A80C File Offset: 0x00058A0C
50 {
51 get
52 {
53 /*
54An exception occurred when decompiling this method (060029A3)
55
56ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Threading.WaitHandle System.IO.FileStreamAsyncResult::get_AsyncWaitHandle()
57
58 ---> System.Exception: Basic block has to end with unconditional control flow.
59{
60 Block_0:
61 stloc:ManualResetEvent(var_0_06, ldfld:ManualResetEvent(FileStreamAsyncResult::wh, ldloc:FileStreamAsyncResult(this)))
62}
63
64 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
65 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
66 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
67 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
68 --- End of inner exception stack trace ---
69 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
70 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
71*/;
72 }
73 }
74
75 // Token: 0x170005FE RID: 1534
76 // (get) Token: 0x060029A4 RID: 10660 RVA: 0x0005A820 File Offset: 0x00058A20
77 public bool IsCompleted
78 {
79 get
80 {
81 return this.completed;
82 }
83 }
84
85 // Token: 0x04001648 RID: 5704
86 private object state;
87
88 // Token: 0x04001649 RID: 5705
89 private bool completed;
90
91 // Token: 0x0400164A RID: 5706
93
94 // Token: 0x0400164B RID: 5707
96
97 // Token: 0x0400164C RID: 5708
98 private bool completedSynch;
99
100 // Token: 0x0400164D RID: 5709
101 public int Count;
102
103 // Token: 0x0400164E RID: 5710
104 public int OriginalCount;
105
106 // Token: 0x0400164F RID: 5711
107 public int BytesRead;
108
109 // Token: 0x04001650 RID: 5712
111 }
112}
class f__AnonymousType0<< Count > j__TPar
FileStreamAsyncResult(AsyncCallback cb, object state)
static void CBWrapper(IAsyncResult ares)