8 instantiations of XDocumentType
System.Private.Xml.Linq (8)
System\Xml\Linq\XContainer.cs (4)
1009
_currentContainer.AddNodeSkipNotify(new
XDocumentType
(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value));
1070
_currentContainer.AddNodeSkipNotify(new
XDocumentType
(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), await r.GetValueAsync().ConfigureAwait(false)));
1176
newNode = new
XDocumentType
(r.LocalName, r.GetAttribute("PUBLIC"), r.GetAttribute("SYSTEM"), r.Value);
1300
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)
439
return new
XDocumentType
(reader);
495
ret = new
XDocumentType
(name, publicId, systemId, internalSubset);
System\Xml\Linq\XNodeBuilder.cs (1)
86
AddNode(new
XDocumentType
(name, pubid, sysid, subset));
104 references to XDocumentType
Microsoft.Extensions.AI.Abstractions.Tests (38)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
380
if (type == typeof(global::System.Xml.Linq.
XDocumentType
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.XDocument.g.cs (3)
73
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Xml.Linq.
XDocumentType
>
88
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.XDocument).GetProperty("DocumentType", InstanceMemberBindingFlags, null, typeof(global::System.Xml.Linq.
XDocumentType
), global::System.Array.Empty<global::System.Type>(), null),
91
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Xml.Linq.
XDocumentType
>(options, info1);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.XDocumentType.g.cs (34)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
>? _XDocumentType;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
> XDocumentType
24
get => _XDocumentType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
>)Options.GetTypeInfo(typeof(global::System.Xml.Linq.
XDocumentType
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
> Create_XDocumentType(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Xml.Linq.
XDocumentType
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::System.Xml.Linq.
XDocumentType
>
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::System.Xml.Linq.
XDocumentType
>(options, objectInfo);
58
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
60
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).InternalSubset,
61
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).InternalSubset = value!,
68
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("InternalSubset", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
80
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).Name,
81
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).Name = value!,
88
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
98
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
100
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).NodeType,
108
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("NodeType", InstanceMemberBindingFlags, null, typeof(global::System.Xml.XmlNodeType), global::System.Array.Empty<global::System.Type>(), null),
118
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
120
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).PublicId,
121
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).PublicId = value!,
128
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("PublicId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
138
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
140
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).SystemId,
141
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).SystemId = value!,
148
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("SystemId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
278
private void XDocumentTypeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Xml.Linq.
XDocumentType
? value)
288
writer.WriteString(PropName_InternalSubset, ((global::System.Xml.Linq.
XDocumentType
)value).InternalSubset);
289
writer.WriteString(PropName_Name, ((global::System.Xml.Linq.
XDocumentType
)value).Name);
291
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::System.Xml.Linq.
XDocumentType
)value).NodeType, XmlNodeType);
292
writer.WriteString(PropName_PublicId, ((global::System.Xml.Linq.
XDocumentType
)value).PublicId);
293
writer.WriteString(PropName_SystemId, ((global::System.Xml.Linq.
XDocumentType
)value).SystemId);
netstandard (1)
netstandard.cs (1)
2272
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.
XDocumentType
))]
Shared.Tests (38)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.GetJsonTypeInfo.g.cs (1)
400
if (type == typeof(global::System.Xml.Linq.
XDocumentType
))
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.XDocument.g.cs (3)
73
var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Xml.Linq.
XDocumentType
>
88
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.XDocument).GetProperty("DocumentType", InstanceMemberBindingFlags, null, typeof(global::System.Xml.Linq.
XDocumentType
), global::System.Array.Empty<global::System.Type>(), null),
91
properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Xml.Linq.
XDocumentType
>(options, info1);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\TestTypesContext.XDocumentType.g.cs (34)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
>? _XDocumentType;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
> XDocumentType
24
get => _XDocumentType ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
>)Options.GetTypeInfo(typeof(global::System.Xml.Linq.
XDocumentType
));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
> Create_XDocumentType(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Xml.Linq.
XDocumentType
>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Xml.Linq.
XDocumentType
> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::System.Xml.Linq.
XDocumentType
>
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::System.Xml.Linq.
XDocumentType
>(options, objectInfo);
58
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
60
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).InternalSubset,
61
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).InternalSubset = value!,
68
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("InternalSubset", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
78
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
80
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).Name,
81
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).Name = value!,
88
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("Name", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
102
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).NodeType,
110
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("NodeType", InstanceMemberBindingFlags, null, typeof(global::System.Xml.XmlNodeType), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
122
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).PublicId,
123
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).PublicId = value!,
130
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("PublicId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
140
DeclaringType = typeof(global::System.Xml.Linq.
XDocumentType
),
142
Getter = static obj => ((global::System.Xml.Linq.
XDocumentType
)obj).SystemId,
143
Setter = static (obj, value) => ((global::System.Xml.Linq.
XDocumentType
)obj).SystemId = value!,
150
AttributeProviderFactory = static () => typeof(global::System.Xml.Linq.
XDocumentType
).GetProperty("SystemId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
281
private void XDocumentTypeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Xml.Linq.
XDocumentType
? value)
291
writer.WriteString(PropName_InternalSubset, ((global::System.Xml.Linq.
XDocumentType
)value).InternalSubset);
292
writer.WriteString(PropName_Name, ((global::System.Xml.Linq.
XDocumentType
)value).Name);
294
global::System.Text.Json.JsonSerializer.Serialize(writer, ((global::System.Xml.Linq.
XDocumentType
)value).NodeType, XmlNodeType);
295
writer.WriteString(PropName_PublicId, ((global::System.Xml.Linq.
XDocumentType
)value).PublicId);
296
writer.WriteString(PropName_SystemId, ((global::System.Xml.Linq.
XDocumentType
)value).SystemId);
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
"/>
597
/// 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)
src\runtime\artifacts\obj\System.Xml.XDocument\Release\net11.0\System.Xml.XDocument.Forwards.cs (1)
13
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.Linq.
XDocumentType
))]