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
XNode.cs
Go to the documentation of this file.
1using System;
3using System.Text;
4
5namespace System.Xml.Linq
6{
7 // Token: 0x02000018 RID: 24
8 public abstract class XNode : XObject
9 {
10 // Token: 0x060000AC RID: 172 RVA: 0x00003918 File Offset: 0x00001B18
11 internal XNode()
12 {
13 }
14
15 // Token: 0x060000AD RID: 173 RVA: 0x0000392C File Offset: 0x00001B2C
16 public void Remove()
17 {
19 do
20 {
21 parent = this.parent;
22 }
23 while (parent == null);
24 parent.RemoveNode(this);
25 }
26
27 // Token: 0x060000AE RID: 174 RVA: 0x0000394C File Offset: 0x00001B4C
28 public override string ToString()
29 {
30 SaveOptions saveOptionsFromAnnotations = base.GetSaveOptionsFromAnnotations();
31 return this.GetXmlString(saveOptionsFromAnnotations);
32 }
33
34 // Token: 0x060000AF RID: 175
35 public abstract void WriteTo(XmlWriter writer);
36
37 // Token: 0x060000B0 RID: 176 RVA: 0x00003968 File Offset: 0x00001B68
38 internal virtual void AppendText(StringBuilder sb)
39 {
40 }
41
42 // Token: 0x060000B1 RID: 177
43 internal abstract XNode CloneNode();
44
45 // Token: 0x060000B2 RID: 178 RVA: 0x00003978 File Offset: 0x00001B78
46 private string GetXmlString(SaveOptions o)
47 {
48 if (!true)
49 {
50 }
52 if (this != null)
53 {
54 }
55 long num = 0L;
56 int num2 = 6;
58 if (xmlWriter != null)
59 {
60 }
61 if (num == 0L)
62 {
63 if (num2 == 0)
64 {
65 }
66 if (!false)
67 {
68 }
69 throw new OutOfMemoryException();
70 }
71 throw new OutOfMemoryException();
72 }
73
74 // Token: 0x04000040 RID: 64
75 internal XNode next;
76 }
77}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
override string ToString()
Definition XNode.cs:28
void WriteTo(XmlWriter writer)
string GetXmlString(SaveOptions o)
Definition XNode.cs:46
virtual void AppendText(StringBuilder sb)
Definition XNode.cs:38