SqlClient\Reader\ObjectReaderCompiler.cs (25)
323SqlProjectionComparer.AreSimilar(projection, info.Value.projection)
486if (!AreSimilar(new1.Args[i], new2.Args[i])) {
492!AreSimilar(new1.Members[i].Expression, new2.Members[i].Expression)) {
513if (!AreSimilar(l1.KeyExpressions[i], l2.KeyExpressions[i])) {
524return AreSimilar(ov1.Value, ov2.Value);
528return AreSimilar(((SqlUnary)node1).Operand, ((SqlUnary)node2).Operand);
530return AreSimilar(((SqlLift)node1).Expression, ((SqlLift)node2).Expression);
534return AreSimilar(g1.Key, g2.Key) && AreSimilar(g1.Group, g2.Group);
543if (!AreSimilar(a1.Expressions[i], a2.Expressions[i])) {
558if (!AreSimilar(c1.Whens[i].Match, c2.Whens[i].Match) ||
559!AreSimilar(c1.Whens[i].Value, c2.Whens[i].Value)) {
572if (!AreSimilar(c1.Whens[i].Match, c2.Whens[i].Match) ||
573!AreSimilar(c1.Whens[i].Value, c2.Whens[i].Value))
576return AreSimilar(c1.Else, c2.Else);
581if (!AreSimilar(c1.Discriminator, c2.Discriminator)) {
588if (!AreSimilar(c1.Whens[i].Match, c2.Whens[i].Match)) {
591if (!AreSimilar(c1.Whens[i].TypeBinding, c2.Whens[i].TypeBinding)) {
600return AreSimilar(dt1.Discriminator, dt2.Discriminator);
605return AreSimilar(j1.Count, j2.Count) && AreSimilar(j1.Expression, j2.Expression);
610return m1.Member == m2.Member && AreSimilar(m1.Expression, m2.Expression);
619if (!AreSimilar(cq1.Arguments[i], cq2.Arguments[i])) {
628if (mc1.Method != mc2.Method || !AreSimilar(mc1.Object, mc2.Object)) {
635if (!AreSimilar(mc1.Arguments[i], mc2.Arguments[i])) {