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
ParticleContentValidator.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Xml.Schema
6{
7 // Token: 0x020000D4 RID: 212
9 {
10 // Token: 0x06000854 RID: 2132 RVA: 0x0001A5A8 File Offset: 0x000187A8
14
15 // Token: 0x06000855 RID: 2133 RVA: 0x0001A5B8 File Offset: 0x000187B8
17 {
18 if (!true)
19 {
20 }
21 base..ctor();
23 this.isEmptiable = true;
24 }
25
26 // Token: 0x06000856 RID: 2134 RVA: 0x0001A5DC File Offset: 0x000187DC
27 public void Start()
28 {
29 }
30
31 // Token: 0x06000857 RID: 2135 RVA: 0x0001A5EC File Offset: 0x000187EC
32 public void OpenGroup()
33 {
34 Stack stack = this.stack;
35 }
36
37 // Token: 0x06000858 RID: 2136 RVA: 0x0001A600 File Offset: 0x00018800
38 public void CloseGroup()
39 {
40 Stack stack = this.stack;
41 if (stack != null)
42 {
43 if (this.stack != null)
44 {
45 Stack stack2 = this.stack;
46 if (stack2 != null)
47 {
49 return;
50 }
51 long num = 0L;
52 Stack stack3 = this.stack;
53 this.isPartial = num != 0L;
54 return;
55 }
56 else
57 {
60 }
61 }
62 }
63
64 // Token: 0x06000859 RID: 2137 RVA: 0x0001A650 File Offset: 0x00018850
66 {
67 /*
68An exception occurred when decompiling this method (06000859)
69
70ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Xml.Schema.ParticleContentValidator::Exists(System.Xml.XmlQualifiedName)
71
72 ---> System.Exception: Basic block has to end with unconditional control flow.
73{
74 Block_0:
75 stloc:Hashtable(var_0_0B, ldfld:Hashtable(SymbolsDictionary::names, ldfld:SymbolsDictionary(ParticleContentValidator::symbols, ldloc:ParticleContentValidator(this))))
76}
77
78 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
79 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
80 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
81 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
82 --- End of inner exception stack trace ---
83 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
84 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
85*/;
86 }
87
88 // Token: 0x0600085A RID: 2138 RVA: 0x0001A668 File Offset: 0x00018868
89 public void AddName(XmlQualifiedName name, object particle)
90 {
93 int num = symbolsDictionary.AddName(name, particle);
94 int num2 = positions.Add(num, particle);
95 }
96
97 // Token: 0x0600085B RID: 2139 RVA: 0x0001A698 File Offset: 0x00018898
98 public void AddNamespaceList(NamespaceList namespaceList, object particle)
99 {
101 long num = 0L;
102 symbolsDictionary.AddNamespaceList(namespaceList, particle, num != 0L);
103 }
104
105 // Token: 0x0600085C RID: 2140 RVA: 0x0001A6B8 File Offset: 0x000188B8
106 private void AddLeafNode(SyntaxTreeNode node)
107 {
108 Stack stack = this.stack;
109 Stack stack2 = this.stack;
110 if (stack2 != null)
111 {
112 stack2._size = node;
113 }
114 Stack stack3 = this.stack;
115 int num = 1;
116 this.isPartial = num != 0;
117 }
118
119 // Token: 0x0600085D RID: 2141 RVA: 0x0001A6F4 File Offset: 0x000188F4
120 public void AddChoice()
121 {
122 if (this.stack != null)
123 {
124 }
125 Stack stack = this.stack;
126 }
127
128 // Token: 0x0600085E RID: 2142 RVA: 0x0001A718 File Offset: 0x00018918
129 public void AddSequence()
130 {
131 if (this.stack != null)
132 {
133 }
134 Stack stack = this.stack;
135 }
136
137 // Token: 0x0600085F RID: 2143 RVA: 0x0001A73C File Offset: 0x0001893C
138 public void AddStar()
139 {
140 }
141
142 // Token: 0x06000860 RID: 2144 RVA: 0x0001A74C File Offset: 0x0001894C
143 public void AddPlus()
144 {
145 }
146
147 // Token: 0x06000861 RID: 2145 RVA: 0x0001A75C File Offset: 0x0001895C
148 public void AddQMark()
149 {
150 }
151
152 // Token: 0x06000862 RID: 2146 RVA: 0x0001A76C File Offset: 0x0001896C
153 private void Closure(InteriorNode node)
154 {
155 Stack stack = this.stack;
156 Stack stack2 = this.stack;
157 if (stack2 != null)
158 {
159 }
161 Stack stack3 = this.stack;
162 }
163
164 // Token: 0x06000863 RID: 2147 RVA: 0x0001A7D0 File Offset: 0x000189D0
166 {
167 if (this.contentNode != null)
168 {
172 if (syntaxTreeNode == null)
173 {
174 }
175 long num = 0L;
176 int num3;
177 int num2 = positions.Add(num3, num);
181 ArrayList arrayList = this.positions.positions;
182 int num4 = this.minMaxNodesCount;
183 if (this.enableUpaCheck)
184 {
186 this.CheckCMUPAWithLeafRangeNodes(bitSet);
187 }
191 int num5 = this.minMaxNodesCount;
192 }
193 int[][] array;
194 if (array != null)
195 {
196 }
197 throw new ArrayTypeMismatchException();
198 }
199
200 // Token: 0x06000864 RID: 2148 RVA: 0x0001A874 File Offset: 0x00018A74
202 {
204 int num = this.minMaxNodesCount;
205 Position position = this.positions[num];
206 if (num != 0)
207 {
208 }
209 int num2;
211 throw new ArrayTypeMismatchException();
212 }
213
214 // Token: 0x06000865 RID: 2149 RVA: 0x0001A8C0 File Offset: 0x00018AC0
216 {
217 int last = this.symbols.last;
218 int num;
219 Position position = this.positions[num];
220 if (last == 0 && (num == 0 || num != 0))
221 {
222 int num2 = curpos.NextSet(num);
223 return;
224 }
225 throw new ArrayTypeMismatchException();
226 }
227
228 // Token: 0x06000866 RID: 2150 RVA: 0x0001A900 File Offset: 0x00018B00
238
239 // Token: 0x06000867 RID: 2151 RVA: 0x0001A938 File Offset: 0x00018B38
240 private void CheckUniqueParticleAttribution(BitSet firstpos, BitSet[] followpos)
241 {
242 this.CheckUniqueParticleAttribution(firstpos);
244 this.CheckUniqueParticleAttribution(firstpos);
246 }
247
248 // Token: 0x06000868 RID: 2152 RVA: 0x0001A968 File Offset: 0x00018B68
250 {
251 int last = this.symbols.last;
252 int num;
253 Position position = this.positions[num];
254 Position position2 = this.positions[num];
255 }
256
257 // Token: 0x06000869 RID: 2153 RVA: 0x0001A9B8 File Offset: 0x00018BB8
258 private int[][] BuildTransitionTable(BitSet firstpos, BitSet[] followpos, int endMarkerPos)
259 {
261 int last = this.symbols.last;
262 int num;
263 Position position = this.positions[num];
264 return 42175368;
265 }
266
267 // Token: 0x04000437 RID: 1079
269
270 // Token: 0x04000438 RID: 1080
272
273 // Token: 0x04000439 RID: 1081
274 private Stack stack;
275
276 // Token: 0x0400043A RID: 1082
278
279 // Token: 0x0400043B RID: 1083
280 private bool isPartial;
281
282 // Token: 0x0400043C RID: 1084
283 private int minMaxNodesCount;
284
285 // Token: 0x0400043D RID: 1085
286 private bool enableUpaCheck;
287 }
288}
class f__AnonymousType0<< Count > j__TPar
bool Intersects(BitSet other)
Definition BitSet.cs:166
void AddName(XmlQualifiedName name, object particle)
BitSet[] CalculateTotalFollowposForRangeNodes(BitSet firstpos, BitSet[] followpos, [Out] BitSet posWithRangeTerminals)
void CheckUniqueParticleAttribution(BitSet firstpos, BitSet[] followpos)
int[][] BuildTransitionTable(BitSet firstpos, BitSet[] followpos, int endMarkerPos)
BitSet GetApplicableMinMaxFollowPos(BitSet curpos, BitSet posWithRangeTerminals, BitSet[] minmaxFollowPos)
ParticleContentValidator(XmlSchemaContentType contentType)
ParticleContentValidator(XmlSchemaContentType contentType, bool enableUpaCheck)
void AddNamespaceList(NamespaceList namespaceList, object particle)
int Add(int symbol, object particle)
Definition Positions.cs:10
void AddNamespaceList(NamespaceList list, object particle, bool allowLocal)