8 instantiations of XDocumentType
System.Private.Xml.Linq (8)
System\Xml\Linq\XContainer.cs (4)
941_currentContainer.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value)); 997_currentContainer.AddNodeSkipNotify(new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false))); 1095newNode = new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value); 1211newNode = new XDocumentType(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XDocumentType.cs (1)
171return new XDocumentType(this);
System\Xml\Linq\XNode.cs (2)
442return new XDocumentType(reader); 498ret = new XDocumentType(name, publicId, systemId, internalSubset);
System\Xml\Linq\XNodeBuilder.cs (1)
86AddNode(new XDocumentType(name, pubid, sysid, subset));
28 references to XDocumentType
netstandard (1)
netstandard.cs (1)
2272[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDocumentType))]
System.Private.Xml.Linq (25)
System\Xml\Linq\XDocument.cs (5)
20/// A Document Type Declaration (DTD), see <see cref="XDocumentType"/> 54/// <item>Zero or one <see cref="XDocumentType"/> objects</item> 81/// <item>Zero or one <see cref="XDocumentType"/> objects</item> 124public XDocumentType? DocumentType 128return GetFirstNode<XDocumentType>();
System\Xml\Linq\XDocumentType.cs (9)
21/// Initializes an empty instance of the <see cref="XDocumentType"/> class. 35/// <param name="other"><see cref="XDocumentType"/> object to copy from.</param> 36public XDocumentType(XDocumentType other) 139/// Write this <see cref="XDocumentType"/> to the passed in <see cref="XmlWriter"/>. 142/// The <see cref="XmlWriter"/> to write this <see cref="XDocumentType"/> to. 152/// Write this <see cref="XDocumentType"/> to the passed in <see cref="XmlWriter"/>. 155/// The <see cref="XmlWriter"/> to write this <see cref="XDocumentType"/> to. 176XDocumentType? other = node as XDocumentType;
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)
26/// <see cref="XDocumentType"/> 600/// target and data. Two <see cref="XDocumentType"/> nodes are equal if the have the
System\Xml\Linq\XNodeEqualityComparer.cs (2)
34/// target and data. Two <see cref="XDocumentType"/> nodes are equal if the have the 73/// target and data. Two <see cref="XDocumentType"/> nodes are equal if the have the
System\Xml\Linq\XNodeReader.cs (5)
219XDocumentType? n = _source as XDocumentType; 379return ((XDocumentType)o).InternalSubset ?? string.Empty; 496XDocumentType? n = _source as XDocumentType;
System\Xml\XPath\XNodeNavigator.cs (1)
927if (node is XDocumentType) throw new ArgumentException(SR.Format(SR.Argument_CreateNavigator, XmlNodeType.DocumentType));
System.Xml.Linq (1)
System.Xml.Linq.cs (1)
14[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDocumentType))]
System.Xml.XDocument (1)
artifacts\obj\System.Xml.XDocument\Debug\net10.0\System.Xml.XDocument.Forwards.cs (1)
13[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.XDocumentType))]