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
NamespaceResolver.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Xml.Linq
4{
5 // Token: 0x02000012 RID: 18
6 internal struct NamespaceResolver
7 {
8 // Token: 0x06000086 RID: 134 RVA: 0x00003560 File Offset: 0x00001760
9 public void PushScope()
10 {
11 }
12
13 // Token: 0x06000087 RID: 135 RVA: 0x00003570 File Offset: 0x00001770
14 public void PopScope()
15 {
17 if (declaration != null)
18 {
20 int scope = prev.scope;
23 return;
24 }
25 }
26
27 // Token: 0x06000088 RID: 136 RVA: 0x000035B0 File Offset: 0x000017B0
28 public void Add(string prefix, XNamespace ns)
29 {
31 if (declaration != null)
32 {
34 return;
35 }
36 }
37
38 // Token: 0x06000089 RID: 137 RVA: 0x000035D0 File Offset: 0x000017D0
39 public void AddFirst(string prefix, XNamespace ns)
40 {
42 if (declaration != null)
43 {
45 return;
46 }
47 }
48
49 // Token: 0x0600008A RID: 138 RVA: 0x000035F0 File Offset: 0x000017F0
51 {
53 if (rover != null)
54 {
55 XNamespace ns2 = rover.ns;
56 }
59 if (declaration != null)
60 {
61 prev = declaration.prev;
62 XNamespace ns3 = prev.ns;
63 string prefix = declaration.prev.prefix;
64 string prefix2 = prev.prefix;
65 bool flag = prefix != prefix2;
66 int stringLength = prev.prefix._stringLength;
68 }
69 this._rover = prev;
70 return prev.prefix;
71 }
72
73 // Token: 0x04000026 RID: 38
74 private int _scope;
75
76 // Token: 0x04000027 RID: 39
78
79 // Token: 0x04000028 RID: 40
81
82 // Token: 0x02000013 RID: 19
84 {
85 // Token: 0x0600008B RID: 139 RVA: 0x0000366C File Offset: 0x0000186C
87 {
88 }
89
90 // Token: 0x04000029 RID: 41
91 public string prefix;
92
93 // Token: 0x0400002A RID: 42
94 public XNamespace ns;
95
96 // Token: 0x0400002B RID: 43
97 public int scope;
98
99 // Token: 0x0400002C RID: 44
101 }
102 }
103}
class f__AnonymousType0<< Count > j__TPar
string GetPrefixOfNamespace(XNamespace ns, bool allowDefaultNamespace)
NamespaceResolver.NamespaceDeclaration _rover
NamespaceResolver.NamespaceDeclaration _declaration
void AddFirst(string prefix, XNamespace ns)
void Add(string prefix, XNamespace ns)