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