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
XDocument.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml.Linq
5{
6 // Token: 0x02000009 RID: 9
7 public class XDocument : XContainer
8 {
9 // Token: 0x0600003F RID: 63 RVA: 0x00002AA8 File Offset: 0x00000CA8
10 public XDocument()
11 {
12 }
13
14 // Token: 0x06000040 RID: 64 RVA: 0x00002ABC File Offset: 0x00000CBC
16 : base(other)
17 {
18 if (other._declaration != null)
19 {
20 }
21 }
22
23 // Token: 0x1700000E RID: 14
24 // (get) Token: 0x06000041 RID: 65 RVA: 0x00002AD8 File Offset: 0x00000CD8
25 // (set) Token: 0x06000042 RID: 66 RVA: 0x00002AEC File Offset: 0x00000CEC
27 {
28 get
29 {
30 return this._declaration;
31 }
32 set
33 {
35 }
36 }
37
38 // Token: 0x1700000F RID: 15
39 // (get) Token: 0x06000043 RID: 67 RVA: 0x00002B00 File Offset: 0x00000D00
40 public override XmlNodeType NodeType
41 {
42 get
43 {
44 return XmlNodeType.Document;
45 }
46 }
47
48 // Token: 0x17000010 RID: 16
49 // (get) Token: 0x06000044 RID: 68 RVA: 0x00002B10 File Offset: 0x00000D10
51 {
52 get
53 {
54 return this.GetFirstNode<XElement>();
55 }
56 }
57
58 // Token: 0x06000045 RID: 69 RVA: 0x00002B24 File Offset: 0x00000D24
59 public override void WriteTo(XmlWriter writer)
60 {
61 while (writer == null)
62 {
63 }
65 if (declaration != null)
66 {
67 bool flag = declaration._standalone == "yes";
68 return;
69 }
70 base.WriteContentTo(writer);
71 }
72
73 // Token: 0x06000046 RID: 70 RVA: 0x00002367 File Offset: 0x00000567
74 internal override void AddAttribute(XAttribute a)
75 {
76 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
77 }
78
79 // Token: 0x06000047 RID: 71 RVA: 0x00002367 File Offset: 0x00000567
80 internal override void AddAttributeSkipNotify(XAttribute a)
81 {
82 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
83 }
84
85 // Token: 0x06000048 RID: 72 RVA: 0x00002367 File Offset: 0x00000567
86 internal override XNode CloneNode()
87 {
88 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
89 }
90
91 // Token: 0x06000049 RID: 73 RVA: 0x00002B74 File Offset: 0x00000D74
92 private T GetFirstNode<T>() where T : XNode
93 {
94 object content;
95 do
96 {
97 content = this.content;
98 if (content == null)
99 {
100 return;
101 }
102 object content2 = this.content;
103 while (content == null)
104 {
105 }
106 }
107 while (content != null);
108 throw new InvalidCastException();
109 }
110
111 // Token: 0x0600004A RID: 74 RVA: 0x00002BA0 File Offset: 0x00000DA0
112 internal static bool IsWhitespace(string s)
113 {
114 }
115
116 // Token: 0x0600004B RID: 75 RVA: 0x00002BB0 File Offset: 0x00000DB0
117 internal override void ValidateNode(XNode node, XNode previous)
118 {
119 }
120
121 // Token: 0x0600004C RID: 76 RVA: 0x00002BC8 File Offset: 0x00000DC8
123 {
124 if (this.content != null)
125 {
126 object content = this.content;
127 }
128 }
129
130 // Token: 0x0600004D RID: 77 RVA: 0x00002BE4 File Offset: 0x00000DE4
131 internal override void ValidateString(string s)
132 {
133 bool flag = XDocument.IsWhitespace(s);
134 }
135
136 // Token: 0x0400000E RID: 14
138 }
139}
class f__AnonymousType0<< Count > j__TPar
override void AddAttributeSkipNotify(XAttribute a)
Definition XDocument.cs:80
void ValidateDocument(XNode previous, XmlNodeType allowBefore, XmlNodeType allowAfter)
Definition XDocument.cs:122
override XNode CloneNode()
Definition XDocument.cs:86
XDeclaration Declaration
Definition XDocument.cs:27
override void ValidateString(string s)
Definition XDocument.cs:131
override void AddAttribute(XAttribute a)
Definition XDocument.cs:74
override void ValidateNode(XNode node, XNode previous)
Definition XDocument.cs:117
override XmlNodeType NodeType
Definition XDocument.cs:41
static bool IsWhitespace(string s)
Definition XDocument.cs:112
override void WriteTo(XmlWriter writer)
Definition XDocument.cs:59
XDeclaration _declaration
Definition XDocument.cs:137
XDocument(XDocument other)
Definition XDocument.cs:15