3 writes to _hasSimpleContent
System.Private.Xml (3)
System\Xml\Serialization\Mappings.cs (3)
618
_hasSimpleContent
= !hasElements && text != null && !text.Mapping!.IsList;
629
_hasSimpleContent
= true;
634
_hasSimpleContent
= false;
2 references to _hasSimpleContent
System.Private.Xml (2)
System\Xml\Serialization\Mappings.cs (2)
541
get { return
_hasSimpleContent
; }
636
if (!
_hasSimpleContent
&& text != null && !text.Mapping!.TypeDesc!.CanBeTextValue && !(BaseMapping != null && !BaseMapping.TypeDesc!.IsRoot && (text.Mapping.TypeDesc.IsEnum || text.Mapping.TypeDesc.IsPrimitive)))