32 references to Document
System.Data.Entity (2)
System\Data\Metadata\MetadataArtifactLoaderFile.cs (1)
185readerSettings.ConformanceLevel = ConformanceLevel.Document;
System\Data\Metadata\MetadataArtifactLoaderResource.cs (1)
164readerSettings.ConformanceLevel = ConformanceLevel.Document;
System.Data.SqlXml (2)
System\Xml\Xsl\QueryReaderSettings.cs (1)
31xmlReaderSettings.ConformanceLevel = ConformanceLevel.Document;
System\Xml\Xsl\XmlILCommand.cs (1)
185wellFormedWriter.Settings.ConformanceLevel != ConformanceLevel.Document) {
System.Workflow.Runtime (1)
Tracking\TrackingProfileSerializer.cs (1)
837profileSettings.ConformanceLevel = ConformanceLevel.Document;
System.Xml (26)
System\Xml\BinaryXml\XmlBinaryReader.cs (2)
373case ConformanceLevel.Document: 399settings.ConformanceLevel = ConformanceLevel.Document; break;
System\Xml\Core\XmlEncodedRawTextWriter.cs (1)
1696if (indentLevel == 1 && conformanceLevel == ConformanceLevel.Document) {
System\Xml\Core\XmlReader.cs (1)
1501return tri != null ? tri.V1ComformanceLevel : ConformanceLevel.Document;
System\Xml\Core\XmlReaderSettings.cs (2)
182if ((uint)value > (uint)ConformanceLevel.Document) { 521conformanceLevel = ConformanceLevel.Document;
System\Xml\Core\XmlTextReaderImpl.cs (4)
481case ConformanceLevel.Document: 486goto case ConformanceLevel.Document; 845case XmlNodeType.Document: settings.ConformanceLevel = ConformanceLevel.Document; break; 8198return fragmentType == XmlNodeType.Element ? ConformanceLevel.Fragment : ConformanceLevel.Document;
System\Xml\Core\XmlUtf8RawTextWriter.cs (1)
1592if (indentLevel == 1 && conformanceLevel == ConformanceLevel.Document) {
System\Xml\Core\XmlWellFormedWriter.cs (7)
267stateTable = (conformanceLevel == ConformanceLevel.Document) ? StateTableDocument : StateTableAuto; 371conformanceLevel = ConformanceLevel.Document; 501if (conformanceLevel == ConformanceLevel.Document) { 542if (conformanceLevel == ConformanceLevel.Document) { 805throw new ArgumentException(Res.GetString(conformanceLevel == ConformanceLevel.Document ? Res.Xml_DupXmlDecl : Res.Xml_CannotWriteXmlDecl)); 1360conformanceLevel = ConformanceLevel.Document; 1824if (conformanceLevel == ConformanceLevel.Document) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (4)
68conformanceLevel = ConformanceLevel.Document; 309if (conformanceLevel == ConformanceLevel.Document) { 656throw new ArgumentException(Res.GetString(conformanceLevel == ConformanceLevel.Document ? Res.Xml_DupXmlDecl : Res.Xml_CannotWriteXmlDecl)); 1003conformanceLevel = ConformanceLevel.Document;
System\Xml\Core\XmlWriterSettings.cs (3)
246if ((uint)value > (uint)ConformanceLevel.Document) { 683conformanceLevel = ConformanceLevel.Document; 841ConformanceLevel = (ConformanceLevel)reader.ReadSByte(0, (sbyte)ConformanceLevel.Document);
System\Xml\Dom\DocumentXmlWriter.cs (1)
78settings.ConformanceLevel = (state == State.Prolog ? ConformanceLevel.Document : ConformanceLevel.Fragment);
System.Xml.Linq (1)
System\Xml\Linq\XLinq.cs (1)
2517settings.ConformanceLevel = this is XDocument ? ConformanceLevel.Document : ConformanceLevel.Fragment;