System.Linq.Tests.CountTests.NullSourcePredicateUsed C# (CSharp) Method

NullSourcePredicateUsed() private method

private NullSourcePredicateUsed ( ) : void
return void
        public void NullSourcePredicateUsed()
        {
            Assert.Throws<ArgumentNullException>("source", () => ((IQueryable<int>)null).Count(i => i != 0));
        }