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