System.Linq.Tests.LegacyTests.SelectManyTests.NullIndexedCollectionSelector C# (CSharp) Метод

NullIndexedCollectionSelector() приватный Метод

private NullIndexedCollectionSelector ( ) : void
Результат void
        public void NullIndexedCollectionSelector()
        {
            Expression<Func<StringWithIntArray, int, IEnumerable<int?>>> collectionSelector = null;
            Assert.Throws<ArgumentNullException>("collectionSelector", () => Enumerable.Empty<StringWithIntArray>().AsQueryable().SelectMany(collectionSelector, (e, f) => f.ToString()));
        }