private Select_SelectorIsNull_ArgumentNullExceptionThrown_Indexed ( ) : void | ||
return | void |
public void Select_SelectorIsNull_ArgumentNullExceptionThrown_Indexed()
{
IEnumerable<int> source = Enumerable.Range(1, 10);
Func<int, int, int> selector = null;
Assert.Throws<ArgumentNullException>("selector", () => source.Select(selector));
}