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
SymbolsDictionary.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Xml.Schema
6{
7 // Token: 0x020000C5 RID: 197
8 [DefaultMember("Item")]
9 internal class SymbolsDictionary
10 {
11 // Token: 0x06000812 RID: 2066 RVA: 0x00019E18 File Offset: 0x00018018
13 {
14 }
15
16 // Token: 0x170001F3 RID: 499
17 // (get) Token: 0x06000813 RID: 2067 RVA: 0x00019E34 File Offset: 0x00018034
18 public int Count
19 {
20 get
21 {
22 /*
23An exception occurred when decompiling this method (06000813)
24
25ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Xml.Schema.SymbolsDictionary::get_Count()
26
27 ---> System.Exception: Basic block has to end with unconditional control flow.
28{
29 Block_0:
30 stloc:int32(var_0_06, ldfld:int32(SymbolsDictionary::last, ldloc:SymbolsDictionary(this)))
31}
32
33 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
34 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
35 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
36 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
37 --- End of inner exception stack trace ---
38 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
39 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
40*/;
41 }
42 }
43
44 // Token: 0x170001F4 RID: 500
45 // (get) Token: 0x06000814 RID: 2068 RVA: 0x00019E48 File Offset: 0x00018048
46 // (set) Token: 0x06000815 RID: 2069 RVA: 0x00019E5C File Offset: 0x0001805C
47 public bool IsUpaEnforced
48 {
49 get
50 {
51 return this.isUpaEnforced;
52 }
53 set
54 {
55 }
56 }
57
58 // Token: 0x06000816 RID: 2070 RVA: 0x00019E6C File Offset: 0x0001806C
59 public int AddName(XmlQualifiedName name, object particle)
60 {
61 if (this.names != null)
62 {
64 }
65 int num = this.last;
68 return this.last;
69 }
70
71 // Token: 0x06000817 RID: 2071 RVA: 0x00019EAC File Offset: 0x000180AC
72 public void AddNamespaceList(NamespaceList list, object particle, bool allowLocal)
73 {
74 if (list.type == NamespaceList.ListType.Any)
75 {
76 this.particleLast = particle;
77 return;
78 }
79 }
80
81 // Token: 0x06000818 RID: 2072 RVA: 0x00019F1C File Offset: 0x0001811C
82 private void AddWildcard(string wildcard, object particle)
83 {
84 if (this.wildcards == null)
85 {
86 }
87 if (particle != null)
88 {
90 return;
91 }
92 }
93
94 // Token: 0x06000819 RID: 2073 RVA: 0x00019F60 File Offset: 0x00018160
96 {
98 if (hashtable != null)
99 {
100 }
102 long num = 0L;
103 if (hashtable != null)
104 {
105 }
106 if (num == 0L)
107 {
109 if (hashtable3 != null)
110 {
111 if (hashtable3 != null)
112 {
113 }
115 long num2 = 0L;
116 int num3 = 5;
117 if (hashtable3 != null)
118 {
119 }
120 if (num2 != 0L)
121 {
122 goto IL_0061;
123 }
124 if (num3 != 0)
125 {
126 goto IL_0055;
127 }
128 }
129 NamespaceList.ListType type = list.type;
130 int num4 = this.last;
131 IL_0055:
132 throw new InvalidCastException();
133 }
134 IL_0061:
135 throw new OutOfMemoryException();
136 }
137
138 // Token: 0x0600081A RID: 2074 RVA: 0x00019FF8 File Offset: 0x000181F8
140 {
141 /*
142An exception occurred when decompiling this method (0600081A)
143
144ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Xml.Schema.SymbolsDictionary::Exists(System.Xml.XmlQualifiedName)
145
146 ---> System.Exception: Basic block has to end with unconditional control flow.
147{
148 Block_0:
149 stloc:Hashtable(var_0_06, ldfld:Hashtable(SymbolsDictionary::names, ldloc:SymbolsDictionary(this)))
150}
151
152 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
153 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
154 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
155 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
156 --- End of inner exception stack trace ---
157 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
158 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
159*/;
160 }
161
162 // Token: 0x0600081B RID: 2075 RVA: 0x0001A00C File Offset: 0x0001820C
163 public object GetParticle(int symbol)
164 {
165 int num = this.last;
166 return this.particleLast;
167 }
168
169 // Token: 0x0400041A RID: 1050
170 private int last;
171
172 // Token: 0x0400041B RID: 1051
174
175 // Token: 0x0400041C RID: 1052
177
178 // Token: 0x0400041D RID: 1053
180
181 // Token: 0x0400041E RID: 1054
182 private object particleLast;
183
184 // Token: 0x0400041F RID: 1055
185 private bool isUpaEnforced = true;
186 }
187}
class f__AnonymousType0<< Count > j__TPar
void AddWildcard(string wildcard, object particle)
ICollection GetNamespaceListSymbols(NamespaceList list)
bool Exists(XmlQualifiedName name)
int AddName(XmlQualifiedName name, object particle)
void AddNamespaceList(NamespaceList list, object particle, bool allowLocal)