System.Linq.Tests.IntersectTests.SingleNullWithEmpty C# (CSharp) Method

SingleNullWithEmpty() private method

private SingleNullWithEmpty ( ) : void
return void
        public void SingleNullWithEmpty()
        {
            string[] first = { null };
            string[] second = new string[0];
            Assert.Empty(first.AsQueryable().Intersect(second.AsQueryable(), EqualityComparer<string>.Default));
        }