1 write to writer
System.Private.Xml (1)
System\Xml\Core\XmlWrappingWriter.cs (1)
24
this.
writer
= baseWriter;
92 references to writer
System.Private.Xml (92)
System\Xml\Core\XmlCharCheckingWriter.cs (16)
49
XmlWriterSettings? s = base.
writer
.Settings;
105
writer
.WriteDocType(name, pubid, sysid, subset);
122
writer
.WriteStartElement(prefix, localName, ns);
139
writer
.WriteStartAttribute(prefix, localName, ns);
159
writer
.WriteCData(text.Substring(0, i + 2));
163
writer
.WriteCData(text);
182
writer
.WriteComment(text);
206
writer
.WriteProcessingInstruction(name, text);
216
writer
.WriteEntityRef(name);
238
writer
.WriteWhitespace(ws);
255
writer
.WriteString(text);
260
writer
.WriteSurrogateCharEntity(lowChar, highChar);
286
writer
.WriteChars(buffer, index, count);
298
writer
.WriteNmToken(name);
308
writer
.WriteName(name);
318
writer
.WriteQualifiedName(localName, ns);
System\Xml\Core\XmlCharCheckingWriterAsync.cs (15)
55
return
writer
.WriteDocTypeAsync(name, pubid, sysid, subset);
71
return
writer
.WriteStartElementAsync(prefix, localName, ns);
88
return
writer
.WriteStartAttributeAsync(prefix, localName, ns);
108
await
writer
.WriteCDataAsync(text.Substring(0, i + 2)).ConfigureAwait(false);
113
await
writer
.WriteCDataAsync(text).ConfigureAwait(false);
130
return
writer
.WriteCommentAsync(text);
153
return
writer
.WriteProcessingInstructionAsync(name, text!);
162
return
writer
.WriteEntityRefAsync(name);
184
return
writer
.WriteWhitespaceAsync(ws);
202
return
writer
.WriteStringAsync(text);
207
return
writer
.WriteSurrogateCharEntityAsync(lowChar, highChar);
232
return
writer
.WriteCharsAsync(buffer, index, count);
242
return
writer
.WriteNmTokenAsync(name);
251
return
writer
.WriteNameAsync(name);
261
return
writer
.WriteQualifiedNameAsync(localName, ns);
System\Xml\Core\XmlWrappingWriter.cs (39)
30
public override XmlWriterSettings? Settings { get { return
writer
.Settings; } }
31
public override WriteState WriteState { get { return
writer
.WriteState; } }
32
public override XmlSpace XmlSpace { get { return
writer
.XmlSpace; } }
33
public override string? XmlLang { get { return
writer
.XmlLang; } }
38
writer
.WriteStartDocument();
43
writer
.WriteStartDocument(standalone);
48
writer
.WriteEndDocument();
53
writer
.WriteDocType(name, pubid, sysid, subset);
58
writer
.WriteStartElement(prefix, localName, ns);
63
writer
.WriteEndElement();
68
writer
.WriteFullEndElement();
73
writer
.WriteStartAttribute(prefix, localName, ns);
78
writer
.WriteEndAttribute();
83
writer
.WriteCData(text);
88
writer
.WriteComment(text);
93
writer
.WriteProcessingInstruction(name, text);
98
writer
.WriteEntityRef(name);
103
writer
.WriteCharEntity(ch);
108
writer
.WriteWhitespace(ws);
113
writer
.WriteString(text);
118
writer
.WriteSurrogateCharEntity(lowChar, highChar);
123
writer
.WriteChars(buffer, index, count);
128
writer
.WriteRaw(buffer, index, count);
133
writer
.WriteRaw(data);
138
writer
.WriteBase64(buffer, index, count);
143
writer
.Close();
148
writer
.Flush();
153
return
writer
.LookupPrefix(ns);
158
writer
.WriteValue(value);
163
writer
.WriteValue(value);
168
writer
.WriteValue(value);
173
writer
.WriteValue(value);
178
writer
.WriteValue(value);
183
writer
.WriteValue(value);
188
writer
.WriteValue(value);
193
writer
.WriteValue(value);
198
writer
.WriteValue(value);
203
writer
.WriteValue(value);
210
((IDisposable)
writer
).Dispose();
System\Xml\Core\XmlWrappingWriterAsync.cs (22)
17
return
writer
.WriteStartDocumentAsync();
22
return
writer
.WriteStartDocumentAsync(standalone);
27
return
writer
.WriteEndDocumentAsync();
32
return
writer
.WriteDocTypeAsync(name, pubid, sysid, subset);
37
return
writer
.WriteStartElementAsync(prefix, localName, ns);
42
return
writer
.WriteEndElementAsync();
47
return
writer
.WriteFullEndElementAsync();
52
return
writer
.WriteStartAttributeAsync(prefix, localName, ns);
57
return
writer
.WriteEndAttributeAsync();
62
return
writer
.WriteCDataAsync(text);
67
return
writer
.WriteCommentAsync(text);
72
return
writer
.WriteProcessingInstructionAsync(name, text);
77
return
writer
.WriteEntityRefAsync(name);
82
return
writer
.WriteCharEntityAsync(ch);
87
return
writer
.WriteWhitespaceAsync(ws);
92
return
writer
.WriteStringAsync(text);
97
return
writer
.WriteSurrogateCharEntityAsync(lowChar, highChar);
102
return
writer
.WriteCharsAsync(buffer, index, count);
107
return
writer
.WriteRawAsync(buffer, index, count);
112
return
writer
.WriteRawAsync(data);
117
return
writer
.WriteBase64Async(buffer, index, count);
122
return
writer
.FlushAsync();