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
AggregateException.cs
Go to the documentation of this file.
1using System;
7using System.Text;
8
9namespace System
10{
11 // Token: 0x02000081 RID: 129
12 [DebuggerDisplay("Count = {InnerExceptionCount}")]
15 {
16 // Token: 0x060003B3 RID: 947 RVA: 0x0000BB84 File Offset: 0x00009D84
18 {
19 if (!true)
20 {
21 }
22 base..ctor("One or more errors occurred.");
23 if (!true)
24 {
25 }
26 }
27
28 // Token: 0x060003B4 RID: 948 RVA: 0x0000BBA4 File Offset: 0x00009DA4
32
33 // Token: 0x060003B5 RID: 949 RVA: 0x0000BBB4 File Offset: 0x00009DB4
37
38 // Token: 0x060003B6 RID: 950 RVA: 0x0000BBC4 File Offset: 0x00009DC4
40 {
41 if (innerExceptions == null && innerExceptions != null)
42 {
43 return;
44 }
45 }
46
47 // Token: 0x060003B7 RID: 951 RVA: 0x0000BBD8 File Offset: 0x00009DD8
49 {
50 }
51
52 // Token: 0x060003B8 RID: 952 RVA: 0x0000BBE8 File Offset: 0x00009DE8
54 {
55 if (innerExceptions != null)
56 {
57 return;
58 }
60 }
61
62 // Token: 0x060003B9 RID: 953 RVA: 0x0000BC14 File Offset: 0x00009E14
66
67 // Token: 0x060003BA RID: 954 RVA: 0x0000BC24 File Offset: 0x00009E24
69 {
70 if (innerExceptionInfos == null && innerExceptionInfos != null)
71 {
72 return;
73 }
74 }
75
76 // Token: 0x060003BB RID: 955 RVA: 0x0000BC38 File Offset: 0x00009E38
78 {
79 if (innerExceptionInfos != null)
80 {
81 return;
82 }
84 }
85
86 // Token: 0x060003BC RID: 956 RVA: 0x0000BC74 File Offset: 0x00009E74
88 {
89 Type type;
90 do
91 {
92 if (!true)
93 {
94 }
95 base..ctor(info, context);
96 if (info == null)
97 {
98 return;
99 }
100 }
101 while (info.GetValue("InnerExceptions", type) == null);
102 }
103
104 // Token: 0x060003BD RID: 957 RVA: 0x0000BCA0 File Offset: 0x00009EA0
106 {
107 base.GetObjectData(info, context);
109 if (this.m_innerExceptions == null)
110 {
111 }
112 }
113
114 // Token: 0x17000056 RID: 86
115 // (get) Token: 0x060003BE RID: 958 RVA: 0x0000BCC4 File Offset: 0x00009EC4
117 {
118 get
119 {
120 return this.m_innerExceptions;
121 }
122 }
123
124 // Token: 0x060003BF RID: 959 RVA: 0x0000BCD8 File Offset: 0x00009ED8
126 {
127 }
128
129 // Token: 0x17000057 RID: 87
130 // (get) Token: 0x060003C0 RID: 960 RVA: 0x0000BCE8 File Offset: 0x00009EE8
131 public override string Message
132 {
133 get
134 {
135 if (this.m_innerExceptions != null)
136 {
137 StringBuilder stringBuilder = StringBuilderCache.Acquire(16);
138 string message = base.Message;
139 StringBuilder stringBuilder2 = stringBuilder.Append(message);
140 int num = 32;
141 StringBuilder stringBuilder3 = stringBuilder.Append((char)num);
143 int num2 = 40;
144 StringBuilder stringBuilder4 = stringBuilder.Append((char)num2);
146 StringBuilder stringBuilder5 = stringBuilder.Append(") ");
148 long num3 = 0L;
149 int length = stringBuilder.Length;
151 return StringBuilderCache.GetStringAndRelease(stringBuilder);
152 }
153 return base.Message;
154 }
155 }
156
157 // Token: 0x060003C1 RID: 961 RVA: 0x0000BD78 File Offset: 0x00009F78
158 public override string ToString()
159 {
160 /*
161An exception occurred when decompiling this method (060003C1)
162
163ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.AggregateException::ToString()
164
165 ---> System.Exception: Basic block has to end with unconditional control flow.
166{
167 IL_0016:
168 stloc:CultureInfo(var_8_1E, callgetter:CultureInfo(CultureInfo::get_InvariantCulture))
169 stloc:class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.Exception>(var_10_26, ldfld:class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.Exception>(AggregateException::m_innerExceptions, ldloc:AggregateException(this)))
170 stloc:class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.Exception>(var_14_2E, ldfld:class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.Exception>(AggregateException::m_innerExceptions, ldloc:AggregateException(this)))
171}
172
173 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
174 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
175 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
176 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
177 --- End of inner exception stack trace ---
178 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
179 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
180*/;
181 }
182
183 // Token: 0x040001DA RID: 474
185 }
186}
class f__AnonymousType0<< Count > j__TPar
AggregateException(string message, IEnumerable< Exception > innerExceptions)
AggregateException(string message, IEnumerable< ExceptionDispatchInfo > innerExceptionInfos)
ReadOnlyCollection< Exception > InnerExceptions
AggregateException Flatten()
AggregateException(string message, IList< ExceptionDispatchInfo > innerExceptionInfos)
AggregateException(IEnumerable< ExceptionDispatchInfo > innerExceptionInfos)
AggregateException(string message, IList< Exception > innerExceptions)
AggregateException(SerializationInfo info, StreamingContext context)
override void GetObjectData(SerializationInfo info, StreamingContext context)
AggregateException(string message, params Exception[] innerExceptions)
AggregateException(IEnumerable< Exception > innerExceptions)
AggregateException(params Exception[] innerExceptions)
ReadOnlyCollection< Exception > m_innerExceptions
static string GetStringAndRelease(StringBuilder sb)
static StringBuilder Acquire(int capacity=16)
StringBuilder Append(char value, int repeatCount)