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)));
1095
newNode = new
XDocumentType
(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value);
1211
newNode = new
XDocumentType
(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false));
System\Xml\Linq\XDocumentType.cs (1)
171
return new
XDocumentType
(this);
System\Xml\Linq\XNode.cs (2)
442
return new
XDocumentType
(reader);
498
ret = new
XDocumentType
(name, publicId, systemId, internalSubset);
System\Xml\Linq\XNodeBuilder.cs (1)
86
AddNode(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>
124
public
XDocumentType
? DocumentType
128
return 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>
36
public 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.
176
XDocumentType
? other = node as
XDocumentType
;
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)
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)
219
XDocumentType
? n = _source as
XDocumentType
;
379
return ((
XDocumentType
)o).InternalSubset ?? string.Empty;
496
XDocumentType
? n = _source as
XDocumentType
;
System\Xml\XPath\XNodeNavigator.cs (1)
927
if (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
))]