public void SourceSequenceIsReadEagerly()
 {
     var source = new ThrowingEnumerable();
     Assert.Throws<InvalidOperationException>(() => source.ToLookup(x => x));
 }
Exemple #2
0
        public void SourceSequenceIsReadEagerly()
        {
            var source = new ThrowingEnumerable();

            Assert.Throws <InvalidOperationException>(() => source.ToLookup(x => x));
        }