83 references to DocumentType
Microsoft.Build.Tasks.Core (1)
XamlTaskFactory\RelationsParser.cs (1)
597(node.NodeType != XmlNodeType.DocumentType)
System.Configuration.ConfigurationManager (3)
System\Configuration\MgmtConfigurationRecord.cs (1)
633case XmlNodeType.DocumentType:
System\Configuration\XmlUtil.cs (2)
86case XmlNodeType.DocumentType: 713if (nodeType == XmlNodeType.DocumentType)
System.Data.Common (5)
System\Xml\DataPointer.cs (4)
522case XmlNodeType.DocumentType: 703case XmlNodeType.DocumentType: 730case XmlNodeType.DocumentType: 754if (NodeType == XmlNodeType.DocumentType)
System\Xml\XmlDataDocument.cs (1)
1060XmlNodeType.DocumentType => CreateDocumentType(dp.Name, dp.PublicId, dp.SystemId, dp.InternalSubset),
System.Private.DataContractSerialization (2)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
1033case XmlNodeType.DocumentType:
System\Xml\XmlDictionaryWriter.cs (1)
419case XmlNodeType.DocumentType:
System.Private.Xml (58)
System\Xml\BinaryXml\XmlBinaryReader.cs (3)
476case XmlNodeType.DocumentType: 806else if (XmlNodeType.DocumentType == _parentNodeType) 3144_nodetype = XmlNodeType.DocumentType;
System\Xml\Core\XmlCharCheckingReader.cs (2)
216case XmlNodeType.DocumentType: 292case XmlNodeType.DocumentType:
System\Xml\Core\XmlCharCheckingReaderAsync.cs (2)
78case XmlNodeType.DocumentType: 154case XmlNodeType.DocumentType:
System\Xml\Core\XmlReader.cs (5)
1170case XmlNodeType.DocumentType: 1316Debug.Assert(0 == (IsTextualNodeBitmap & (1 << (int)XmlNodeType.DocumentType))); 1343Debug.Assert(0 == (CanReadContentAsBitmap & (1 << (int)XmlNodeType.DocumentType))); 1370Debug.Assert(0 != (HasValueBitmap & (1 << (int)XmlNodeType.DocumentType))); 1801case XmlNodeType.DocumentType:
System\Xml\Core\XmlReaderAsync.cs (1)
244case XmlNodeType.DocumentType:
System\Xml\Core\XmlTextReaderImpl.cs (1)
6737_curNode.SetNamedNode(XmlNodeType.DocumentType, _dtdInfo.Name.ToString(), string.Empty, null);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
4478_curNode.SetNamedNode(XmlNodeType.DocumentType, _dtdInfo.Name.ToString(), string.Empty, null);
System\Xml\Core\XmlValidatingReaderImpl.cs (1)
1107case XmlNodeType.DocumentType:
System\Xml\Core\XmlWriter.cs (1)
407case XmlNodeType.DocumentType:
System\Xml\Core\XmlWriterAsync.cs (2)
341case XmlNodeType.DocumentType: 404case XmlNodeType.DocumentType:
System\Xml\Core\XsdValidatingReader.cs (1)
2030case XmlNodeType.DocumentType:
System\Xml\Core\XsdValidatingReaderAsync.cs (1)
523case XmlNodeType.DocumentType:
System\Xml\Dom\XmlDocument.cs (10)
369get { return (XmlDocumentType?)FindChild(XmlNodeType.DocumentType); } 472case XmlNodeType.DocumentType: 542case XmlNodeType.DocumentType: 559return !HasNodeTypeInNextSiblings(XmlNodeType.DocumentType, refChild); 583case XmlNodeType.DocumentType: 592return !HasNodeTypeInNextSiblings(XmlNodeType.DocumentType, refChild.NextSibling); 769case XmlNodeType.DocumentType: 998case XmlNodeType.DocumentType: 1148case XmlNodeType.DocumentType: 1238return XmlNodeType.DocumentType;
System\Xml\Dom\XmlDocumentType.cs (1)
55get { return XmlNodeType.DocumentType; }
System\Xml\Dom\XmlLoader.cs (2)
217case XmlNodeType.DocumentType: 419Debug.Assert(_reader!.NodeType == XmlNodeType.DocumentType);
System\Xml\Dom\XmlNode.cs (1)
1481case XmlNodeType.DocumentType:
System\Xml\Dom\XmlNodeReader.cs (18)
110Debug.Assert(nt == XmlNodeType.XmlDeclaration || nt == XmlNodeType.DocumentType); 131Debug.Assert(_curNode.NodeType == XmlNodeType.XmlDeclaration || _curNode.NodeType == XmlNodeType.DocumentType); 190case XmlNodeType.DocumentType: 214Debug.Assert(_curNode.NodeType == XmlNodeType.XmlDeclaration || _curNode.NodeType == XmlNodeType.DocumentType); 218if (_curNode.Value != null || _curNode.NodeType == XmlNodeType.DocumentType) 235Debug.Assert(nt == XmlNodeType.XmlDeclaration || nt == XmlNodeType.DocumentType); 242if (nt == XmlNodeType.DocumentType) 336|| (_bOnAttrVal && nt != XmlNodeType.XmlDeclaration && nt != XmlNodeType.DocumentType)) 345else if (nt == XmlNodeType.DocumentType) 497XmlNodeType.DocumentType => GetDocumentTypeAttr((XmlDocumentType)_curNode, name), 519XmlNodeType.DocumentType => (ns.Length == 0) ? GetDocumentTypeAttr((XmlDocumentType)_curNode, name) : null, 541case XmlNodeType.DocumentType: 575return (nt == XmlNodeType.XmlDeclaration || nt == XmlNodeType.DocumentType); 675else if (nt == XmlNodeType.DocumentType && namespaceURI.Length == 0) 713case XmlNodeType.DocumentType: 759else if (nt == XmlNodeType.DocumentType) 839case XmlNodeType.DocumentType: 1053Debug.Assert(_curNode.NodeType == XmlNodeType.XmlDeclaration || _curNode.NodeType == XmlNodeType.DocumentType);
System\Xml\XPath\XPathDocument.cs (1)
273case XmlNodeType.DocumentType:
System\Xml\XPath\XPathNavigator.cs (1)
2107case XmlNodeType.DocumentType:
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
454case XmlNodeType.DocumentType: 502case XmlNodeType.DocumentType:
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
60case XmlNodeType.DocumentType:
System.Private.Xml.Linq (14)
System\Xml\Linq\XContainer.cs (4)
940case XmlNodeType.DocumentType: 996case XmlNodeType.DocumentType: 1094case XmlNodeType.DocumentType: 1210case XmlNodeType.DocumentType:
System\Xml\Linq\XDocument.cs (3)
904ValidateDocument(previous, XmlNodeType.DocumentType, XmlNodeType.None); 906case XmlNodeType.DocumentType: 926if (nt == XmlNodeType.Element || nt == XmlNodeType.DocumentType)
System\Xml\Linq\XDocumentType.cs (1)
100return XmlNodeType.DocumentType;
System\Xml\Linq\XElement.cs (1)
2126if (node is XDocumentType) throw new ArgumentException(SR.Format(SR.Argument_AddNode, XmlNodeType.DocumentType));
System\Xml\Linq\XNode.cs (2)
441case XmlNodeType.DocumentType: 492case XmlNodeType.DocumentType:
System\Xml\Linq\XNodeReader.cs (2)
170case XmlNodeType.DocumentType: 378case XmlNodeType.DocumentType:
System\Xml\XPath\XNodeNavigator.cs (1)
927if (node is XDocumentType) throw new ArgumentException(SR.Format(SR.Argument_CreateNavigator, XmlNodeType.DocumentType));