1 write to _rawWriter
System.Private.Xml (1)
System\Xml\Core\XmlWellFormedWriter.cs (1)
246
_rawWriter
= writer as XmlRawWriter;
75 references to _rawWriter
System.Private.Xml (75)
System\Xml\Core\XmlWellFormedWriter.cs (37)
248
if (
_rawWriter
!= null)
250
_rawWriter
.NamespaceResolver = new NamespaceResolverProxy(this);
347
if (
_rawWriter
== null)
461
if (_elemTop == 0 &&
_rawWriter
!= null)
464
_rawWriter
.OnRootElement(_conformanceLevel);
510
if (
_rawWriter
!= null)
512
_elemScopeStack[top].WriteEndElement(
_rawWriter
);
561
if (
_rawWriter
!= null)
563
_elemScopeStack[top].WriteFullEndElement(
_rawWriter
);
752
if (
_rawWriter
!= null)
754
if (
_rawWriter
.SupportsNamespaceDeclarationInChunks)
756
_rawWriter
.WriteStartNamespaceDeclaration(string.Empty);
757
_attrValueCache.Replay(
_rawWriter
);
758
_rawWriter
.WriteEndNamespaceDeclaration();
762
_rawWriter
.WriteNamespaceDeclaration(string.Empty, value);
789
if (
_rawWriter
!= null)
791
if (
_rawWriter
.SupportsNamespaceDeclarationInChunks)
793
_rawWriter
.WriteStartNamespaceDeclaration(_curDeclPrefix);
794
_attrValueCache.Replay(
_rawWriter
);
795
_rawWriter
.WriteEndNamespaceDeclaration();
799
_rawWriter
.WriteNamespaceDeclaration(_curDeclPrefix, value);
906
if (
_rawWriter
!= null)
909
_rawWriter
.WriteXmlDeclaration(text);
1186
if (InBase64 &&
_rawWriter
!= null)
1188
_rawWriter
.WriteEndBase64();
1197
if (
_rawWriter
!= null)
1199
_rawWriter
.Close(WriteState);
1303
if (SaveAttrValue ||
_rawWriter
== null)
1314
_rawWriter
.WriteQualifiedName(prefix, localName, ns);
1506
return
_rawWriter
;
1558
if (
_rawWriter
!= null)
1562
_rawWriter
.WriteXmlDeclaration(standalone);
1916
_rawWriter
?.WriteEndBase64();
1921
_rawWriter
?.WriteEndBase64();
1926
_rawWriter
?.WriteEndBase64();
1967
_nsStack[i].WriteDecl(_writer,
_rawWriter
);
1971
_rawWriter
?.StartElementContent();
System\Xml\Core\XmlWellFormedWriterAsync.cs (38)
47
if (
_rawWriter
== null)
234
if (_elemTop == 0 &&
_rawWriter
!= null)
237
_rawWriter
.OnRootElement(_conformanceLevel);
342
if (
_rawWriter
!= null)
344
task = _elemScopeStack[top].WriteEndElementAsync(
_rawWriter
);
421
if (
_rawWriter
!= null)
423
task = _elemScopeStack[top].WriteFullEndElementAsync(
_rawWriter
);
656
if (
_rawWriter
!= null)
658
if (
_rawWriter
.SupportsNamespaceDeclarationInChunks)
660
await
_rawWriter
.WriteStartNamespaceDeclarationAsync(string.Empty).ConfigureAwait(false);
661
await _attrValueCache.ReplayAsync(
_rawWriter
).ConfigureAwait(false);
662
await
_rawWriter
.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false);
666
await
_rawWriter
.WriteNamespaceDeclarationAsync(string.Empty, value).ConfigureAwait(false);
693
if (
_rawWriter
!= null)
695
if (
_rawWriter
.SupportsNamespaceDeclarationInChunks)
697
await
_rawWriter
.WriteStartNamespaceDeclarationAsync(_curDeclPrefix).ConfigureAwait(false);
698
await _attrValueCache.ReplayAsync(
_rawWriter
).ConfigureAwait(false);
699
await
_rawWriter
.WriteEndNamespaceDeclarationAsync().ConfigureAwait(false);
703
await
_rawWriter
.WriteNamespaceDeclarationAsync(_curDeclPrefix, value).ConfigureAwait(false);
807
if (
_rawWriter
!= null)
810
await
_rawWriter
.WriteXmlDeclarationAsync(text).ConfigureAwait(false);
1153
if (SaveAttrValue ||
_rawWriter
== null)
1164
await
_rawWriter
.WriteQualifiedNameAsync(prefix, localName, ns).ConfigureAwait(false);
1208
if (
_rawWriter
!= null)
1212
await
_rawWriter
.WriteXmlDeclarationAsync(standalone).ConfigureAwait(false);
1325
if (
_rawWriter
!= null)
1327
return AdvanceStateAsync_ContinueWhenFinish(
_rawWriter
.WriteEndBase64Async(), State.Content, token);
1333
if (
_rawWriter
!= null)
1335
return AdvanceStateAsync_ContinueWhenFinish(
_rawWriter
.WriteEndBase64Async(), State.Attribute, token);
1341
if (
_rawWriter
!= null)
1343
return AdvanceStateAsync_ContinueWhenFinish(
_rawWriter
.WriteEndBase64Async(), State.RootLevelAttr, token);
1385
await _nsStack[i].WriteDeclAsync(_writer,
_rawWriter
).ConfigureAwait(false);
1389
_rawWriter
?.StartElementContent();
1399
_rawWriter
?.StartElementContent();
1434
if (InBase64 &&
_rawWriter
!= null)
1436
await
_rawWriter
.WriteEndBase64Async().ConfigureAwait(false);
1445
if (
_rawWriter
!= null)
1447
await
_rawWriter
.DisposeAsyncCore(WriteState).ConfigureAwait(false);