16 references to XmlRoot
System.Private.Xml (16)
System\Xml\Serialization\XmlReflectionImporter.cs (16)
272
root ??= a.
XmlRoot
;
736
else if (a.
XmlRoot
!= null && a.
XmlRoot
.Namespace != null)
737
typeNs = a.
XmlRoot
.Namespace;
1354
if (structAttrs.
XmlRoot
!= null)
1356
if (structAttrs.
XmlRoot
.ElementName.Length > 0)
1357
xmlElement.ElementName = structAttrs.
XmlRoot
.ElementName;
1361
if (structAttrs.
XmlRoot
.GetIsNullableSpecified())
1362
xmlElement.IsNullable = structAttrs.
XmlRoot
.IsNullable;
1366
xmlElement.Namespace = structAttrs.
XmlRoot
.Namespace;
1367
xmlElement.IsNullable = structAttrs.
XmlRoot
.IsNullable;
1379
else if (a.
XmlRoot
!= null)
1381
CheckNullable(a.
XmlRoot
.IsNullable, typeDesc, null);
2306
string? ns = a.
XmlRoot
== null ? defaultNamespace : a.
XmlRoot
.Namespace;
2317
mapping.SetKeyInternal(XmlMapping.GenerateKey(type, a.
XmlRoot
, defaultNamespace));