6 writes to conformanceLevel
System.Xml (6)
System\Xml\Core\XmlWellFormedWriter.cs (4)
266conformanceLevel = settings.ConformanceLevel; 371conformanceLevel = ConformanceLevel.Document; 1360conformanceLevel = ConformanceLevel.Document; 1384conformanceLevel = ConformanceLevel.Fragment;
System\Xml\Core\XmlWellFormedWriterAsync.cs (2)
68conformanceLevel = ConformanceLevel.Document; 1003conformanceLevel = ConformanceLevel.Document;
18 references to conformanceLevel
System.Xml (18)
System\Xml\Core\XmlWellFormedWriter.cs (11)
267stateTable = (conformanceLevel == ConformanceLevel.Document) ? StateTableDocument : StateTableAuto; 313settings.ConformanceLevel = conformanceLevel; 360if (conformanceLevel == ConformanceLevel.Fragment) { 370if (conformanceLevel == ConformanceLevel.Auto) { 444rawWriter.OnRootElement(conformanceLevel); 501if (conformanceLevel == ConformanceLevel.Document) { 542if (conformanceLevel == ConformanceLevel.Document) { 805throw new ArgumentException(Res.GetString(conformanceLevel == ConformanceLevel.Document ? Res.Xml_DupXmlDecl : Res.Xml_CannotWriteXmlDecl)); 1359if (conformanceLevel == ConformanceLevel.Auto) { 1363else if (conformanceLevel == ConformanceLevel.Fragment) { 1824if (conformanceLevel == ConformanceLevel.Document) {
System\Xml\Core\XmlWellFormedWriterAsync.cs (7)
57if (conformanceLevel == ConformanceLevel.Fragment) { 67if (conformanceLevel == ConformanceLevel.Auto) { 196rawWriter.OnRootElement(conformanceLevel); 309if (conformanceLevel == ConformanceLevel.Document) { 656throw new ArgumentException(Res.GetString(conformanceLevel == ConformanceLevel.Document ? Res.Xml_DupXmlDecl : Res.Xml_CannotWriteXmlDecl)); 1002if (conformanceLevel == ConformanceLevel.Auto) { 1006else if (conformanceLevel == ConformanceLevel.Fragment) {