Beispiel #1
0
 public void InvalidOperationExceptionIsThrownWhenSourceIsNullAndPredicateIsProvided()
 {
     var source = new Int32[0];
     source.Last(i => i == 0);
 }
Beispiel #2
0
 public void InvalidOperationExceptionIsThrownWhenSourceIsEmpty()
 {
     var source = new Int32[0];
     source.Last();
 }