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
XName.cs
Go to the documentation of this file.
1using System;
4
5namespace System.Xml.Linq
6{
7 // Token: 0x02000016 RID: 22
9 public sealed class XName : IEquatable<XName>, ISerializable
10 {
11 // Token: 0x0600008C RID: 140 RVA: 0x00003680 File Offset: 0x00001880
12 internal XName(XNamespace ns, string localName)
13 {
14 this._ns = ns;
15 if (!true)
16 {
17 }
18 string text = XmlConvert.VerifyNCName(localName);
20 }
21
22 // Token: 0x1700001C RID: 28
23 // (get) Token: 0x0600008D RID: 141 RVA: 0x000036AC File Offset: 0x000018AC
24 public string LocalName
25 {
26 get
27 {
28 return this._localName;
29 }
30 }
31
32 // Token: 0x1700001D RID: 29
33 // (get) Token: 0x0600008E RID: 142 RVA: 0x000036C0 File Offset: 0x000018C0
35 {
36 get
37 {
38 return this._ns;
39 }
40 }
41
42 // Token: 0x1700001E RID: 30
43 // (get) Token: 0x0600008F RID: 143 RVA: 0x000036D4 File Offset: 0x000018D4
44 public string NamespaceName
45 {
46 get
47 {
48 return this._ns._namespaceName;
49 }
50 }
51
52 // Token: 0x06000090 RID: 144 RVA: 0x000036EC File Offset: 0x000018EC
53 public override string ToString()
54 {
55 XNamespace ns = this._ns;
56 string localName = this._localName;
57 string namespaceName = ns._namespaceName;
58 if (namespaceName._stringLength != 0)
59 {
60 return "{" + namespaceName + "}" + localName;
61 }
62 return localName;
63 }
64
65 // Token: 0x06000091 RID: 145 RVA: 0x0000372C File Offset: 0x0000192C
66 public static XName Get(string expandedName)
67 {
69 return xname;
70 }
71
72 // Token: 0x06000092 RID: 146 RVA: 0x0000375C File Offset: 0x0000195C
73 public static XName Get(string localName, string namespaceName)
74 {
75 return XNamespace.Get(localName).GetName(localName);
76 }
77
78 // Token: 0x06000093 RID: 147 RVA: 0x00003778 File Offset: 0x00001978
79 [CLSCompliant(false)]
80 public static implicit operator XName(string expandedName)
81 {
83 return xname;
84 }
85
86 // Token: 0x06000094 RID: 148 RVA: 0x00002367 File Offset: 0x00000567
87 public override bool Equals(object obj)
88 {
89 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
90 }
91
92 // Token: 0x06000095 RID: 149 RVA: 0x00003788 File Offset: 0x00001988
93 public override int GetHashCode()
94 {
95 return this._hashCode;
96 }
97
98 // Token: 0x06000096 RID: 150 RVA: 0x00002367 File Offset: 0x00000567
99 public static bool operator ==(XName left, XName right)
100 {
101 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
102 }
103
104 // Token: 0x06000097 RID: 151 RVA: 0x00002367 File Offset: 0x00000567
106 {
107 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
108 }
109
110 // Token: 0x06000098 RID: 152 RVA: 0x00002367 File Offset: 0x00000567
112 {
113 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
114 }
115
116 // Token: 0x06000099 RID: 153 RVA: 0x0000379C File Offset: 0x0000199C
117 internal XName()
118 {
119 throw new NotSupportedException();
120 }
121
122 // Token: 0x04000036 RID: 54
124
125 // Token: 0x04000037 RID: 55
126 private string _localName;
127
128 // Token: 0x04000038 RID: 56
129 private int _hashCode;
130 }
131}
class f__AnonymousType0<< Count > j__TPar
override string ToString()
Definition XName.cs:53
static XName Get(string expandedName)
Definition XName.cs:66
string NamespaceName
Definition XName.cs:45
XNamespace Namespace
Definition XName.cs:35
static bool operator==(XName left, XName right)
Definition XName.cs:99
XName(XNamespace ns, string localName)
Definition XName.cs:12
static XName Get(string localName, string namespaceName)
Definition XName.cs:73
XNamespace _ns
Definition XName.cs:123
override int GetHashCode()
Definition XName.cs:93
override bool Equals(object obj)
Definition XName.cs:87
static XNamespace Get(string namespaceName)
Definition XNamespace.cs:77
XName GetName(string localName)
Definition XNamespace.cs:27
static string VerifyNCName(string name)
bool Equals(T other)
void GetObjectData(SerializationInfo info, StreamingContext context)