24 references to CanBeCompared
System.Data.Linq (24)
SqlClient\Reader\ObjectReaderCompiler.cs (24)
188
bool canBeCompared = SqlProjectionComparer.
CanBeCompared
(expression);
352
if (!
CanBeCompared
(new1.Args[i])) {
357
if (!
CanBeCompared
(new1.Members[i].Expression)) {
370
if (!
CanBeCompared
(l1.KeyExpressions[i])) {
377
return
CanBeCompared
(((SqlOptionalValue)node).Value);
380
return
CanBeCompared
(((SqlUnary)node).Operand);
382
return
CanBeCompared
(((SqlLift)node).Expression);
385
return
CanBeCompared
(g1.Key) &&
CanBeCompared
(g1.Group);
394
if (!
CanBeCompared
(a1.Expressions[i])) {
403
if (!
CanBeCompared
(c1.Whens[i].Match) ||
404
!
CanBeCompared
(c1.Whens[i].Value)) {
413
if (!
CanBeCompared
(c1.Whens[i].Match) ||
414
!
CanBeCompared
(c1.Whens[i].Value)) {
418
return
CanBeCompared
(c1.Else);
422
if (!
CanBeCompared
(c1.Discriminator)) {
426
if (!
CanBeCompared
(c1.Whens[i].Match)) {
429
if (!
CanBeCompared
(c1.Whens[i].TypeBinding)) {
436
return
CanBeCompared
(((SqlDiscriminatedType)node).Discriminator);
439
return
CanBeCompared
(j1.Count) &&
CanBeCompared
(j1.Expression);
442
return
CanBeCompared
(((SqlMember)node).Expression);
445
if (mc.Object != null && !
CanBeCompared
(mc.Object)) {
449
if (!
CanBeCompared
(mc.Arguments[0])) {