System.Linq.Tests.CountTests.NullPredicateUsed C# (CSharp) 메소드

NullPredicateUsed() 개인적인 메소드

private NullPredicateUsed ( ) : void
리턴 void
        public void NullPredicateUsed()
        {
            Expression<Func<int, bool>> predicate = null;
            Assert.Throws<ArgumentNullException>("predicate", () => Enumerable.Range(0, 3).AsQueryable().Count(predicate));
        }