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
HtmlUtf8RawTextWriterIndent.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3
4namespace System.Xml
5{
6 // Token: 0x02000015 RID: 21
8 {
9 // Token: 0x06000065 RID: 101 RVA: 0x000036EC File Offset: 0x000018EC
11 : base(stream, settings)
12 {
13 base.Init(settings);
14 string text = settings.indentChars;
16 bool flag = settings.newLineOnAttributes;
18 }
19
20 // Token: 0x06000066 RID: 102 RVA: 0x00003724 File Offset: 0x00001924
21 public override void WriteDocType(string name, string pubid, string sysid, string subset)
22 {
23 base.WriteDocType(name, pubid, sysid, subset);
24 int bufPos = this.bufPos;
26 }
27
28 // Token: 0x06000067 RID: 103 RVA: 0x0000374C File Offset: 0x0000194C
29 public override void WriteStartElement(string prefix, string localName, string ns)
30 {
33 if (ns._stringLength != 0)
34 {
35 int num = this.endBlockPos;
36 int bufPos = this.bufPos;
37 int num2 = 192;
39 this.WriteIndent();
40 int bufPos2 = this.bufPos;
41 int num3 = this.indentLevel;
42 byte[] bufBytes = this.bufBytes;
44 if (prefix._stringLength != 0)
45 {
46 base.RawText(prefix);
47 byte[] bufBytes2 = this.bufBytes;
48 return;
49 }
50 }
51 else
52 {
53 int bufPos3 = this.bufPos;
54 byte[] bufBytes2;
56 int num4 = this.endBlockPos;
57 this.WriteIndent();
58 int bufPos4 = this.bufPos;
59 int num5 = this.indentLevel;
60 byte[] bufBytes3 = this.bufBytes;
62 }
63 base.RawText(localName);
64 int bufPos5 = this.bufPos;
66 }
67
68 // Token: 0x06000068 RID: 104 RVA: 0x0000382C File Offset: 0x00001A2C
69 internal override void StartElementContent()
70 {
71 byte[] bufBytes = this.bufBytes;
72 int bufPos = this.bufPos;
75 }
76
77 // Token: 0x06000069 RID: 105 RVA: 0x00003864 File Offset: 0x00001A64
78 internal override void WriteEndElement(string prefix, string localName, string ns)
79 {
80 int num = this.indentLevel;
82 this.indentLevel = num;
83 base.WriteEndElement(prefix, localName, ns);
84 }
85
86 // Token: 0x0600006A RID: 106 RVA: 0x000038C8 File Offset: 0x00001AC8
87 public override void WriteStartAttribute(string prefix, string localName, string ns)
88 {
89 if (this.newLineOnAttributes)
90 {
91 string newLineChars = this.newLineChars;
92 base.RawText(newLineChars);
93 int num = this.indentLevel;
94 this.indentLevel = num;
95 this.WriteIndent();
96 int num2 = this.indentLevel;
98 }
99 base.WriteStartAttribute(prefix, localName, ns);
100 }
101
102 // Token: 0x0600006B RID: 107 RVA: 0x00003918 File Offset: 0x00001B18
103 protected override void FlushBuffer()
104 {
105 int num = this.endBlockPos;
106 int bufPos = this.bufPos;
107 this.endBlockPos = num;
108 base.FlushBuffer();
109 }
110
111 // Token: 0x0600006C RID: 108 RVA: 0x00003940 File Offset: 0x00001B40
112 private void Init(XmlWriterSettings settings)
113 {
114 string text = settings.indentChars;
116 bool flag = settings.newLineOnAttributes;
118 }
119
120 // Token: 0x0600006D RID: 109 RVA: 0x0000396C File Offset: 0x00001B6C
121 private void WriteIndent()
122 {
123 string newLineChars = this.newLineChars;
124 base.RawText(newLineChars);
125 int num = this.indentLevel;
126 string text = this.indentChars;
127 base.RawText(text);
128 }
129
130 // Token: 0x04000046 RID: 70
131 private int indentLevel;
132
133 // Token: 0x04000047 RID: 71
134 private int endBlockPos;
135
136 // Token: 0x04000048 RID: 72
137 private string indentChars;
138
139 // Token: 0x04000049 RID: 73
141 }
142}
class f__AnonymousType0<< Count > j__TPar
HtmlUtf8RawTextWriterIndent(Stream stream, XmlWriterSettings settings)
override void WriteStartElement(string prefix, string localName, string ns)
override void WriteDocType(string name, string pubid, string sysid, string subset)
override void WriteEndElement(string prefix, string localName, string ns)
override void WriteStartAttribute(string prefix, string localName, string ns)