// Methods public static bool IsIndependent(Expression expression) { var checker = new DependenceChecker(); checker.Visit(expression); return(checker.isIndependent); }
/// <summary> /// This method returns 'true' when the expression doesn't reference any parameters /// from outside the scope of the expression. /// </summary> static public bool IsIndependent(Expression expression) { var v = new DependenceChecker(); v.Visit(expression); return(v.isIndependent); }
/// <summary> /// This method returns 'true' when the expression doesn't reference any parameters /// from outside the scope of the expression. /// </summary> static public bool IsIndependent(Expression expression) { var v = new DependenceChecker(); v.Visit(expression); return v.isIndependent; }