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;
1350
if (structAttrs.
XmlRoot
!= null)
1352
if (structAttrs.
XmlRoot
.ElementName.Length > 0)
1353
xmlElement.ElementName = structAttrs.
XmlRoot
.ElementName;
1357
if (structAttrs.
XmlRoot
.GetIsNullableSpecified())
1358
xmlElement.IsNullable = structAttrs.
XmlRoot
.IsNullable;
1362
xmlElement.Namespace = structAttrs.
XmlRoot
.Namespace;
1363
xmlElement.IsNullable = structAttrs.
XmlRoot
.IsNullable;
1375
else if (a.
XmlRoot
!= null)
1377
CheckNullable(a.
XmlRoot
.IsNullable, typeDesc, null);
2272
string? ns = a.
XmlRoot
== null ? defaultNamespace : a.
XmlRoot
.Namespace;
2283
mapping.SetKeyInternal(XmlMapping.GenerateKey(type, a.
XmlRoot
, defaultNamespace));