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