Skip to content

Commit

Permalink
Update README.md (#481)
Browse files Browse the repository at this point in the history
take advantage of `nameof()`
  • Loading branch information
whoiskevinrich authored and bennor committed May 23, 2018
1 parent bdc34f8 commit cd196d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ class AuthenticatedHttpClientHandler : HttpClientHandler

public AuthenticatedHttpClientHandler(Func<Task<string>> getToken)
{
if (getToken == null) throw new ArgumentNullException("getToken");
if (getToken == null) throw new ArgumentNullException(nameof(getToken));
this.getToken = getToken;
}

Expand Down

0 comments on commit cd196d7

Please sign in to comment.