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