Skip to content

Commit 3bff151

Browse files
authored
Update ca1507.md
1 parent 52bf828 commit 3bff151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/code-quality/ca1507.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ A `string` literal or constant that matches the name of a parameter of the conta
2929

3030
## Rule description
3131

32-
Rule CA1507 flags the use of a `string` literal as an argument to a method or constructor where a [nameof](/dotnet/csharp/language-reference/keywords/nameof) (`NameOf` in Visual Basic) expression would add readability and maintainability. The rule fires if all of the following conditions are met:
32+
Rule CA1507 flags the use of a `string` literal as an argument to a method or constructor where a [nameof](/dotnet/csharp/language-reference/keywords/nameof) (`NameOf` in Visual Basic) expression would add maintainability. The rule fires if all of the following conditions are met:
3333

3434
- The argument is a `string` literal or constant.
3535

0 commit comments

Comments
 (0)