1 write to _writer
System.Private.Xml (1)
System\Xml\Core\XmlWellFormedWriter.cs (1)
244_writer = writer;
86 references to _writer
System.Private.Xml (86)
System\Xml\Core\XmlWellFormedWriter.cs (48)
308XmlWriterSettings settings = _writer.Settings!; 349_writer.WriteEndDocument(); 413_writer.WriteDocType(name, pubid, sysid, subset); 468_writer.WriteStartElement(prefix, localName, ns); 516_writer.WriteEndElement(); 567_writer.WriteFullEndElement(); 725_writer.WriteStartAttribute(prefix, localName, namespaceName); 767_writer.WriteStartAttribute(string.Empty, "xmlns", XmlReservedNs.NsXmlNs); 768_attrValueCache.Replay(_writer); 769_writer.WriteEndAttribute(); 804_writer.WriteStartAttribute("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs); 805_attrValueCache.Replay(_writer); 806_writer.WriteEndAttribute(); 827_writer.WriteStartAttribute("xml", "space", XmlReservedNs.NsXml); 828_attrValueCache.Replay(_writer); 829_writer.WriteEndAttribute(); 834_writer.WriteStartAttribute("xml", "lang", XmlReservedNs.NsXml); 835_attrValueCache.Replay(_writer); 836_writer.WriteEndAttribute(); 844_writer.WriteEndAttribute(); 860_writer.WriteCData(text); 875_writer.WriteComment(text); 913_writer.WriteProcessingInstruction(name, text); 919_writer.WriteProcessingInstruction(name, text); 944_writer.WriteEntityRef(name); 970_writer.WriteCharEntity(ch); 996_writer.WriteSurrogateCharEntity(lowChar, highChar); 1023_writer.WriteWhitespace(ws); 1049_writer.WriteString(text); 1075_writer.WriteChars(buffer, index, count); 1101_writer.WriteRaw(buffer, index, count); 1127_writer.WriteRaw(data); 1147_writer.WriteBase64(buffer, index, count); 1191_writer.Flush(); 1203_writer.Close(); 1218_writer.Flush(); 1329_writer.WriteValue(value); 1343_writer.WriteValue(value); 1357_writer.WriteValue(value); 1371_writer.WriteValue(value); 1385_writer.WriteValue(value); 1399_writer.WriteValue(value); 1413_writer.WriteValue(value); 1427_writer.WriteValue(value); 1452_writer.WriteValue(value); 1474_writer.WriteValue(value); 1568_writer.WriteStartDocument(); 1967_nsStack[i].WriteDecl(_writer, _rawWriter);
System\Xml\Core\XmlWellFormedWriterAsync.cs (38)
49await _writer.WriteEndDocumentAsync().ConfigureAwait(false); 114await _writer.WriteDocTypeAsync(name, pubid, sysid, subset).ConfigureAwait(false); 241Task task = _writer.WriteStartElementAsync(prefix, localName, ns); 348task = _writer.WriteEndElementAsync(); 427task = _writer.WriteFullEndElementAsync(); 583return TryReturnTask(_writer.WriteStartAttributeAsync(prefix, localName, namespaceName)); 633return TryReturnTask(_writer.WriteEndAttributeAsync()); 671await _writer.WriteStartAttributeAsync(string.Empty, "xmlns", XmlReservedNs.NsXmlNs).ConfigureAwait(false); 672await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 673await _writer.WriteEndAttributeAsync().ConfigureAwait(false); 708await _writer.WriteStartAttributeAsync("xmlns", _curDeclPrefix, XmlReservedNs.NsXmlNs).ConfigureAwait(false); 709await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 710await _writer.WriteEndAttributeAsync().ConfigureAwait(false); 731await _writer.WriteStartAttributeAsync("xml", "space", XmlReservedNs.NsXml).ConfigureAwait(false); 732await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 733await _writer.WriteEndAttributeAsync().ConfigureAwait(false); 738await _writer.WriteStartAttributeAsync("xml", "lang", XmlReservedNs.NsXml).ConfigureAwait(false); 739await _attrValueCache.ReplayAsync(_writer).ConfigureAwait(false); 740await _writer.WriteEndAttributeAsync().ConfigureAwait(false); 760await _writer.WriteCDataAsync(text).ConfigureAwait(false); 776await _writer.WriteCommentAsync(text).ConfigureAwait(false); 814await _writer.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false); 820await _writer.WriteProcessingInstructionAsync(name, text).ConfigureAwait(false); 845await _writer.WriteEntityRefAsync(name).ConfigureAwait(false); 871await _writer.WriteCharEntityAsync(ch).ConfigureAwait(false); 897await _writer.WriteSurrogateCharEntityAsync(lowChar, highChar).ConfigureAwait(false); 925await _writer.WriteWhitespaceAsync(ws).ConfigureAwait(false); 973return TryReturnTask(_writer.WriteStringAsync(text)); 1013await _writer.WriteCharsAsync(buffer, index, count).ConfigureAwait(false); 1039await _writer.WriteRawAsync(buffer, index, count).ConfigureAwait(false); 1065await _writer.WriteRawAsync(data).ConfigureAwait(false); 1088return TryReturnTask(_writer.WriteBase64Async(buffer, index, count)); 1107await _writer.WriteBase64Async(buffer, index, count).ConfigureAwait(false); 1120await _writer.FlushAsync().ConfigureAwait(false); 1218await _writer.WriteStartDocumentAsync().ConfigureAwait(false); 1385await _nsStack[i].WriteDeclAsync(_writer, _rawWriter).ConfigureAwait(false); 1439await _writer.FlushAsync().ConfigureAwait(false); 1451await _writer.DisposeAsync().ConfigureAwait(false);