public void DoesNotCallGetEnumerator()
 {
     IEnumerableWithCount<int> source = new ThrowingEnumerable(0);
     Assert.AreSame(source, source.AsEnumerable());
 }
Beispiel #2
0
 public void DoesNotCallGetEnumerator()
 {
     var source = new ThrowingEnumerable();
     Assert.AreSame(source, source.AsEnumerable());
 }
Beispiel #3
0
        public void DoesNotCallGetEnumerator()
        {
            var source = new ThrowingEnumerable();

            Assert.AreSame(source, source.AsEnumerable());
        }