31 references to CheckElementTypeIsEntity
System.Data.Services.Client (31)
System\Data\Services\Client\ALinq\ExpressionNormalizer.cs (1)
176
if(!(ClientType.
CheckElementTypeIsEntity
(visited.Operand.Type) && ProjectionAnalyzer.IsCollectionProducingExpression(visited.Operand)))
System\Data\Services\Client\ALinq\PathBox.cs (2)
106
if (ClientType.
CheckElementTypeIsEntity
(t))
131
if (ClientType.
CheckElementTypeIsEntity
(t))
System\Data\Services\Client\ALinq\ProjectionAnalyzer.cs (21)
51
if (ClientType.
CheckElementTypeIsEntity
(le.Body.Type))
82
bool knownEntityType = ClientType.
CheckElementTypeIsEntity
(e.Body.Type);
204
bool knownEntityType = ClientType.
CheckElementTypeIsEntity
(mie.Type);
333
bool targetIsEntity = ClientType.
CheckElementTypeIsEntity
(targetType);
334
bool sourceIsEntity = ClientType.
CheckElementTypeIsEntity
(lastExpression.Type);
401
if (!ClientType.
CheckElementTypeIsEntity
(m.Expression.Type) || IsCollectionProducingExpression(m.Expression))
472
if (ClientType.
CheckElementTypeIsEntity
(nex.Type))
564
if (ClientType.
CheckElementTypeIsEntity
(u.Operand.Type))
575
if (ClientType.
CheckElementTypeIsEntity
(b.Left.Type) || ClientType.
CheckElementTypeIsEntity
(b.Right.Type)
586
if (ClientType.
CheckElementTypeIsEntity
(b.Expression.Type) || IsCollectionProducingExpression(b.Expression))
603
if (ClientType.
CheckElementTypeIsEntity
(c.Test.Type) || ClientType.
CheckElementTypeIsEntity
(c.IfTrue.Type) || ClientType.
CheckElementTypeIsEntity
(c.IfFalse.Type)
635
if (!ClientType.
CheckElementTypeIsEntity
(m.Expression.Type) || IsCollectionProducingExpression(m.Expression))
667
if ((m.Object != null ? ClientType.
CheckElementTypeIsEntity
(m.Object.Type) : false)
668
|| m.Arguments.Any(a => ClientType.
CheckElementTypeIsEntity
(a.Type)))
678
if (ClientType.
CheckElementTypeIsEntity
(iv.Expression.Type) || IsCollectionProducingExpression(iv.Expression)
679
|| iv.Arguments.Any(a => ClientType.
CheckElementTypeIsEntity
(a.Type) || IsCollectionProducingExpression(a)))
702
if (ClientType.
CheckElementTypeIsEntity
(nex.Type) &&
724
if (ClientType.
CheckElementTypeIsEntity
(c.Type))
System\Data\Services\Client\ALinq\ProjectionRewriter.cs (1)
48
ClientType.
CheckElementTypeIsEntity
(le.Parameters[0].Type) || // only attempt to rewrite if lambda parameter is not an entity type
System\Data\Services\Client\AtomMaterializer.cs (1)
667
bool isEntity = property.CollectionType == null || !ClientType.
CheckElementTypeIsEntity
(property.CollectionType);
System\Data\Services\Client\ProjectionPathBuilder.cs (2)
144
bool isEntityType = ClientType.
CheckElementTypeIsEntity
(projectionType);
160
bool isEntityType = ClientType.
CheckElementTypeIsEntity
(init.Type);
System\Data\Services\Client\ProjectionPlanCompiler.cs (3)
146
if (!nullCheck.Match || !ClientType.
CheckElementTypeIsEntity
(nullCheck.AssignExpression.Type))
347
if (!this.topLevelProjectionFound || lambda.Parameters.Count == 1 && ClientType.
CheckElementTypeIsEntity
(lambda.Parameters[0].Type))
597
if ((ClientType.
CheckElementTypeIsEntity
(assignment.Member.ReflectedType) &&