mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
Prefer using nameof(x) over literal "x" (#1781)
* updated XML docs and added some missing bits. * prefer nameof(x) over literal "x"
This commit is contained in:
committed by
Ryan Gribble
parent
c223f5ae9a
commit
4e804f61a6
@@ -12,7 +12,7 @@ namespace Octokit
|
||||
|
||||
public Merge(Author author, Author committer, Commit commit, IEnumerable<GitReference> parents, string commentsUrl, int commentCount, string htmlUrl)
|
||||
{
|
||||
Ensure.ArgumentNotNull(parents, "parents");
|
||||
Ensure.ArgumentNotNull(parents, nameof(parents));
|
||||
|
||||
Author = author;
|
||||
Committer = committer;
|
||||
|
||||
Reference in New Issue
Block a user