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