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)
542get { return _hasSimpleContent; } 637if (!_hasSimpleContent && text != null && !text.Mapping!.TypeDesc!.CanBeTextValue && !(BaseMapping != null && !BaseMapping.TypeDesc!.IsRoot && (text.Mapping.TypeDesc.IsEnum || text.Mapping.TypeDesc.IsPrimitive)))