1 write to writer
System.Private.Xml (1)
System\Xml\Core\XmlWrappingWriter.cs (1)
24this.writer = baseWriter;
92 references to writer
System.Private.Xml (92)
System\Xml\Core\XmlCharCheckingWriter.cs (16)
49XmlWriterSettings? s = base.writer.Settings; 105writer.WriteDocType(name, pubid, sysid, subset); 122writer.WriteStartElement(prefix, localName, ns); 139writer.WriteStartAttribute(prefix, localName, ns); 159writer.WriteCData(text.Substring(0, i + 2)); 163writer.WriteCData(text); 182writer.WriteComment(text); 206writer.WriteProcessingInstruction(name, text); 216writer.WriteEntityRef(name); 238writer.WriteWhitespace(ws); 255writer.WriteString(text); 260writer.WriteSurrogateCharEntity(lowChar, highChar); 286writer.WriteChars(buffer, index, count); 298writer.WriteNmToken(name); 308writer.WriteName(name); 318writer.WriteQualifiedName(localName, ns);
System\Xml\Core\XmlCharCheckingWriterAsync.cs (15)
55return writer.WriteDocTypeAsync(name, pubid, sysid, subset); 71return writer.WriteStartElementAsync(prefix, localName, ns); 88return writer.WriteStartAttributeAsync(prefix, localName, ns); 108await writer.WriteCDataAsync(text.Substring(0, i + 2)).ConfigureAwait(false); 113await writer.WriteCDataAsync(text).ConfigureAwait(false); 130return writer.WriteCommentAsync(text); 153return writer.WriteProcessingInstructionAsync(name, text!); 162return writer.WriteEntityRefAsync(name); 184return writer.WriteWhitespaceAsync(ws); 202return writer.WriteStringAsync(text); 207return writer.WriteSurrogateCharEntityAsync(lowChar, highChar); 232return writer.WriteCharsAsync(buffer, index, count); 242return writer.WriteNmTokenAsync(name); 251return writer.WriteNameAsync(name); 261return writer.WriteQualifiedNameAsync(localName, ns);
System\Xml\Core\XmlWrappingWriter.cs (39)
30public override XmlWriterSettings? Settings { get { return writer.Settings; } } 31public override WriteState WriteState { get { return writer.WriteState; } } 32public override XmlSpace XmlSpace { get { return writer.XmlSpace; } } 33public override string? XmlLang { get { return writer.XmlLang; } } 38writer.WriteStartDocument(); 43writer.WriteStartDocument(standalone); 48writer.WriteEndDocument(); 53writer.WriteDocType(name, pubid, sysid, subset); 58writer.WriteStartElement(prefix, localName, ns); 63writer.WriteEndElement(); 68writer.WriteFullEndElement(); 73writer.WriteStartAttribute(prefix, localName, ns); 78writer.WriteEndAttribute(); 83writer.WriteCData(text); 88writer.WriteComment(text); 93writer.WriteProcessingInstruction(name, text); 98writer.WriteEntityRef(name); 103writer.WriteCharEntity(ch); 108writer.WriteWhitespace(ws); 113writer.WriteString(text); 118writer.WriteSurrogateCharEntity(lowChar, highChar); 123writer.WriteChars(buffer, index, count); 128writer.WriteRaw(buffer, index, count); 133writer.WriteRaw(data); 138writer.WriteBase64(buffer, index, count); 143writer.Close(); 148writer.Flush(); 153return writer.LookupPrefix(ns); 158writer.WriteValue(value); 163writer.WriteValue(value); 168writer.WriteValue(value); 173writer.WriteValue(value); 178writer.WriteValue(value); 183writer.WriteValue(value); 188writer.WriteValue(value); 193writer.WriteValue(value); 198writer.WriteValue(value); 203writer.WriteValue(value); 210((IDisposable)writer).Dispose();
System\Xml\Core\XmlWrappingWriterAsync.cs (22)
17return writer.WriteStartDocumentAsync(); 22return writer.WriteStartDocumentAsync(standalone); 27return writer.WriteEndDocumentAsync(); 32return writer.WriteDocTypeAsync(name, pubid, sysid, subset); 37return writer.WriteStartElementAsync(prefix, localName, ns); 42return writer.WriteEndElementAsync(); 47return writer.WriteFullEndElementAsync(); 52return writer.WriteStartAttributeAsync(prefix, localName, ns); 57return writer.WriteEndAttributeAsync(); 62return writer.WriteCDataAsync(text); 67return writer.WriteCommentAsync(text); 72return writer.WriteProcessingInstructionAsync(name, text); 77return writer.WriteEntityRefAsync(name); 82return writer.WriteCharEntityAsync(ch); 87return writer.WriteWhitespaceAsync(ws); 92return writer.WriteStringAsync(text); 97return writer.WriteSurrogateCharEntityAsync(lowChar, highChar); 102return writer.WriteCharsAsync(buffer, index, count); 107return writer.WriteRawAsync(buffer, index, count); 112return writer.WriteRawAsync(data); 117return writer.WriteBase64Async(buffer, index, count); 122return writer.FlushAsync();