Skip to content

Commit cf9d109

Browse files
Merge pull request aspnet#50 from tzachov/patch-2
Use "nameof" instead of string
2 parents 7b53e4a + 5a18287 commit cf9d109

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Microsoft.AspNet.AngularServices/PrimeCacheHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static async Task<HtmlString> PrimeCache(this IHtmlHelper html, string ur
1414
// HTTP requests made during server-side rendering, without risking unnecessary duplicate requests.
1515

1616
if (string.IsNullOrEmpty(url)) {
17-
throw new ArgumentException("Value cannot be null or empty", "url");
17+
throw new ArgumentException("Value cannot be null or empty", nameof(url));
1818
}
1919

2020
try {

0 commit comments

Comments
 (0)