6 writes to ReferencedByTopLevelElement
System.Xml (6)
System\Xml\Serialization\SchemaImporter.cs (1)
139
structMapping.
ReferencedByTopLevelElement
= true;
System\Xml\Serialization\XmlSchemaImporter.cs (5)
541
baseMapping.
ReferencedByTopLevelElement
= false;
791
element.Mapping.
ReferencedByTopLevelElement
= false;
1240
arrayMapping.TopLevelMapping.
ReferencedByTopLevelElement
= true;
1357
accessor.Mapping.
ReferencedByTopLevelElement
= false;
1447
xmlnsMapping.
ReferencedByTopLevelElement
= true;
1 reference to ReferencedByTopLevelElement
System.Xml (1)
System\Xml\Serialization\XmlCodeExporter.cs (1)
113
if (mapping is StructMapping && checkReference && ((StructMapping)mapping).
ReferencedByTopLevelElement
&& rootElement == null)