Skip to content

Commit fc90e57

Browse files
authored
Updated FilterAliasAttribute to use nameof(alias) when throwing an ArgumentNullException when the alias param is null or empty. (#146)
1 parent e366fd5 commit fc90e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.FeatureManagement/FilterAliasAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public FilterAliasAttribute(string alias)
1818
{
1919
if (string.IsNullOrEmpty(alias))
2020
{
21-
throw new ArgumentNullException(alias);
21+
throw new ArgumentNullException(nameof(alias));
2222
}
2323

2424
Alias = alias;

0 commit comments

Comments
 (0)