private Select_SourceIsNull_ArgumentNullExceptionThrown_Indexed ( ) : void | ||
return | void |
public void Select_SourceIsNull_ArgumentNullExceptionThrown_Indexed()
{
IEnumerable<int> source = null;
Func<int, int, int> selector = (e, i) => i + 1;
Assert.Throws<ArgumentNullException>("source", () => source.Select(selector));
}