1 write to writer
System.Xml (1)
System\Xml\Core\XmlWellFormedWriter.cs (1)
254
this.
writer
= writer;
85 references to writer
System.Xml (85)
System\Xml\Core\XmlWellFormedWriter.cs (49)
311
XmlWriterSettings settings =
writer
.Settings;
344
writer
.WriteEndDocument();
397
writer
.WriteDocType(name, pubid, sysid, subset);
448
writer
.WriteStartElement(prefix, localName, ns);
488
writer
.WriteEndElement();
529
writer
.WriteFullEndElement();
658
writer
.WriteStartAttribute( prefix, localName, namespaceName );
689
writer
.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs);
690
attrValueCache.Replay(
writer
);
691
writer
.WriteEndAttribute();
716
writer
.WriteStartAttribute("xmlns", curDeclPrefix, XmlReservedNs.NsXmlNs);
717
attrValueCache.Replay(
writer
);
718
writer
.WriteEndAttribute();
736
writer
.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml);
737
attrValueCache.Replay(
writer
);
738
writer
.WriteEndAttribute();
743
writer
.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml);
744
attrValueCache.Replay(
writer
);
745
writer
.WriteEndAttribute();
752
writer
.WriteEndAttribute();
767
writer
.WriteCData(text);
781
writer
.WriteComment(text);
816
writer
.WriteProcessingInstruction(name, text);
821
writer
.WriteProcessingInstruction(name, text);
843
writer
.WriteEntityRef(name);
863
writer
.WriteCharEntity(ch);
883
writer
.WriteSurrogateCharEntity(lowChar, highChar);
906
writer
.WriteWhitespace(ws);
926
writer
.WriteString(text);
955
writer
.WriteChars(buffer, index, count);
984
writer
.WriteRaw(buffer, index, count);
1004
writer
.WriteRaw(data);
1029
writer
.WriteBase64(buffer, index, count);
1062
writer
.Flush();
1070
writer
.Close();
1082
writer
.Flush();
1173
writer
.WriteValue(value);
1184
writer
.WriteValue(value);
1195
writer
.WriteValue(value);
1206
writer
.WriteValue(value);
1217
writer
.WriteValue(value);
1228
writer
.WriteValue(value);
1239
writer
.WriteValue(value);
1250
writer
.WriteValue(value);
1269
writer
.WriteValue(value);
1286
writer
.WriteValue(value);
1315
return this.
writer
;
1374
writer
.WriteStartDocument();
1719
nsStack[i].WriteDecl(
writer
, rawWriter);
System\Xml\Core\XmlWellFormedWriterAsync.cs (36)
41
await
writer
.WriteEndDocumentAsync().ConfigureAwait(false);
94
await
writer
.WriteDocTypeAsync(name, pubid, sysid, subset).ConfigureAwait(false);
200
Task task =
writer
.WriteStartElementAsync(prefix, localName, ns);
285
task =
writer
.WriteEndElementAsync();
348
task =
writer
.WriteFullEndElementAsync();
475
return TryReturnTask(
writer
.WriteStartAttributeAsync(prefix, localName, namespaceName) );
515
return TryReturnTask(
writer
.WriteEndAttributeAsync() );
544
await
writer
.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false);
545
await attrValueCache.ReplayAsync(
writer
).ConfigureAwait(false);
546
await
writer
.WriteEndAttributeAsync().ConfigureAwait(false);
571
await
writer
.WriteStartAttributeAsync("xmlns", curDeclPrefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false);
572
await attrValueCache.ReplayAsync(
writer
).ConfigureAwait(false);
573
await
writer
.WriteEndAttributeAsync().ConfigureAwait(false);
591
await
writer
.WriteStartAttributeAsync("xml", "space", XmlReservedNs.NsXml).ConfigureAwait(false);
592
await attrValueCache.ReplayAsync(
writer
).ConfigureAwait(false);
593
await
writer
.WriteEndAttributeAsync().ConfigureAwait(false);
598
await
writer
.WriteStartAttributeAsync("xml", "lang", XmlReservedNs.NsXml).ConfigureAwait(false);
599
await attrValueCache.ReplayAsync(
writer
).ConfigureAwait(false);
600
await
writer
.WriteEndAttributeAsync().ConfigureAwait(false);
618
await
writer
.WriteCDataAsync(text).ConfigureAwait(false);
632
await
writer
.WriteCommentAsync(text).ConfigureAwait(false);
667
await
writer
.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false);
672
await
writer
.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false);
694
await
writer
.WriteEntityRefAsync(name).ConfigureAwait(false);
714
await
writer
.WriteCharEntityAsync(ch).ConfigureAwait(false);
734
await
writer
.WriteSurrogateCharEntityAsync(lowChar, highChar).ConfigureAwait(false);
757
await
writer
.WriteWhitespaceAsync(ws).ConfigureAwait(false);
795
return TryReturnTask(
writer
.WriteStringAsync(text) );
835
await
writer
.WriteCharsAsync(buffer, index, count).ConfigureAwait(false);
864
await
writer
.WriteRawAsync(buffer, index, count).ConfigureAwait(false);
884
await
writer
.WriteRawAsync(data).ConfigureAwait(false);
911
return TryReturnTask(
writer
.WriteBase64Async(buffer, index, count));
928
await
writer
.WriteBase64Async(buffer, index, count).ConfigureAwait(false);
938
await
writer
.FlushAsync().ConfigureAwait(false);
1017
await
writer
.WriteStartDocumentAsync().ConfigureAwait(false);
1163
await nsStack[i].WriteDeclAsync(
writer
, rawWriter).ConfigureAwait(false);