Open
Description
From https://github.com/libgit2/libgit2sharp/pull/1068/files#r31650592
We rely on the following pattern throughout the codebase.
public Things DoThings()
{
return DoThings(null);
}
public Things DoThings(ThingsOptions options)
{
options = options ?? new ThingsOptions();
[...]
}
Let's change this to the following one
public Things DoThings()
{
return DoThings(new ThingsOptions());
}
public Things DoThings(ThingsOptions options)
{
Ensure.ArgumentNotNull(options);
[...]
}