5 references to CanBeTextValue
System.Xml (5)
System\Xml\Serialization\Mappings.cs (1)
543
if (!hasSimpleContent && text != null && !text.Mapping.TypeDesc.
CanBeTextValue
) {
System\Xml\Serialization\Types.cs (1)
203
get { return isMixed ||
CanBeTextValue
; }
System\Xml\Serialization\XmlReflectionImporter.cs (2)
764
if (!member.Text.Mapping.TypeDesc.
CanBeTextValue
&& member.Text.Mapping.IsList)
1004
if (typeDesc.
CanBeTextValue
|| typeDesc.IsEnum || typeDesc.IsPrimitive)
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1057
if (!(mapping is PrimitiveMapping || mapping.TypeDesc.
CanBeTextValue
)) {