Skip to content

Commit f4d1754

Browse files
authored
Add 'New' suffix (#45120)
1 parent eb9978d commit f4d1754

File tree

1 file changed

+3
-2
lines changed
  • docs/fundamentals/code-analysis/quality-rules

1 file changed

+3
-2
lines changed

docs/fundamentals/code-analysis/quality-rules/ca1711.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,12 @@ In addition, the following suffixes should **not** be used:
5050

5151
- `Delegate`
5252
- `Enum`
53-
- `Impl` (use `Core` instead)
5453
- `Ex` or similar suffix to distinguish it from an earlier version of the same type
5554
- `Flag` or `Flags` for enum types
55+
- `Impl` (use `Core` instead)
56+
- `New` if a member with the same name but without the `New` suffix already exists
5657

57-
Naming conventions provide a common look for libraries that target the common language runtime. This reduces the learning curve that is required for new software libraries, and increases customer confidence that the library was developed by someone who has expertise in developing managed code. For more information, see [Naming guidelines: Classes, Structs, and Interfaces](../../../standard/design-guidelines/names-of-classes-structs-and-interfaces.md).
58+
Naming conventions provide a common look for libraries that target the .NET common language runtime. These conventions reduce the learning curve that's required for new software libraries and increase customer confidence that the library was developed by someone with expertise in developing managed code. For more information, see [Naming guidelines: Classes, Structs, and Interfaces](../../../standard/design-guidelines/names-of-classes-structs-and-interfaces.md).
5859

5960
## How to fix violations
6061

0 commit comments

Comments
 (0)