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
HtmlEncodedRawTextWriterIndent.cs
Go to the documentation of this file.
1using System;
2using System.IO;
3
4namespace System.Xml
5{
6 // Token: 0x02000012 RID: 18
8 {
9 // Token: 0x06000043 RID: 67 RVA: 0x00002DF4 File Offset: 0x00000FF4
11 : base(writer, settings)
12 {
13 base.Init(settings);
14 string text = settings.indentChars;
16 bool flag = settings.newLineOnAttributes;
18 }
19
20 // Token: 0x06000044 RID: 68 RVA: 0x00002E2C File Offset: 0x0000102C
22 : base(stream, settings)
23 {
24 base.Init(settings);
25 string text = settings.indentChars;
27 bool flag = settings.newLineOnAttributes;
29 }
30
31 // Token: 0x06000045 RID: 69 RVA: 0x00002E64 File Offset: 0x00001064
32 public override void WriteDocType(string name, string pubid, string sysid, string subset)
33 {
34 base.WriteDocType(name, pubid, sysid, subset);
35 int bufPos = this.bufPos;
37 }
38
39 // Token: 0x06000046 RID: 70 RVA: 0x00002E8C File Offset: 0x0000108C
40 public override void WriteStartElement(string prefix, string localName, string ns)
41 {
42 if (this.trackTextContent && this.inTextContent)
43 {
44 long num = 0L;
45 base.ChangeTextContentMark(num != 0L);
46 }
49 if (ns._stringLength != 0)
50 {
51 int bufPos = this.bufPos;
52 int num2 = 192;
53 string newLineChars = this.newLineChars;
55 this.WriteIndent();
56 int bufPos2 = this.bufPos;
57 char[] bufChars = this.bufChars;
58 if (prefix._stringLength != 0)
59 {
60 base.RawText(prefix);
61 int bufPos3 = this.bufPos;
62 int num3 = 58;
63 return;
64 }
65 }
66 else
67 {
68 int bufPos4 = this.bufPos;
69 int num3;
71 string newLineChars2 = this.newLineChars;
72 this.WriteIndent();
73 int bufPos5 = this.bufPos;
74 int num4 = this.indentLevel;
76 }
77 base.RawText(localName);
78 int bufPos6 = this.bufPos;
80 }
81
82 // Token: 0x06000047 RID: 71 RVA: 0x00002F70 File Offset: 0x00001170
83 internal override void StartElementContent()
84 {
85 char[] bufChars = this.bufChars;
87 }
88
89 // Token: 0x06000048 RID: 72 RVA: 0x00002FA8 File Offset: 0x000011A8
90 internal override void WriteEndElement(string prefix, string localName, string ns)
91 {
92 int num = this.indentLevel;
94 this.indentLevel = num;
95 base.WriteEndElement(prefix, localName, ns);
96 }
97
98 // Token: 0x06000049 RID: 73 RVA: 0x0000300C File Offset: 0x0000120C
99 public override void WriteStartAttribute(string prefix, string localName, string ns)
100 {
101 string newLineChars = this.newLineChars;
102 base.RawText(newLineChars);
103 int num = this.indentLevel;
104 this.indentLevel = num;
105 this.WriteIndent();
106 int num2 = this.indentLevel;
108 base.WriteStartAttribute(prefix, localName, ns);
109 }
110
111 // Token: 0x0600004A RID: 74 RVA: 0x00003054 File Offset: 0x00001254
112 protected override void FlushBuffer()
113 {
114 int num = this.endBlockPos;
115 int bufPos = this.bufPos;
116 this.endBlockPos = num;
117 base.FlushBuffer();
118 }
119
120 // Token: 0x0600004B RID: 75 RVA: 0x0000307C File Offset: 0x0000127C
121 private void Init(XmlWriterSettings settings)
122 {
123 string text = settings.indentChars;
125 bool flag = settings.newLineOnAttributes;
127 }
128
129 // Token: 0x0600004C RID: 76 RVA: 0x000030A8 File Offset: 0x000012A8
130 private void WriteIndent()
131 {
132 string newLineChars = this.newLineChars;
133 base.RawText(newLineChars);
134 int num = this.indentLevel;
135 string text = this.indentChars;
136 base.RawText(text);
137 }
138
139 // Token: 0x04000037 RID: 55
140 private int indentLevel;
141
142 // Token: 0x04000038 RID: 56
143 private int endBlockPos;
144
145 // Token: 0x04000039 RID: 57
146 private string indentChars;
147
148 // Token: 0x0400003A RID: 58
150 }
151}
class f__AnonymousType0<< Count > j__TPar
override void WriteStartElement(string prefix, string localName, string ns)
override void WriteStartAttribute(string prefix, string localName, string ns)
override void WriteEndElement(string prefix, string localName, string ns)
HtmlEncodedRawTextWriterIndent(Stream stream, XmlWriterSettings settings)
override void WriteDocType(string name, string pubid, string sysid, string subset)
HtmlEncodedRawTextWriterIndent(TextWriter writer, XmlWriterSettings settings)