src/Shared/EntityFramework/Core/Query/PlanCompiler/AggregatePushdownUtil.cs
// <summary>
// Determines whether the given node is a VarRef over the given var
// </summary>
Determines whether the given node is a VarRef over the given var
Determines whether the given node is a VarRef over the given var
internal static bool IsVarRefOverGivenVar(Node node, Var var)
        {
            if (node.Op.OpType
                != OpType.VarRef)
            {
                return false;
            }
            return ((VarRefOp)node.Op).Var == var;
        }
internal static bool IsVarRefOverGivenVar ( Node node , Var var ) { if ( node . Op . OpType != OpType . VarRef ) { return false ; } return ( ( VarRefOp ) node . Op ) . Var == var ; }
Determines whether the given node is a VarRef over the given var
Determines whether the given node is a VarRef over the given var
node
Node
var
Var