37 references to IsRoot
System.Xml (37)
System\Xml\Serialization\Mappings.cs (4)
528
if (BaseMapping == null || BaseMapping.TypeDesc.
IsRoot
) {
564
if (TypeDesc.
IsRoot
)
570
while (!start.BaseMapping.IsSequence && start.BaseMapping != null && !start.BaseMapping.TypeDesc.
IsRoot
)
580
get { return isSequence && !TypeDesc.
IsRoot
; }
System\Xml\Serialization\SoapCodeExporter.cs (1)
121
if (mapping.TypeDesc.
IsRoot
) {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
461
if (itemTypeMapping.TypeDesc.
IsRoot
) {
System\Xml\Serialization\SoapSchemaExporter.cs (2)
277
if (mapping.TypeDesc.
IsRoot
) return ExportRootMapping(mapping);
346
if (derived.IncludeInSchema) ExportStructMapping(derived, mapping.TypeDesc.
IsRoot
? null : mapping.Namespace);
System\Xml\Serialization\Types.cs (1)
391
return baseTypeDesc.
IsRoot
;
System\Xml\Serialization\XmlCodeExporter.cs (2)
489
if (mapping.TypeDesc.
IsRoot
) {
495
string baseName = mapping.TypeDesc.BaseTypeDesc == null || mapping.TypeDesc.BaseTypeDesc.
IsRoot
? string.Empty : mapping.TypeDesc.BaseTypeDesc.FullName;
System\Xml\Serialization\XmlReflectionImporter.cs (1)
910
else if (itemTypeMapping is StructMapping && itemTypeMapping.TypeDesc.
IsRoot
) {
System\Xml\Serialization\XmlSchemaExporter.cs (3)
228
if (!accessor.Mapping.IncludeInSchema && !accessor.Mapping.TypeDesc.
IsRoot
) {
845
if (mapping is StructMapping && mapping.TypeDesc.
IsRoot
) {
858
if (mapping.TypeDesc.
IsRoot
) {
System\Xml\Serialization\XmlSerializationReader.cs (8)
2256
!mapping.TypeDesc.
IsRoot
) {
3028
if (structMapping.TypeDesc.
IsRoot
) {
3045
if (!structMapping.TypeDesc.
IsRoot
) {
3050
if (structMapping.TypeDesc.
IsRoot
) {
3056
WriteDerivedTypes(structMapping, !useReflection && !structMapping.TypeDesc.
IsRoot
, typeName);
3057
if (structMapping.TypeDesc.
IsRoot
) WriteEnumAndArrayTypes();
3060
if (structMapping.TypeDesc.
IsRoot
)
3191
if(structMapping.TypeDesc.
IsRoot
)
System\Xml\Serialization\XmlSerializationReaderILGen.cs (6)
1415
if (structMapping.TypeDesc.
IsRoot
) {
1449
if (!structMapping.TypeDesc.
IsRoot
) {
1462
if (structMapping.TypeDesc.
IsRoot
) {
1484
WriteDerivedTypes(structMapping, !structMapping.TypeDesc.
IsRoot
, typeName);
1485
if (structMapping.TypeDesc.
IsRoot
) WriteEnumAndArrayTypes();
1487
if (structMapping.TypeDesc.
IsRoot
) {
System\Xml\Serialization\XmlSerializationWriter.cs (5)
1382
!typeMapping.TypeDesc.
IsRoot
) {
2026
if (mapping.IsSoap && mapping.TypeDesc.
IsRoot
) return;
2066
if (mapping.TypeDesc.
IsRoot
)
2071
if (mapping.TypeDesc.
IsRoot
) {
2109
if (!mapping.TypeDesc.
IsRoot
) {
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
939
if (mapping.TypeDesc.
IsRoot
)
942
if (mapping.TypeDesc.
IsRoot
) {
1020
if (!mapping.TypeDesc.
IsRoot
) {