13 references to IsPrimitive
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapReflectionImporter.cs (5)
200
if (!model.TypeDesc.
IsPrimitive
)
427
if (!member.TypeDesc.
IsPrimitive
&& !member.TypeDesc.IsEnum && !member.TypeDesc.IsOptionalValue)
454
if (itemTypeMapping.TypeDesc.IsValueType && !itemTypeMapping.TypeDesc.
IsPrimitive
&& !itemTypeMapping.TypeDesc.IsEnum)
722
if (!accessor.TypeDesc.
IsPrimitive
&& !accessor.TypeDesc.IsEnum)
790
if (typeDesc.
IsPrimitive
&& typeDesc.DataType != null && typeDesc.DataType.Name != null && typeDesc.DataType.Name.Length > 0)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
503
if (td != null && td.
IsPrimitive
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\Types.cs (1)
977
if (directReference && (td.IsCollection || td.IsEnumerable) && !td.
IsPrimitive
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlReflectionImporter.cs (6)
395
if (!modelTypeDesc.
IsPrimitive
)
957
if (typeDesc.
IsPrimitive
&& typeDesc.DataType != null && typeDesc.DataType.Name != null && typeDesc.DataType.Name.Length > 0)
1148
if (typeDesc.CanBeTextValue || typeDesc.IsEnum || typeDesc.
IsPrimitive
)
1564
if (a.XmlAttribute != null && !accessor.TypeDesc.ArrayElementTypeDesc.
IsPrimitive
&& !accessor.TypeDesc.ArrayElementTypeDesc.IsEnum)
1576
bool isList = a.XmlAttribute != null && (accessor.TypeDesc.ArrayElementTypeDesc.
IsPrimitive
|| accessor.TypeDesc.ArrayElementTypeDesc.IsEnum);
1758
if (accessor.TypeDesc.
IsPrimitive
|| accessor.TypeDesc.IsEnum)