public void NullItem() { Assert.Throws<ArgumentNullException>("argNames[1]", () => new CallInfo(3, "foo", null, "bar")); Assert.Throws<ArgumentNullException>( "argNames[0]", () => new CallInfo(3, Enumerable.Repeat(default(string), 2))); }