14 writes to ConformanceLevel
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\Project_Tests.cs (1)
306
using XmlReader reader = XmlReader.Create(new StringReader(emptyProject + emptyProject), new XmlReaderSettings {
ConformanceLevel
= ConformanceLevel.Fragment });
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
217
ConformanceLevel
= ConformanceLevel.Auto
Microsoft.CodeAnalysis (1)
RuleSet\RuleSetProcessor.cs (1)
278
xmlReaderSettings.
ConformanceLevel
= ConformanceLevel.Document;
System.Data.Common (3)
System\Data\ProviderBase\SchemaMapping.cs (1)
343
settings.
ConformanceLevel
= System.Xml.ConformanceLevel.Fragment;
System\Data\SQLTypes\SqlXml.cs (2)
20
private static readonly XmlReaderSettings s_defaultXmlReaderSettings = new XmlReaderSettings() {
ConformanceLevel
= ConformanceLevel.Fragment };
21
private static readonly XmlReaderSettings s_defaultXmlReaderSettingsCloseInput = new XmlReaderSettings() {
ConformanceLevel
= ConformanceLevel.Fragment, CloseInput = true };
System.Private.Xml (8)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
401
settings.
ConformanceLevel
= _docState switch
3213
settings.
ConformanceLevel
= ConformanceLevel.Fragment;
System\Xml\Core\XmlTextReaderImpl.cs (3)
835
case XmlNodeType.None: settings.
ConformanceLevel
= ConformanceLevel.Auto; break;
836
case XmlNodeType.Element: settings.
ConformanceLevel
= ConformanceLevel.Fragment; break;
837
case XmlNodeType.Document: settings.
ConformanceLevel
= ConformanceLevel.Document; break;
System\Xml\XPath\XPathNavigator.cs (1)
1069
readerSettings.
ConformanceLevel
= ConformanceLevel.Auto;
System\Xml\XPath\XPathNavigatorReader.cs (1)
170
rs.
ConformanceLevel
= ConformanceLevel.Fragment;
System\Xml\Xsl\QueryReaderSettings.cs (1)
29
_xmlReaderSettings.
ConformanceLevel
= ConformanceLevel.Document;
4 references to ConformanceLevel
System.Private.Xml (4)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
373
switch (settings.
ConformanceLevel
)
System\Xml\Core\XmlReaderSettings.cs (1)
580
if (_conformanceLevel != baseReaderSettings.
ConformanceLevel
&& _conformanceLevel != ConformanceLevel.Auto)
System\Xml\Core\XmlTextReaderImpl.cs (2)
428
switch (settings.
ConformanceLevel
)
442
Debug.Fail($"Unexpected conformance level {settings.
ConformanceLevel
}");