8 references to IsAssignableFrom
System.Data.Services (8)
System\Data\Services\Providers\BaseServiceProvider.cs (1)
884
if (c.ResourceType.
IsAssignableFrom
(type))
System\Data\Services\Providers\BasicExpandProvider.cs (1)
910
new Comparison<ResourceType>((x, y) => (x == y) ? 0 : (x.
IsAssignableFrom
(y) ? -1 : 1)));
System\Data\Services\Providers\DataServiceProviderWrapper.cs (1)
999
if (baseType != resourceType && baseType.
IsAssignableFrom
(resourceType) && this.HasNavigationProperties(resourceSet, resourceType))
System\Data\Services\Providers\ResourceAssociationSet.cs (1)
129
if (end.ResourceSet.Name == resourceSet.Name && end.ResourceType.
IsAssignableFrom
(resourceType))
System\Data\Services\Providers\ResourceAssociationSetEnd.cs (2)
59
if (!resourceSet.ResourceType.
IsAssignableFrom
(resourceType) && !resourceType.
IsAssignableFrom
(resourceSet.ResourceType))
System\Data\Services\Providers\ServiceOperation.cs (1)
83
if (resultType != null && resultType.ResourceTypeKind == ResourceTypeKind.EntityType && (resultSet == null || !resultSet.ResourceType.
IsAssignableFrom
(resultType)))
System\Data\Services\Serializers\JsonDeserializer.cs (1)
720
if (expectedType != null && !expectedType.
IsAssignableFrom
(targetType))