1 write to rawWriter
System.Xml (1)
System\Xml\Core\XmlWellFormedWriter.cs (1)
256
rawWriter
= writer as XmlRawWriter;
77 references to rawWriter
System.Xml (77)
System\Xml\Core\XmlWellFormedWriter.cs (41)
258
if (
rawWriter
!= null) {
259
rawWriter
.NamespaceResolver = new NamespaceResolverProxy(this);
343
if (
rawWriter
== null) {
442
if (elemTop == 0 &&
rawWriter
!= null) {
444
rawWriter
.OnRootElement(conformanceLevel);
484
if (
rawWriter
!= null) {
485
elemScopeStack[top].WriteEndElement(
rawWriter
);
525
if (
rawWriter
!= null) {
526
elemScopeStack[top].WriteFullEndElement(
rawWriter
);
678
if (
rawWriter
!= null) {
679
if (
rawWriter
.SupportsNamespaceDeclarationInChunks) {
680
rawWriter
.WriteStartNamespaceDeclaration(string.Empty);
681
attrValueCache.Replay(
rawWriter
);
682
rawWriter
.WriteEndNamespaceDeclaration();
685
rawWriter
.WriteNamespaceDeclaration(string.Empty, value);
705
if (
rawWriter
!= null) {
706
if (
rawWriter
.SupportsNamespaceDeclarationInChunks) {
707
rawWriter
.WriteStartNamespaceDeclaration(curDeclPrefix);
708
attrValueCache.Replay(
rawWriter
);
709
rawWriter
.WriteEndNamespaceDeclaration();
712
rawWriter
.WriteNamespaceDeclaration(curDeclPrefix, value);
811
if (
rawWriter
!= null) {
813
rawWriter
.WriteXmlDeclaration(text);
1058
if (InBase64 &&
rawWriter
!= null) {
1059
rawWriter
.WriteEndBase64();
1066
if (
rawWriter
!= null) {
1067
rawWriter
.Close(WriteState);
1153
if (SaveAttrValue ||
rawWriter
== null) {
1161
rawWriter
.WriteQualifiedName(prefix, localName, ns);
1321
return
rawWriter
;
1367
if (
rawWriter
!= null) {
1369
rawWriter
.WriteXmlDeclaration(standalone);
1665
if (
rawWriter
!= null) {
1666
rawWriter
.WriteEndBase64();
1672
if (
rawWriter
!= null) {
1673
rawWriter
.WriteEndBase64();
1679
if (
rawWriter
!= null) {
1680
rawWriter
.WriteEndBase64();
1719
nsStack[i].WriteDecl(writer,
rawWriter
);
1723
if (
rawWriter
!= null) {
1724
rawWriter
.StartElementContent();
System\Xml\Core\XmlWellFormedWriterAsync.cs (36)
40
if (
rawWriter
== null) {
194
if (elemTop == 0 &&
rawWriter
!= null) {
196
rawWriter
.OnRootElement(conformanceLevel);
281
if (
rawWriter
!= null) {
282
task = elemScopeStack[top].WriteEndElementAsync(
rawWriter
);
344
if (
rawWriter
!= null) {
345
task = elemScopeStack[top].WriteFullEndElementAsync(
rawWriter
);
533
if (
rawWriter
!= null) {
534
if (
rawWriter
.SupportsNamespaceDeclarationInChunks) {
535
await
rawWriter
.WriteStartNamespaceDeclarationAsync(string.Empty).ConfigureAwait(false);
536
await attrValueCache.ReplayAsync(
rawWriter
).ConfigureAwait(false);
537
await
rawWriter
.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false);
540
await
rawWriter
.WriteNamespaceDeclarationAsync(string.Empty, value).ConfigureAwait(false);
560
if (
rawWriter
!= null) {
561
if (
rawWriter
.SupportsNamespaceDeclarationInChunks) {
562
await
rawWriter
.WriteStartNamespaceDeclarationAsync(curDeclPrefix).ConfigureAwait(false);
563
await attrValueCache.ReplayAsync(
rawWriter
).ConfigureAwait(false);
564
await
rawWriter
.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false);
567
await
rawWriter
.WriteNamespaceDeclarationAsync(curDeclPrefix, value).ConfigureAwait(false);
662
if (
rawWriter
!= null) {
664
await
rawWriter
.WriteXmlDeclarationAsync(text).ConfigureAwait(false);
967
if (SaveAttrValue ||
rawWriter
== null) {
975
await
rawWriter
.WriteQualifiedNameAsync(prefix, localName, ns).ConfigureAwait(false);
1010
if (
rawWriter
!= null) {
1012
await
rawWriter
.WriteXmlDeclarationAsync(standalone).ConfigureAwait(false);
1109
if (
rawWriter
!= null) {
1110
return AdvanceStateAsync_ContinueWhenFinish(
rawWriter
.WriteEndBase64Async(), State.Content, token);
1116
if (
rawWriter
!= null) {
1117
return AdvanceStateAsync_ContinueWhenFinish(
rawWriter
.WriteEndBase64Async(), State.Attribute, token);
1123
if (
rawWriter
!= null) {
1124
return AdvanceStateAsync_ContinueWhenFinish(
rawWriter
.WriteEndBase64Async(), State.RootLevelAttr, token);
1163
await nsStack[i].WriteDeclAsync(writer,
rawWriter
).ConfigureAwait(false);
1166
if (
rawWriter
!= null) {
1167
rawWriter
.StartElementContent();
1176
if (
rawWriter
!= null) {
1177
rawWriter
.StartElementContent();