3 writes to _hasSimpleContent
System.Private.Xml (3)
System\Xml\Serialization\Mappings.cs (3)
619
_hasSimpleContent
= !hasElements && text != null && !text.Mapping!.IsList;
630
_hasSimpleContent
= true;
635
_hasSimpleContent
= false;
2 references to _hasSimpleContent
System.Private.Xml (2)
System\Xml\Serialization\Mappings.cs (2)
542
get { return
_hasSimpleContent
; }
637
if (!
_hasSimpleContent
&& text != null && !text.Mapping!.TypeDesc!.CanBeTextValue && !(BaseMapping != null && !BaseMapping.TypeDesc!.IsRoot && (text.Mapping.TypeDesc.IsEnum || text.Mapping.TypeDesc.IsPrimitive)))