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