1 write to _writer
System.Private.Xml (1)
System\Xml\Core\XmlWellFormedWriter.cs (1)
244
_writer
= writer;
86 references to _writer
System.Private.Xml (86)
System\Xml\Core\XmlWellFormedWriter.cs (48)
308
XmlWriterSettings settings =
_writer
.Settings!;
349
_writer
.WriteEndDocument();
413
_writer
.WriteDocType(name, pubid, sysid, subset);
468
_writer
.WriteStartElement(prefix, localName, ns);
516
_writer
.WriteEndElement();
567
_writer
.WriteFullEndElement();
725
_writer
.WriteStartAttribute(prefix, localName, namespaceName);
767
_writer
.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
768
_attrValueCache.Replay(
_writer
);
769
_writer
.WriteEndAttribute();
804
_writer
.WriteStartAttribute("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs);
805
_attrValueCache.Replay(
_writer
);
806
_writer
.WriteEndAttribute();
827
_writer
.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml);
828
_attrValueCache.Replay(
_writer
);
829
_writer
.WriteEndAttribute();
834
_writer
.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml);
835
_attrValueCache.Replay(
_writer
);
836
_writer
.WriteEndAttribute();
844
_writer
.WriteEndAttribute();
860
_writer
.WriteCData(text);
875
_writer
.WriteComment(text);
913
_writer
.WriteProcessingInstruction(name, text);
919
_writer
.WriteProcessingInstruction(name, text);
944
_writer
.WriteEntityRef(name);
970
_writer
.WriteCharEntity(ch);
996
_writer
.WriteSurrogateCharEntity(lowChar, highChar);
1023
_writer
.WriteWhitespace(ws);
1049
_writer
.WriteString(text);
1075
_writer
.WriteChars(buffer, index, count);
1101
_writer
.WriteRaw(buffer, index, count);
1127
_writer
.WriteRaw(data);
1147
_writer
.WriteBase64(buffer, index, count);
1191
_writer
.Flush();
1203
_writer
.Close();
1218
_writer
.Flush();
1329
_writer
.WriteValue(value);
1343
_writer
.WriteValue(value);
1357
_writer
.WriteValue(value);
1371
_writer
.WriteValue(value);
1385
_writer
.WriteValue(value);
1399
_writer
.WriteValue(value);
1413
_writer
.WriteValue(value);
1427
_writer
.WriteValue(value);
1452
_writer
.WriteValue(value);
1474
_writer
.WriteValue(value);
1568
_writer
.WriteStartDocument();
1967
_nsStack[i].WriteDecl(
_writer
, _rawWriter);
System\Xml\Core\XmlWellFormedWriterAsync.cs (38)
49
await
_writer
.WriteEndDocumentAsync().ConfigureAwait(false);
114
await
_writer
.WriteDocTypeAsync(name, pubid, sysid, subset).ConfigureAwait(false);
241
Task task =
_writer
.WriteStartElementAsync(prefix, localName, ns);
348
task =
_writer
.WriteEndElementAsync();
427
task =
_writer
.WriteFullEndElementAsync();
583
return TryReturnTask(
_writer
.WriteStartAttributeAsync(prefix, localName, namespaceName));
633
return TryReturnTask(
_writer
.WriteEndAttributeAsync());
671
await
_writer
.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false);
672
await _attrValueCache.ReplayAsync(
_writer
).ConfigureAwait(false);
673
await
_writer
.WriteEndAttributeAsync().ConfigureAwait(false);
708
await
_writer
.WriteStartAttributeAsync("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false);
709
await _attrValueCache.ReplayAsync(
_writer
).ConfigureAwait(false);
710
await
_writer
.WriteEndAttributeAsync().ConfigureAwait(false);
731
await
_writer
.WriteStartAttributeAsync("xml", "space", XmlReservedNs.NsXml).ConfigureAwait(false);
732
await _attrValueCache.ReplayAsync(
_writer
).ConfigureAwait(false);
733
await
_writer
.WriteEndAttributeAsync().ConfigureAwait(false);
738
await
_writer
.WriteStartAttributeAsync("xml", "lang", XmlReservedNs.NsXml).ConfigureAwait(false);
739
await _attrValueCache.ReplayAsync(
_writer
).ConfigureAwait(false);
740
await
_writer
.WriteEndAttributeAsync().ConfigureAwait(false);
760
await
_writer
.WriteCDataAsync(text).ConfigureAwait(false);
776
await
_writer
.WriteCommentAsync(text).ConfigureAwait(false);
814
await
_writer
.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false);
820
await
_writer
.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false);
845
await
_writer
.WriteEntityRefAsync(name).ConfigureAwait(false);
871
await
_writer
.WriteCharEntityAsync(ch).ConfigureAwait(false);
897
await
_writer
.WriteSurrogateCharEntityAsync(lowChar, highChar).ConfigureAwait(false);
925
await
_writer
.WriteWhitespaceAsync(ws).ConfigureAwait(false);
973
return TryReturnTask(
_writer
.WriteStringAsync(text));
1013
await
_writer
.WriteCharsAsync(buffer, index, count).ConfigureAwait(false);
1039
await
_writer
.WriteRawAsync(buffer, index, count).ConfigureAwait(false);
1065
await
_writer
.WriteRawAsync(data).ConfigureAwait(false);
1088
return TryReturnTask(
_writer
.WriteBase64Async(buffer, index, count));
1107
await
_writer
.WriteBase64Async(buffer, index, count).ConfigureAwait(false);
1120
await
_writer
.FlushAsync().ConfigureAwait(false);
1218
await
_writer
.WriteStartDocumentAsync().ConfigureAwait(false);
1385
await _nsStack[i].WriteDeclAsync(
_writer
, _rawWriter).ConfigureAwait(false);
1439
await
_writer
.FlushAsync().ConfigureAwait(false);
1451
await
_writer
.DisposeAsync().ConfigureAwait(false);