mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-31 18:13:21 +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
@@ -4,7 +4,7 @@
|
||||
{
|
||||
public static string GetToken(this Credentials credentials)
|
||||
{
|
||||
Ensure.ArgumentNotNull(credentials, "credentials");
|
||||
Ensure.ArgumentNotNull(credentials, nameof(credentials));
|
||||
|
||||
return credentials.Password;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user