Skip to content

Commit 4cc4a19

Browse files
authored
Merge pull request #2485 from gewarren/ec-712
Fix style convention names
2 parents 0f25568 + 575e966 commit 4cc4a19

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/ide/editorconfig-code-style-settings-reference.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.workload:
2121
---
2222
# .NET coding convention settings for EditorConfig
2323

24-
In Visual Studio 2017, you can define and maintain consistent code style in your codebase with the use of an [EditorConfig](../ide/create-portable-custom-editor-options.md) file. EditorConfig includes several core formatting properties, such as `indent_style` and `indent_size`. In Visual Studio, .NET coding conventions settings can also be configured using an EditorConfig file. EditorConfig files allow you to enable or disable individual .NET coding conventions, and to configure the degree to which you want the convention enforced via a severity level. To learn more about how to use EditorConfig to enforce consistency in your codebase, read [Create portable custom editor options](../ide/create-portable-custom-editor-options.md).
24+
In Visual Studio 2017, you can define and maintain consistent code style in your codebase with the use of an [EditorConfig](../ide/create-portable-custom-editor-options.md) file. EditorConfig includes several core formatting properties, such as `indent_style` and `indent_size`. In Visual Studio, .NET coding conventions settings can also be configured using an EditorConfig file. EditorConfig files allow you to enable or disable individual .NET coding conventions, and to configure the degree to which you want the convention enforced via a severity level. To learn more about how to use EditorConfig to enforce consistency in your codebase, read [Create portable custom editor options](../ide/create-portable-custom-editor-options.md).
2525

2626
See the end of this document for an example .editorconfig.
2727

@@ -583,7 +583,7 @@ Public ReadOnly Property Age As Integer
583583
Get
584584
return _age
585585
End Get
586-
End Property
586+
End Property
587587
```
588588

589589
**dotnet\_style\_prefer\_is\_null\_check\_over\_reference\_equality\_method**
@@ -1722,7 +1722,7 @@ interface I
17221722

17231723
}
17241724

1725-
class C : I
1725+
class C : I
17261726
{
17271727

17281728
}
@@ -1733,7 +1733,7 @@ interface I
17331733

17341734
}
17351735

1736-
class C: I
1736+
class C: I
17371737
{
17381738

17391739
}
@@ -1753,7 +1753,7 @@ interface I
17531753

17541754
}
17551755

1756-
class C : I
1756+
class C : I
17571757
{
17581758

17591759
}
@@ -1764,7 +1764,7 @@ interface I
17641764

17651765
}
17661766

1767-
class C :I
1767+
class C :I
17681768
{
17691769

17701770
}
@@ -2007,8 +2007,8 @@ dotnet_style_explicit_tuple_names = true:suggestion
20072007
dotnet_style_null_propagation = true:suggestion
20082008
dotnet_style_coalesce_expression = true:suggestion
20092009
dotnet_style_prefer_is_null_check_over_reference_equality_method = true:none
2010-
dotnet_prefer_inferred_tuple_names = true:suggestion
2011-
dotnet_prefer_inferred_anonymous_type_member_names = true:suggestion
2010+
dotnet_style_prefer_inferred_tuple_names = true:suggestion
2011+
dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion
20122012
dotnet_style_prefer_auto_properties = true:none
20132013

20142014
###############################
@@ -2018,7 +2018,7 @@ dotnet_style_prefer_auto_properties = true:none
20182018
# Style Definitions
20192019
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
20202020

2021-
# Use PascalCase for constant fields
2021+
# Use PascalCase for constant fields
20222022
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
20232023
dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
20242024
dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
@@ -2074,14 +2074,14 @@ csharp_new_line_before_members_in_anonymous_types = true
20742074
csharp_new_line_between_query_expression_clauses = true
20752075

20762076
# Indentation preferences
2077-
csharp_indent_case_contents = true
2078-
csharp_indent_switch_labels = true
2077+
csharp_indent_case_contents = true
2078+
csharp_indent_switch_labels = true
20792079
csharp_indent_labels = flush_left
20802080

20812081
# Space preferences
20822082
csharp_space_after_cast = false
20832083
csharp_space_after_keywords_in_control_flow_statements = true
2084-
csharp_space_between_method_call_parameter_list_parentheses = false
2084+
csharp_space_between_method_call_parameter_list_parentheses = false
20852085
csharp_space_between_method_declaration_parameter_list_parentheses = false
20862086
csharp_space_between_parentheses = false
20872087
csharp_space_before_colon_in_inheritance_clause = true

0 commit comments

Comments
 (0)