Skip to content

Commit 8af0275

Browse files
adegeogewarren
andauthored
Add method naming rule (#23697)
* Update naming-rules.md * Update naming-rules.md * Apply suggestions from code review Co-authored-by: Genevieve Warren <[email protected]> Co-authored-by: Genevieve Warren <[email protected]>
1 parent 7b4f584 commit 8af0275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/fundamentals/code-analysis/style-rules/naming-rules.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ The order in which naming rules are defined in an EditorConfig file doesn't matt
129129

130130
If you don't specify any custom naming rules, the following default styles are used:
131131

132-
- For classes, structs, enumerations, properties, and events with `public`, `private`, `internal`, `protected`, or `protected_internal` accessibility, the default naming style is Pascal case.
132+
- For classes, structs, enumerations, properties, methods, and events with any accessibility, the default naming style is Pascal case.
133133

134-
- For interfaces with `public`, `private`, `internal`, `protected`, or `protected_internal` accessibility, the default naming style is Pascal case with a required prefix of **I**.
134+
- For interfaces with any accessibility, the default naming style is Pascal case with a required prefix of **I**.
135135

136136
## <a name="rule-id-ide1006-naming-rule-violation"></a>Code Rule ID: `IDE1006 (Naming rule violation)`
137137

0 commit comments

Comments
 (0)