63 references to ConformanceLevel
dotnet-svcutil-lib (63)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (7)
408
case
ConformanceLevel
.Auto:
410
case
ConformanceLevel
.Fragment:
412
case
ConformanceLevel
.Document:
438
settings.ConformanceLevel =
ConformanceLevel
.Auto; break;
440
settings.ConformanceLevel =
ConformanceLevel
.Fragment; break;
442
settings.ConformanceLevel =
ConformanceLevel
.Document; break;
3233
settings.ConformanceLevel =
ConformanceLevel
.Fragment;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlEncodedRawTextWriter.cs (5)
208
settings.ConformanceLevel =
ConformanceLevel
.Auto;
1798
protected
ConformanceLevel
conformanceLevel =
ConformanceLevel
.Auto;
1864
if (indentLevel == 1 && conformanceLevel ==
ConformanceLevel
.Document)
1875
internal override void OnRootElement(
ConformanceLevel
currentConformanceLevel)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlRawWriter.cs (1)
260
internal virtual void OnRootElement(
ConformanceLevel
conformanceLevel) { }
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReader.cs (2)
1724
internal static
ConformanceLevel
GetV1ConformanceLevel(XmlReader reader)
1727
return tri != null ? tri.V1ComformanceLevel :
ConformanceLevel
.Document;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlReaderSettings.cs (6)
44
private
ConformanceLevel
_conformanceLevel;
176
public
ConformanceLevel
ConformanceLevel
186
if ((uint)value > (uint)
ConformanceLevel
.Document)
582
_conformanceLevel =
ConformanceLevel
.Document;
668
if (_conformanceLevel !=
ConformanceLevel
.Auto && _conformanceLevel != XmlReader.GetV1ConformanceLevel(baseReader))
726
if (_conformanceLevel != baseReaderSettings.ConformanceLevel && _conformanceLevel !=
ConformanceLevel
.Auto)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (10)
445
case
ConformanceLevel
.Auto:
449
case
ConformanceLevel
.Fragment:
453
case
ConformanceLevel
.Document:
458
goto case
ConformanceLevel
.Document;
845
case XmlNodeType.None: settings.ConformanceLevel =
ConformanceLevel
.Auto; break;
846
case XmlNodeType.Element: settings.ConformanceLevel =
ConformanceLevel
.Fragment; break;
847
case XmlNodeType.Document: settings.ConformanceLevel =
ConformanceLevel
.Document; break;
9306
internal
ConformanceLevel
V1ComformanceLevel
9310
return _fragmentType == XmlNodeType.Element ?
ConformanceLevel
.Fragment :
ConformanceLevel
.Document;
FrameworkFork\Microsoft.Xml\Xml\Core\XmlUtf8RawTextWriter.cs (5)
162
settings.ConformanceLevel =
ConformanceLevel
.Auto;
1678
protected
ConformanceLevel
conformanceLevel =
ConformanceLevel
.Auto;
1739
if (indentLevel == 1 && conformanceLevel ==
ConformanceLevel
.Document)
1750
internal override void OnRootElement(
ConformanceLevel
currentConformanceLevel)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriter.cs (13)
66
private
ConformanceLevel
_conformanceLevel;
272
_stateTable = (_conformanceLevel ==
ConformanceLevel
.Document) ? s_stateTableDocument : s_stateTableAuto;
385
if (_conformanceLevel ==
ConformanceLevel
.Fragment)
397
if (_conformanceLevel ==
ConformanceLevel
.Auto)
399
_conformanceLevel =
ConformanceLevel
.Document;
558
if (_conformanceLevel ==
ConformanceLevel
.Document)
609
if (_conformanceLevel ==
ConformanceLevel
.Document)
939
throw new ArgumentException(_conformanceLevel ==
ConformanceLevel
.Document ? ResXml.Xml_DupXmlDecl : ResXml.Xml_CannotWriteXmlDecl);
1648
if (_conformanceLevel ==
ConformanceLevel
.Auto)
1650
_conformanceLevel =
ConformanceLevel
.Document;
1653
else if (_conformanceLevel ==
ConformanceLevel
.Fragment)
1680
_conformanceLevel =
ConformanceLevel
.Fragment;
2201
if (_conformanceLevel ==
ConformanceLevel
.Document)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriterSettings.cs (8)
63
private
ConformanceLevel
_conformanceLevel;
223
public
ConformanceLevel
ConformanceLevel
233
if ((uint)value > (uint)
ConformanceLevel
.Document)
697
_conformanceLevel =
ConformanceLevel
.Document;
715
ConformanceLevel
confLevel =
ConformanceLevel
.Auto;
747
checkNames = confLevel ==
ConformanceLevel
.Auto;
762
if (confLevel !=
ConformanceLevel
.Auto)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (2)
83
_settings.ConformanceLevel = (_state == State.Prolog ?
ConformanceLevel
.Document :
ConformanceLevel
.Fragment);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (3)
1128
readerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
1420
writerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
1459
writerSettings.ConformanceLevel =
ConformanceLevel
.Auto;
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (1)
175
rs.ConformanceLevel =
ConformanceLevel
.Fragment;