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