System.Linq.Tests.FirstOrDefaultTests.NullSourcePredicateUsed C# (CSharp) 메소드

NullSourcePredicateUsed() 개인적인 메소드

private NullSourcePredicateUsed ( ) : void
리턴 void
        public void NullSourcePredicateUsed()
        {
            Assert.Throws<ArgumentNullException>("source", () => ((IQueryable<int>)null).FirstOrDefault(i => i != 2));
        }