49 references to XmlStandalone
System.Private.Xml (49)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
467
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\HtmlEncodedRawTextWriter.cs (1)
37
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\HtmlUtf8RawTextWriter.cs (1)
32
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\QueryOutputWriter.cs (2)
53
if (settings.AutoXmlDeclaration && settings.Standalone ==
XmlStandalone
.Yes)
103
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\QueryOutputWriterV1.cs (2)
53
if (settings.Standalone ==
XmlStandalone
.Yes)
60
if (settings.Standalone ==
XmlStandalone
.Yes)
System\Xml\Core\TextEncodedRawTextWriter.cs (1)
37
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\TextUtf8RawTextWriter.cs (1)
32
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\XmlAutoDetectWriter.cs (1)
293
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\XmlEncodedRawTextWriter.cs (4)
72
protected
XmlStandalone
_standalone;
212
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
231
if (standalone !=
XmlStandalone
.Omit)
234
RawText(standalone ==
XmlStandalone
.Yes ? "yes" : "no");
System\Xml\Core\XmlEncodedRawTextWriterAsync.cs (3)
33
internal override async Task WriteXmlDeclarationAsync(
XmlStandalone
standalone)
53
if (standalone !=
XmlStandalone
.Omit)
56
await RawTextAsync(standalone ==
XmlStandalone
.Yes ? "yes" : "no").ConfigureAwait(false);
System\Xml\Core\XmlEventCache.cs (2)
192
rawWriter?.WriteXmlDeclaration((
XmlStandalone
)page[idxEvent].Object!);
457
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\XmlRawWriter.cs (1)
237
internal virtual void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Core\XmlRawWriterAsync.cs (1)
168
internal virtual Task WriteXmlDeclarationAsync(
XmlStandalone
standalone)
System\Xml\Core\XmlUtf8RawTextWriter.cs (4)
58
protected
XmlStandalone
_standalone;
159
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
177
if (standalone !=
XmlStandalone
.Omit)
180
RawText(standalone ==
XmlStandalone
.Yes ? "yes" : "no");
System\Xml\Core\XmlUtf8RawTextWriterAsync.cs (3)
33
internal override async Task WriteXmlDeclarationAsync(
XmlStandalone
standalone)
52
if (standalone !=
XmlStandalone
.Omit)
55
await RawTextAsync(standalone ==
XmlStandalone
.Yes ? "yes" : "no").ConfigureAwait(false);
System\Xml\Core\XmlWellFormedWriter.cs (4)
323
WriteStartDocumentImpl(
XmlStandalone
.Omit);
328
WriteStartDocumentImpl(standalone ?
XmlStandalone
.Yes :
XmlStandalone
.No);
1542
private void WriteStartDocumentImpl(
XmlStandalone
standalone)
System\Xml\Core\XmlWellFormedWriterAsync.cs (4)
23
return WriteStartDocumentImplAsync(
XmlStandalone
.Omit);
28
return WriteStartDocumentImplAsync(standalone ?
XmlStandalone
.Yes :
XmlStandalone
.No);
1192
private async Task WriteStartDocumentImplAsync(
XmlStandalone
standalone)
System\Xml\Core\XmlWriterSettings.cs (6)
61
private
XmlStandalone
_standalone;
307
internal
XmlStandalone
Standalone
331
private bool IsQuerySpecific => CDataSectionElements.Count != 0 || _docTypePublic != null || _docTypeSystem != null || _standalone ==
XmlStandalone
.Yes;
521
_standalone =
XmlStandalone
.Omit;
691
Standalone = (
XmlStandalone
)reader.ReadSByte(0, (sbyte)
XmlStandalone
.No);
System\Xml\Dom\DocumentXmlWriter.cs (3)
116
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
119
if (standalone !=
XmlStandalone
.Omit)
121
XmlNode node = _document.CreateXmlDeclaration("1.0", string.Empty, standalone ==
XmlStandalone
.Yes ? "yes" : "no");
System\Xml\Xsl\Runtime\XmlRawWriterWrapper.cs (1)
187
internal override void WriteXmlDeclaration(
XmlStandalone
standalone)
System\Xml\Xsl\Xslt\XsltLoader.cs (3)
741
XmlStandalone
standalone = (triState == TriState.True) ?
XmlStandalone
.Yes :
XmlStandalone
.No;