mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +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
@@ -21,7 +21,7 @@
|
||||
/// <param name="bodyAsObject">The payload from an existing request</param>
|
||||
public ApiResponse(IResponse response, T bodyAsObject)
|
||||
{
|
||||
Ensure.ArgumentNotNull(response, "response");
|
||||
Ensure.ArgumentNotNull(response, nameof(response));
|
||||
|
||||
HttpResponse = response;
|
||||
Body = bodyAsObject;
|
||||
|
||||
Reference in New Issue
Block a user