public void NullNDoubleSourceWithFunc() { Assert.Throws<ArgumentNullException>("source", () => ((IQueryable<double?>)null).Average(i => i)); }