public void Test004() { var xfr = new ExpressionFinder(); var needle = Expression.Parameter(typeof(int)); var haystack = default(Expression); Assert.IsFalse(xfr.Exists(needle, haystack)); }
public void Test004() { var xfr = new ExpressionFinder(); var needle = Expression.Parameter(typeof(int)); var haystack = default(Expression); Assert.IsFalse(xfr.Exists(needle, haystack)); }
public void Test002() { var xfr = new ExpressionFinder(); var needle = Expression.Parameter(typeof(int)); var haystack = Expression.Add( Expression.Add(Expression.Parameter(typeof(int)), Expression.Parameter(typeof(int))), Expression.Multiply(Expression.Parameter(typeof(int)), Expression.Parameter(typeof(int))) ); Assert.IsFalse(xfr.Exists(needle, haystack)); }
public void Test002() { var xfr = new ExpressionFinder(); var needle = Expression.Parameter(typeof(int)); var haystack = Expression.Add( Expression.Add(Expression.Parameter(typeof(int)), Expression.Parameter(typeof(int))), Expression.Multiply(Expression.Parameter(typeof(int)), Expression.Parameter(typeof(int))) ); Assert.IsFalse(xfr.Exists(needle, haystack)); }