1 write to HasRoot
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
716
xmlDataContract.
HasRoot
= !IsXmlAnyElementType(xsdType as XmlSchemaComplexType);
5 references to HasRoot
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\XmlDataContract.cs (2)
392
if (this.
HasRoot
!= dataContract.
HasRoot
)
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
515
if (isMemberType && !xmlDataContract.
HasRoot
)
System\Runtime\Serialization\XsdDataContractExporter.cs (1)
234
if (dataContract is not XmlDataContract xdc || xdc.
HasRoot
) // All non-XmlDataContracts "have root".
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1289
if (xmlDataContract.IsAnonymous && !xmlDataContract.
HasRoot
)