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;
1356
if (structAttrs.
XmlRoot
!= null)
1358
if (structAttrs.
XmlRoot
.ElementName.Length > 0)
1359
xmlElement.ElementName = structAttrs.
XmlRoot
.ElementName;
1363
if (structAttrs.
XmlRoot
.GetIsNullableSpecified())
1364
xmlElement.IsNullable = structAttrs.
XmlRoot
.IsNullable;
1368
xmlElement.Namespace = structAttrs.
XmlRoot
.Namespace;
1369
xmlElement.IsNullable = structAttrs.
XmlRoot
.IsNullable;
1381
else if (a.
XmlRoot
!= null)
1383
CheckNullable(a.
XmlRoot
.IsNullable, typeDesc, null);
2308
string? ns = a.
XmlRoot
== null ? defaultNamespace : a.
XmlRoot
.Namespace;
2319
mapping.SetKeyInternal(XmlMapping.GenerateKey(type, a.
XmlRoot
, defaultNamespace));