4 instantiations of XDocumentType
System.ServiceModel.Web (1)
System\ServiceModel\Dispatcher\HelpHtmlBuilder.cs (1)
229new XDocumentType("html", "-//W3C//DTD XHTML 1.0 Transitional//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd", null),
System.Xml.Linq (3)
System\Xml\Linq\XLinq.cs (3)
1842return new XDocumentType(reader); 6509return new XDocumentType(this); 7923AddNode(new XDocumentType(name, pubid, sysid, subset));
25 references to XDocumentType
System.Xml.Linq (25)
System\Xml\Linq\XLinq.cs (24)
1454/// <see cref="XDocumentType"/> 1929/// target and data. Two <see cref="XDocumentType"/> nodes are equal if the have the 2105/// target and data. Two <see cref="XDocumentType"/> nodes are equal if the have the 2143/// target and data. Two <see cref="XDocumentType"/> nodes are equal if the have the 5135if (node is XDocumentType) throw new ArgumentException(Res.GetString(Res.Argument_AddNode, XmlNodeType.DocumentType)); 5398/// A Document Type Declaration (DTD), see <see cref="XDocumentType"/> 5431/// <item>Zero or one <see cref="XDocumentType"/> objects</item> 5456/// <item>Zero or one <see cref="XDocumentType"/> objects</item> 5493public XDocumentType DocumentType { 5495return GetFirstNode<XDocumentType>(); 6377/// Initializes an empty instance of the <see cref="XDocumentType"/> class. 6390/// <param name="other"><see cref="XDocumentType"/> object to copy from.</param> 6391public XDocumentType(XDocumentType other) { 6498/// Write this <see cref="XDocumentType"/> to the passed in <see cref="XmlWriter"/>. 6501/// The <see cref="XmlWriter"/> to write this <see cref="XDocumentType"/> to. 6513XDocumentType other = node as XDocumentType; 8232XDocumentType n = source as XDocumentType; 8358return ((XDocumentType)o).InternalSubset; 8445XDocumentType n = source as XDocumentType; 8830XDocumentType doctype = this.source as XDocumentType;
System\Xml\Linq\XNodeNavigator.cs (1)
829if (node is XDocumentType) throw new ArgumentException(System.Xml.Linq.Res.GetString(System.Xml.Linq.Res.Argument_CreateNavigator, XmlNodeType.DocumentType));