2 using System.Collections.Generic;
3 using System.Linq.Expressions;
7 public bool ContainsAll<U> (IEnumerable<U> items) where U : T
9 foreach (U item in items) {
10 Expression<Func<bool>> e = () => !Contains (item);
18 public bool Contains (T t)
28 var x = new Foo<int> ();
29 return x.ContainsAll (new [] { 4, 6, 78 }) ? 0 : 1;