libgit2/libgit2sharp — comment on commit d526b188d7b18b5d4ed8da4c3e1fb3a1b954e470
File: LibGit2Sharp/Index.cs line 159
By nulltoken:

You're both right. `ArgumentNullException` makes little sense. Changing it to ArgumenException will update the following test method as follows.

Do you spot any other inconsistency(ies)?

```C#
[Fact]
public void StageFileWithBadParamsThrows()
{
using (var repo = new Repository(StandardTestRepoPath))
{
Assert.Throws(() => repo.Index.Stage(string.Empty));
Assert.Throws(() => repo.Index.Stage((string)null));
Assert.Throws(() => repo.Index.Stage(new string[] { }));
Assert.Throws(() => repo.Index.Stage(new string[] { null }));
}
}
```