Base:
property
HasRoot
System.Runtime.Serialization.DataContract.HasRoot
2 writes to HasRoot
System.Runtime.Serialization (2)
System\Runtime\Serialization\SchemaImporter.cs (2)
725
xmlDataContract.
HasRoot
= !IsXmlAnyElementType(xsdType as XmlSchemaComplexType);
732
xmlDataContract.
HasRoot
= true;
4 references to HasRoot
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (1)
1273
if (xmlDataContract.IsAnonymous && !xmlDataContract.
HasRoot
)
System\Runtime\Serialization\XmlDataContract.cs (2)
412
if (this.
HasRoot
!= dataContract.
HasRoot
)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
537
if (isMemberType && !xmlDataContract.
HasRoot
)