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
RendezvousAwaitable.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000227 RID: 551
9 {
10 // Token: 0x170001D0 RID: 464
11 // (get) Token: 0x0600131D RID: 4893 RVA: 0x00028214 File Offset: 0x00026414
12 // (set) Token: 0x0600131E RID: 4894 RVA: 0x00028228 File Offset: 0x00026428
14 {
16 get
17 {
19 }
21 set
22 {
23 }
24 }
25
26 // Token: 0x0600131F RID: 4895 RVA: 0x00028238 File Offset: 0x00026438
28 {
29 return this;
30 }
31
32 // Token: 0x170001D1 RID: 465
33 // (get) Token: 0x06001320 RID: 4896 RVA: 0x00028248 File Offset: 0x00026448
34 public bool IsCompleted
35 {
36 get
37 {
38 /*
39An exception occurred when decompiling this method (06001320)
40
41ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Threading.Tasks.RendezvousAwaitable`1::get_IsCompleted()
42
43 ---> System.Exception: Basic block has to end with unconditional control flow.
44{
45 Block_0:
46 stloc:Action(var_0_06, ldfld:Action(RendezvousAwaitable`1::_continuation, ldloc:RendezvousAwaitable`1(this)))
47}
48
49 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
50 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
51 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
52 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
53 --- End of inner exception stack trace ---
54 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
55 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
56*/;
57 }
58 }
59
60 // Token: 0x06001321 RID: 4897 RVA: 0x0002825C File Offset: 0x0002645C
62 {
63 ExceptionDispatchInfo error = this._error;
64 if (error != null)
65 {
66 error.Throw();
67 }
68 return this._result;
69 }
70
71 // Token: 0x06001322 RID: 4898 RVA: 0x00028280 File Offset: 0x00026480
72 public void SetResult(TResult result)
73 {
74 this._result = result;
75 }
76
77 // Token: 0x06001323 RID: 4899 RVA: 0x00028294 File Offset: 0x00026494
78 private void NotifyAwaiter()
79 {
80 if (this._continuation == null)
81 {
82 if (!true)
83 {
84 }
85 if (this == null)
86 {
87 return;
88 }
89 }
90 }
91
92 // Token: 0x06001324 RID: 4900 RVA: 0x000282C0 File Offset: 0x000264C0
94 {
95 if (this._continuation != null || this != null)
96 {
98 return;
99 }
100 }
101
102 // Token: 0x06001325 RID: 4901 RVA: 0x000282E0 File Offset: 0x000264E0
104 {
105 }
106
107 // Token: 0x06001326 RID: 4902 RVA: 0x000282F0 File Offset: 0x000264F0
109 {
110 }
111
112 // Token: 0x06001327 RID: 4903 RVA: 0x0002830C File Offset: 0x0002650C
113 // Note: this type is marked as 'beforefieldinit'.
115 {
116 if (!true)
117 {
118 }
119 }
120
121 // Token: 0x04000A36 RID: 2614
123
124 // Token: 0x04000A37 RID: 2615
126
127 // Token: 0x04000A38 RID: 2616
129
130 // Token: 0x04000A39 RID: 2617
132
133 // Token: 0x04000A3A RID: 2618
135 private bool <RunContinuationsAsynchronously>k__BackingField = true;
136
137 // Token: 0x02000228 RID: 552
139 [Serializable]
140 private sealed class <>c
141 {
142 // Token: 0x06001328 RID: 4904 RVA: 0x00028320 File Offset: 0x00026520
143 // Note: this type is marked as 'beforefieldinit'.
144 static <>c()
145 {
146 }
147
148 // Token: 0x06001329 RID: 4905 RVA: 0x00028330 File Offset: 0x00026530
149 public <>c()
150 {
151 }
152
153 // Token: 0x0600132A RID: 4906 RVA: 0x00028344 File Offset: 0x00026544
154 internal void <.cctor>b__20_0()
155 {
156 }
157
158 // Token: 0x04000A3B RID: 2619
160 }
161 }
162}
class f__AnonymousType0<< Count > j__TPar
RendezvousAwaitable< TResult > GetAwaiter()
bool< RunContinuationsAsynchronously > k__BackingField
static Task Run(Action action)
Definition Task.2.cs:1659