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
XmlName.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Xml
7{
8 // Token: 0x02000074 RID: 116
9 internal class XmlName : IXmlSchemaInfo
10 {
11 // Token: 0x0600058F RID: 1423 RVA: 0x00013A10 File Offset: 0x00011C10
12 public static XmlName Create(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next, IXmlSchemaInfo schemaInfo)
13 {
14 /*
15An exception occurred when decompiling this method (0600058F)
16
17ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Xml.XmlName System.Xml.XmlName::Create(System.String,System.String,System.String,System.Int32,System.Xml.XmlDocument,System.Xml.XmlName,System.Xml.Schema.IXmlSchemaInfo)
18
19 ---> System.Exception: Basic block has to end with unconditional control flow.
20{
21 IL_0000:
22 brtrue(IL_0000, logicnot:bool(ldloc:XmlName[exp:bool](next)))
23}
24
25 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
26 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
27 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
28 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
29 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
30 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
31 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
32 --- End of inner exception stack trace ---
33 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
34 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
35*/;
36 }
37
38 // Token: 0x06000590 RID: 1424 RVA: 0x00013A20 File Offset: 0x00011C20
48
49 // Token: 0x1700015D RID: 349
50 // (get) Token: 0x06000591 RID: 1425 RVA: 0x00013A60 File Offset: 0x00011C60
51 public string LocalName
52 {
53 get
54 {
55 return this.localName;
56 }
57 }
58
59 // Token: 0x1700015E RID: 350
60 // (get) Token: 0x06000592 RID: 1426 RVA: 0x00013A74 File Offset: 0x00011C74
61 public string NamespaceURI
62 {
63 get
64 {
65 return this.ns;
66 }
67 }
68
69 // Token: 0x1700015F RID: 351
70 // (get) Token: 0x06000593 RID: 1427 RVA: 0x00013A88 File Offset: 0x00011C88
71 public string Prefix
72 {
73 get
74 {
75 return this.prefix;
76 }
77 }
78
79 // Token: 0x17000160 RID: 352
80 // (get) Token: 0x06000594 RID: 1428 RVA: 0x00013A9C File Offset: 0x00011C9C
81 public int HashCode
82 {
83 get
84 {
85 return this.hashCode;
86 }
87 }
88
89 // Token: 0x17000161 RID: 353
90 // (get) Token: 0x06000595 RID: 1429 RVA: 0x00013AB0 File Offset: 0x00011CB0
92 {
93 get
94 {
95 return this.ownerDoc;
96 }
97 }
98
99 // Token: 0x17000162 RID: 354
100 // (get) Token: 0x06000596 RID: 1430 RVA: 0x00013AC4 File Offset: 0x00011CC4
101 public string Name
102 {
103 get
104 {
105 string text5;
106 if (this.name == null)
107 {
108 string text = this.prefix;
109 string text2 = this.localName;
110 int stringLength = text._stringLength;
111 int stringLength2 = text2._stringLength;
112 string text3 = text + ":" + text2;
114 long num = 0L;
115 XmlNameTable nameTable = xmlDocument.NameTable;
116 Monitor.Enter(nameTable, num != 0L);
117 if (this.name != null)
118 {
119 }
121 long num2 = 0L;
123 Monitor.Exit(nameTable);
124 if (num2 != 0L)
125 {
126 throw new OutOfMemoryException();
127 }
128 if (2 != 0)
129 {
130 string text4 = this.name;
131 }
132 text5 = this.prefix;
134 }
135 return text5;
136 }
137 }
138
139 // Token: 0x17000163 RID: 355
140 // (get) Token: 0x06000597 RID: 1431 RVA: 0x00013B90 File Offset: 0x00011D90
142 {
143 get
144 {
145 }
146 }
147
148 // Token: 0x17000164 RID: 356
149 // (get) Token: 0x06000598 RID: 1432 RVA: 0x00013BA0 File Offset: 0x00011DA0
150 public virtual bool IsDefault
151 {
152 get
153 {
154 }
155 }
156
157 // Token: 0x17000165 RID: 357
158 // (get) Token: 0x06000599 RID: 1433 RVA: 0x00013BB0 File Offset: 0x00011DB0
159 public virtual bool IsNil
160 {
161 get
162 {
163 }
164 }
165
166 // Token: 0x17000166 RID: 358
167 // (get) Token: 0x0600059A RID: 1434 RVA: 0x00013BC0 File Offset: 0x00011DC0
169 {
170 get
171 {
172 }
173 }
174
175 // Token: 0x17000167 RID: 359
176 // (get) Token: 0x0600059B RID: 1435 RVA: 0x00013BD0 File Offset: 0x00011DD0
178 {
179 get
180 {
181 }
182 }
183
184 // Token: 0x17000168 RID: 360
185 // (get) Token: 0x0600059C RID: 1436 RVA: 0x00013BE0 File Offset: 0x00011DE0
187 {
188 get
189 {
190 }
191 }
192
193 // Token: 0x17000169 RID: 361
194 // (get) Token: 0x0600059D RID: 1437 RVA: 0x00013BF0 File Offset: 0x00011DF0
196 {
197 get
198 {
199 }
200 }
201
202 // Token: 0x0600059E RID: 1438 RVA: 0x00003FFD File Offset: 0x000021FD
203 public virtual bool Equals(IXmlSchemaInfo schemaInfo)
204 {
205 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
206 }
207
208 // Token: 0x0600059F RID: 1439 RVA: 0x00003FFD File Offset: 0x000021FD
209 public static int GetHashCode(string name)
210 {
211 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
212 }
213
214 // Token: 0x040002E2 RID: 738
215 private string prefix;
216
217 // Token: 0x040002E3 RID: 739
218 private string localName;
219
220 // Token: 0x040002E4 RID: 740
221 private string ns;
222
223 // Token: 0x040002E5 RID: 741
224 private string name;
225
226 // Token: 0x040002E6 RID: 742
227 private int hashCode;
228
229 // Token: 0x040002E7 RID: 743
231
232 // Token: 0x040002E8 RID: 744
233 internal XmlName next;
234 }
235}
class f__AnonymousType0<< Count > j__TPar
static void Exit(object obj)
Definition Monitor.cs:47
static void Enter(object obj)
Definition Monitor.cs:11
XmlName(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next)
Definition XmlName.cs:39
virtual XmlSchemaSimpleType MemberType
Definition XmlName.cs:169
virtual bool Equals(IXmlSchemaInfo schemaInfo)
Definition XmlName.cs:203
static XmlName Create(string prefix, string localName, string ns, int hashCode, XmlDocument ownerDoc, XmlName next, IXmlSchemaInfo schemaInfo)
Definition XmlName.cs:12
virtual XmlSchemaAttribute SchemaAttribute
Definition XmlName.cs:196
static int GetHashCode(string name)
Definition XmlName.cs:209
virtual XmlSchemaElement SchemaElement
Definition XmlName.cs:187
string NamespaceURI
Definition XmlName.cs:62
virtual bool IsDefault
Definition XmlName.cs:151
XmlDocument OwnerDocument
Definition XmlName.cs:92
XmlDocument ownerDoc
Definition XmlName.cs:230
virtual bool IsNil
Definition XmlName.cs:160
virtual XmlSchemaValidity Validity
Definition XmlName.cs:142