6 writes to _conformanceLevel
System.Private.Xml (6)
System\Xml\Core\XmlWellFormedWriter.cs (4)
257
_conformanceLevel
= settings.ConformanceLevel;
380
_conformanceLevel
= ConformanceLevel.Document;
1550
_conformanceLevel
= ConformanceLevel.Document;
1580
_conformanceLevel
= ConformanceLevel.Fragment;
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
81
_conformanceLevel
= ConformanceLevel.Document;
1200
_conformanceLevel
= ConformanceLevel.Document;
18 references to _conformanceLevel
System.Private.Xml (18)
System\Xml\Core\XmlWellFormedWriter.cs (11)
258
_stateTable = (
_conformanceLevel
== ConformanceLevel.Document) ? s_stateTableDocument : s_stateTableAuto;
310
settings.ConformanceLevel =
_conformanceLevel
;
366
if (
_conformanceLevel
== ConformanceLevel.Fragment)
378
if (
_conformanceLevel
== ConformanceLevel.Auto)
464
_rawWriter.OnRootElement(
_conformanceLevel
);
531
if (
_conformanceLevel
== ConformanceLevel.Document)
582
if (
_conformanceLevel
== ConformanceLevel.Document)
900
throw new ArgumentException(
_conformanceLevel
== ConformanceLevel.Document ? SR.Xml_DupXmlDecl : SR.Xml_CannotWriteXmlDecl);
1548
if (
_conformanceLevel
== ConformanceLevel.Auto)
1553
else if (
_conformanceLevel
== ConformanceLevel.Fragment)
2078
if (
_conformanceLevel
== ConformanceLevel.Document)
System\Xml\Core\XmlWellFormedWriterAsync.cs (7)
67
if (
_conformanceLevel
== ConformanceLevel.Fragment)
79
if (
_conformanceLevel
== ConformanceLevel.Auto)
237
_rawWriter.OnRootElement(
_conformanceLevel
);
377
if (
_conformanceLevel
== ConformanceLevel.Document)
801
throw new ArgumentException(
_conformanceLevel
== ConformanceLevel.Document ? SR.Xml_DupXmlDecl : SR.Xml_CannotWriteXmlDecl);
1198
if (
_conformanceLevel
== ConformanceLevel.Auto)
1203
else if (
_conformanceLevel
== ConformanceLevel.Fragment)