2 writes to _wrapped
System.Private.Xml (2)
System\Xml\Core\XmlAutoDetectWriter.cs (2)
412
_wrapped
= ((XmlWellFormedWriter)XmlWriter.Create(_textWriter, _writerSettings)).RawWriter!;
414
_wrapped
= ((XmlWellFormedWriter)XmlWriter.Create(_strm!, _writerSettings)).RawWriter!;
54 references to _wrapped
System.Private.Xml (54)
System\Xml\Core\XmlAutoDetectWriter.cs (54)
81
_wrapped
.WriteDocType(name, pubid, sysid, subset);
86
if (
_wrapped
== null)
95
_wrapped
.WriteStartElement(prefix, localName, ns);
101
_wrapped
.WriteStartAttribute(prefix, localName, ns);
106
Debug.Assert(
_wrapped
!= null);
107
_wrapped
.WriteEndAttribute();
113
_wrapped
.WriteCData(text);
120
if (
_wrapped
== null)
123
_wrapped
.WriteComment(text);
128
if (
_wrapped
== null)
131
_wrapped
.WriteProcessingInstruction(name, text);
136
if (
_wrapped
== null)
139
_wrapped
.WriteWhitespace(ws);
145
_wrapped
.WriteString(text);
163
_wrapped
.WriteRaw(data);
171
_wrapped
.WriteEntityRef(name);
177
_wrapped
.WriteCharEntity(ch);
183
_wrapped
.WriteSurrogateCharEntity(lowChar, highChar);
189
_wrapped
.WriteBase64(buffer, index, count);
195
_wrapped
.WriteBinHex(buffer, index, count);
202
_wrapped
.Close();
209
_wrapped
.Flush();
215
_wrapped
.WriteValue(value);
221
_wrapped
.WriteValue(value);
227
_wrapped
.WriteValue(value);
233
_wrapped
.WriteValue(value);
239
_wrapped
.WriteValue(value);
245
_wrapped
.WriteValue(value);
251
_wrapped
.WriteValue(value);
257
_wrapped
.WriteValue(value);
263
_wrapped
.WriteValue(value);
269
_wrapped
.WriteValue(value);
286
if (
_wrapped
== null)
289
_wrapped
.NamespaceResolver = value;
297
_wrapped
.WriteXmlDeclaration(standalone);
304
_wrapped
.WriteXmlDeclaration(xmldecl);
309
Debug.Assert(
_wrapped
!= null);
310
_wrapped
.StartElementContent();
315
Debug.Assert(
_wrapped
!= null);
316
_wrapped
.WriteEndElement(prefix, localName, ns);
321
Debug.Assert(
_wrapped
!= null);
322
_wrapped
.WriteFullEndElement(prefix, localName, ns);
328
_wrapped
.WriteNamespaceDeclaration(prefix, ns);
335
return
_wrapped
!.SupportsNamespaceDeclarationInChunks;
342
_wrapped
.WriteStartNamespaceDeclaration(prefix);
347
_wrapped
!.WriteEndNamespaceDeclaration();
363
[MemberNotNull(nameof(
_wrapped
))]
366
if (
_wrapped
== null)
375
[MemberNotNullWhen(true, nameof(
_wrapped
))]
378
if (
_wrapped
== null)
396
[MemberNotNull(nameof(
_wrapped
))]
399
Debug.Assert(
_wrapped
== null);
418
_eventCache.EventsToWriter(
_wrapped
);
422
(this._onRemove)(
_wrapped
);