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
Exception.cs
Go to the documentation of this file.
1using System;
7
8namespace System
9{
10 // Token: 0x02000152 RID: 338
11 [ComVisible(true)]
13 [StructLayout(0)]
14 public class Exception : ISerializable
15 {
16 // Token: 0x06000D64 RID: 3428 RVA: 0x0001D24C File Offset: 0x0001B44C
17 private void Init()
18 {
19 this._HResult = 5376;
20 }
21
22 // Token: 0x06000D65 RID: 3429 RVA: 0x0001D264 File Offset: 0x0001B464
23 public Exception()
24 {
25 this.Init();
26 }
27
28 // Token: 0x06000D66 RID: 3430 RVA: 0x0001D280 File Offset: 0x0001B480
29 public Exception(string message)
30 {
31 this.Init();
32 this._message = message;
33 }
34
35 // Token: 0x06000D67 RID: 3431 RVA: 0x0001D2A0 File Offset: 0x0001B4A0
36 public Exception(string message, Exception innerException)
37 {
38 this.Init();
39 this._message = message;
41 }
42
43 // Token: 0x06000D68 RID: 3432 RVA: 0x0001D2C8 File Offset: 0x0001B4C8
45 {
46 /*
47An exception occurred when decompiling this method (06000D68)
48
49ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void System.Exception::.ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
50
51 ---> System.Exception: Basic block has to end with unconditional control flow.
52{
53 IL_0147:
54 stloc:string(var_17_151, call:string(Environment::GetResourceString, ldstr:string("Insufficient state to return the real object.")))
55}
56
57 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
58 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
59 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
60 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
61 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
62 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
63 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
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 1878
65 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
66 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
67 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
68 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
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 88
70 --- End of inner exception stack trace ---
71 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
72 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
73*/;
74 }
75
76 // Token: 0x1700011F RID: 287
77 // (get) Token: 0x06000D69 RID: 3433 RVA: 0x0001D428 File Offset: 0x0001B628
78 public virtual string Message
79 {
80 get
81 {
82 string message = this._message;
83 if (message != null)
84 {
85 return message;
86 }
87 if (this._className == null)
88 {
89 string className = this.GetClassName();
90 this._className = className;
91 }
92 string className2 = this._className;
93 if (className2 == null || className2 != null)
94 {
95 string text;
96 return text;
97 }
99 }
100 }
101
102 // Token: 0x17000120 RID: 288
103 // (get) Token: 0x06000D6A RID: 3434 RVA: 0x0001D46C File Offset: 0x0001B66C
104 public virtual IDictionary Data
105 {
106 get
107 {
108 /*
109An exception occurred when decompiling this method (06000D6A)
110
111ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IDictionary System.Exception::get_Data()
112
113 ---> System.Exception: Basic block has to end with unconditional control flow.
114{
115 IL_0000:
116 brtrue(IL_0000, ldfld:IDictionary[exp:bool](Exception::_data, ldloc:Exception(this)))
117}
118
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 --- End of inner exception stack trace ---
127 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
128 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
129*/;
130 }
131 }
132
133 // Token: 0x06000D6B RID: 3435 RVA: 0x0001D480 File Offset: 0x0001B680
134 private string GetClassName()
135 {
136 /*
137An exception occurred when decompiling this method (06000D6B)
138
139ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Exception::GetClassName()
140
141 ---> System.Exception: Basic block has to end with unconditional control flow.
142{
143 Block_0:
144 stloc:Type(var_0_0E, call:Type(object::GetType, ldloc:Exception[exp:object](this)))
145 stfld:string(Exception::_className, ldloc:Exception(this), ldloc:Type[exp:string](var_0_0E))
146}
147
148 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
149 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
150 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
151 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
152 --- End of inner exception stack trace ---
153 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
154 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
155*/;
156 }
157
158 // Token: 0x17000121 RID: 289
159 // (get) Token: 0x06000D6C RID: 3436 RVA: 0x0001D4A4 File Offset: 0x0001B6A4
161 {
162 get
163 {
164 return this._innerException;
165 }
166 }
167
168 // Token: 0x17000122 RID: 290
169 // (get) Token: 0x06000D6D RID: 3437 RVA: 0x0001D4B8 File Offset: 0x0001B6B8
170 public virtual string StackTrace
171 {
172 get
173 {
174 return this.GetStackTrace(true);
175 }
176 }
177
178 // Token: 0x06000D6E RID: 3438 RVA: 0x0001D4CC File Offset: 0x0001B6CC
179 private string GetStackTrace(bool needFileInfo)
180 {
183 if (stackTraceString != null)
184 {
186 }
187 if (stackTraceString != null)
188 {
189 string text;
191 }
193 }
194
195 // Token: 0x06000D6F RID: 3439 RVA: 0x0001D4F8 File Offset: 0x0001B6F8
196 internal void SetErrorCode(int hr)
197 {
199 }
200
201 // Token: 0x17000123 RID: 291
202 // (get) Token: 0x06000D70 RID: 3440 RVA: 0x0001D50C File Offset: 0x0001B70C
203 public virtual string Source
204 {
205 get
206 {
207 while (this._source == null)
208 {
209 }
210 return this._source;
211 }
212 }
213
214 // Token: 0x06000D71 RID: 3441 RVA: 0x0001D528 File Offset: 0x0001B728
215 public override string ToString()
216 {
217 return this.ToString(true, true);
218 }
219
220 // Token: 0x06000D72 RID: 3442 RVA: 0x0001D540 File Offset: 0x0001B740
221 private string ToString(bool needFileLineInfo, bool needMessage)
222 {
223 if (this != null)
224 {
225 string className = this._className;
226 string className2 = this.GetClassName();
227 string text;
228 return text;
229 }
230 string className3 = this.GetClassName();
231 long num;
232 if (this._innerException != null)
233 {
234 if ((className3 == null || className3 != null) && (" ---> " == null || " ---> " != null))
235 {
237 string text2;
238 if (text2 == null || text2 != null)
239 {
240 string newLine = Environment.NewLine;
241 if ((newLine == null || newLine != null) && (" " == null || " " != null))
242 {
243 string resourceString = Environment.GetResourceString("--- End of inner exception stack trace ---");
244 if (resourceString == null || resourceString != null)
245 {
246 num = 0L;
247 goto IL_0083;
248 }
249 }
250 }
251 }
252 throw new ArrayTypeMismatchException();
253 }
254 IL_0083:
255 string stackTrace = this.GetStackTrace(num != 0L);
256 string text3;
257 if (stackTrace != null)
258 {
260 return text3 + newLine2 + stackTrace;
261 }
262 return text3;
263 }
264
265 // Token: 0x06000D73 RID: 3443 RVA: 0x0001D5FC File Offset: 0x0001B7FC
267 {
268 while (info == null)
269 {
270 }
271 string stackTrace;
272 if (this._stackTraceString == null && this._stackTrace != null)
273 {
274 stackTrace = Environment.GetStackTrace(this, true);
275 }
276 if (this._source == null)
277 {
278 this._source = this;
279 }
280 string className = this.GetClassName();
281 Type type;
282 info.AddValue("ClassName", className, type);
283 string message = this._message;
284 Type type2;
285 info.AddValue("Message", message, type2);
286 IDictionary data = this._data;
288 Type type3;
289 info.AddValue("InnerException", innerException, type3);
290 string helpURL = this._helpURL;
291 Type type4;
292 info.AddValue("HelpURL", helpURL, type4);
293 Type type5;
294 info.AddValue("StackTraceString", stackTrace, type5);
296 Type type6;
297 info.AddValue("RemoteStackTraceString", remoteStackTraceString, type6);
299 long num = 0L;
300 info.AddValue("ExceptionMethod", num);
301 int hresult = this._HResult;
302 info.AddValue("HResult", hresult);
303 string source = this._source;
304 Type type7;
305 info.AddValue("Source", source, type7);
307 if (safeSerializationManager != null)
308 {
311 Type type8;
312 info.AddValue("SafeSerializationManager", safeSerializationManager2, type8);
314 }
315 }
316
317 // Token: 0x06000D74 RID: 3444 RVA: 0x0001D730 File Offset: 0x0001B930
319 private void OnDeserialized(StreamingContext context)
320 {
322 if (safeSerializationManager != null)
323 {
325 return;
326 }
327 }
328
329 // Token: 0x06000D75 RID: 3445 RVA: 0x0001D750 File Offset: 0x0001B950
330 private string StripFileInfo(string stackTrace, bool isRemoteStackTrace)
331 {
332 return stackTrace;
333 }
334
335 // Token: 0x06000D76 RID: 3446 RVA: 0x0001D760 File Offset: 0x0001B960
337 {
338 object stackTrace = exceptionDispatchInfo.m_stackTrace;
339 if (stackTrace != null)
340 {
341 if (stackTrace != null)
342 {
343 this.captured_traces = stackTrace;
344 if (stackTrace != null)
345 {
346 return;
347 }
348 }
349 throw new InvalidCastException();
350 }
351 }
352
353 // Token: 0x17000124 RID: 292
354 // (get) Token: 0x06000D77 RID: 3447 RVA: 0x0001D78C File Offset: 0x0001B98C
355 // (set) Token: 0x06000D78 RID: 3448 RVA: 0x0001D7A0 File Offset: 0x0001B9A0
356 public int HResult
357 {
358 get
359 {
360 return this._HResult;
361 }
362 protected set
363 {
365 }
366 }
367
368 // Token: 0x06000D79 RID: 3449 RVA: 0x0001D7B4 File Offset: 0x0001B9B4
369 public new Type GetType()
370 {
371 return base.GetType();
372 }
373
374 // Token: 0x06000D7A RID: 3450 RVA: 0x0001D7C8 File Offset: 0x0001B9C8
376 {
377 return "";
378 }
379
380 // Token: 0x06000D7B RID: 3451 RVA: 0x0001D7E4 File Offset: 0x0001B9E4
382 {
384 string newLine = Environment.NewLine;
387 string text;
390 return this;
391 }
392
393 // Token: 0x06000D7C RID: 3452 RVA: 0x0001D820 File Offset: 0x0001BA20
395 {
396 }
397
398 // Token: 0x06000D7D RID: 3453 RVA: 0x0001D830 File Offset: 0x0001BA30
399 // Note: this type is marked as 'beforefieldinit'.
400 static Exception()
401 {
402 }
403
404 // Token: 0x0400051F RID: 1311
406 private static object s_EDILock;
407
408 // Token: 0x04000520 RID: 1312
409 private string _className;
410
411 // Token: 0x04000521 RID: 1313
412 internal string _message;
413
414 // Token: 0x04000522 RID: 1314
416
417 // Token: 0x04000523 RID: 1315
419
420 // Token: 0x04000524 RID: 1316
421 private string _helpURL;
422
423 // Token: 0x04000525 RID: 1317
424 private object _stackTrace;
425
426 // Token: 0x04000526 RID: 1318
427 private string _stackTraceString;
428
429 // Token: 0x04000527 RID: 1319
431
432 // Token: 0x04000528 RID: 1320
433 private int _remoteStackIndex;
434
435 // Token: 0x04000529 RID: 1321
436 private object _dynamicMethods;
437
438 // Token: 0x0400052A RID: 1322
439 internal int _HResult;
440
441 // Token: 0x0400052B RID: 1323
442 private string _source;
443
444 // Token: 0x0400052C RID: 1324
445 [OptionalField(VersionAdded = 4)]
447
448 // Token: 0x0400052D RID: 1325
450
451 // Token: 0x0400052E RID: 1326
453
454 // Token: 0x0400052F RID: 1327
456
457 // Token: 0x04000530 RID: 1328
458 private const int _COMPlusExceptionCode = -532462766;
459
460 // Token: 0x02000153 RID: 339
462 {
463 // Token: 0x04000532 RID: 1330
464 ThreadAbort = 1,
465 // Token: 0x04000533 RID: 1331
467 // Token: 0x04000534 RID: 1332
469 }
470 }
471}
class f__AnonymousType0<< Count > j__TPar
static string NewLine
static string GetResourceString(string key)
static string GetStackTrace(Exception e, bool needFileInfo)
static string GetMessageFromNativeResources(Exception.ExceptionMessageKind kind)
Definition Exception.cs:375
string GetStackTrace(bool needFileInfo)
Definition Exception.cs:179
string StripFileInfo(string stackTrace, bool isRemoteStackTrace)
Definition Exception.cs:330
Exception InnerException
Definition Exception.cs:161
override string ToString()
Definition Exception.cs:215
IDictionary _data
Definition Exception.cs:415
Exception(SerializationInfo info, StreamingContext context)
Definition Exception.cs:44
Exception _innerException
Definition Exception.cs:418
virtual void GetObjectData(SerializationInfo info, StreamingContext context)
Definition Exception.cs:266
static object s_EDILock
Definition Exception.cs:406
void RestoreExceptionDispatchInfo(ExceptionDispatchInfo exceptionDispatchInfo)
Definition Exception.cs:336
static Exception()
Definition Exception.cs:400
object _dynamicMethods
Definition Exception.cs:436
void SetErrorCode(int hr)
Definition Exception.cs:196
Exception FixRemotingException()
Definition Exception.cs:381
static void ReportUnhandledException(Exception exception)
Definition Exception.cs:394
string _stackTraceString
Definition Exception.cs:427
Exception(string message, Exception innerException)
Definition Exception.cs:36
virtual IDictionary Data
Definition Exception.cs:105
SafeSerializationManager _safeSerializationManager
Definition Exception.cs:446
virtual string Message
Definition Exception.cs:79
IntPtr[] native_trace_ips
Definition Exception.cs:452
StackTrace[] captured_traces
Definition Exception.cs:449
const int _COMPlusExceptionCode
Definition Exception.cs:458
void OnDeserialized(StreamingContext context)
Definition Exception.cs:319
string ToString(bool needFileLineInfo, bool needMessage)
Definition Exception.cs:221
virtual string Source
Definition Exception.cs:204
new Type GetType()
Definition Exception.cs:369
string GetClassName()
Definition Exception.cs:134
string _remoteStackTraceString
Definition Exception.cs:430
Exception(string message)
Definition Exception.cs:29
void AddValue(string name, object value, Type type)
new Type GetType()
Definition Type.cs:287