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
ObjectDisposedException.cs
Go to the documentation of this file.
1using System;
3
4namespace System
5{
6 // Token: 0x020000E8 RID: 232
9 {
10 // Token: 0x060008B8 RID: 2232 RVA: 0x0001557C File Offset: 0x0001377C
12 : base("Cannot access a disposed object.")
13 {
14 this._HResult = 5666;
15 }
16
17 // Token: 0x060008B9 RID: 2233 RVA: 0x000155A0 File Offset: 0x000137A0
18 public ObjectDisposedException(string objectName)
19 : base("Cannot access a disposed object.")
20 {
21 this._HResult = 5666;
22 this._objectName = objectName;
23 }
24
25 // Token: 0x060008BA RID: 2234 RVA: 0x000155CC File Offset: 0x000137CC
26 public ObjectDisposedException(string objectName, string message)
27 : base(message)
28 {
29 this._HResult = 5666;
30 this._objectName = objectName;
31 }
32
33 // Token: 0x060008BB RID: 2235 RVA: 0x000155F4 File Offset: 0x000137F4
35 : base(info, context)
36 {
37 string @string = info.GetString("ObjectName");
38 this._objectName = @string;
39 }
40
41 // Token: 0x060008BC RID: 2236 RVA: 0x0001561C File Offset: 0x0001381C
43 {
44 base.GetObjectData(info, context);
45 if (this._objectName == null)
46 {
47 }
48 }
49
50 // Token: 0x17000097 RID: 151
51 // (get) Token: 0x060008BD RID: 2237 RVA: 0x0001563C File Offset: 0x0001383C
52 public override string Message
53 {
54 get
55 {
56 if (this._objectName == null)
57 {
58 }
59 string message = base.Message;
60 string newLine = Environment.NewLine;
61 string text;
62 return message + newLine + text;
63 }
64 }
65
66 // Token: 0x17000098 RID: 152
67 // (get) Token: 0x060008BE RID: 2238 RVA: 0x0001566C File Offset: 0x0001386C
68 public string ObjectName
69 {
70 get
71 {
72 /*
73An exception occurred when decompiling this method (060008BE)
74
75ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.ObjectDisposedException::get_ObjectName()
76
77 ---> System.Exception: Basic block has to end with unconditional control flow.
78{
79 IL_0000:
80 brtrue(IL_0000, ldfld:string[exp:bool](ObjectDisposedException::_objectName, ldloc:ObjectDisposedException(this)))
81}
82
83 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
84 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
85 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
86 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
87 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
88 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
89 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
90 --- End of inner exception stack trace ---
91 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
92 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
93*/;
94 }
95 }
96
97 // Token: 0x0400037E RID: 894
98 private string _objectName;
99 }
100}
class f__AnonymousType0<< Count > j__TPar
static string NewLine
ObjectDisposedException(SerializationInfo info, StreamingContext context)
override void GetObjectData(SerializationInfo info, StreamingContext context)
ObjectDisposedException(string objectName, string message)