@@ -54,10 +54,19 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
5454# Use PascalCase for constant fields
5555dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
5656dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields
57- dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
57+ dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style
5858dotnet_naming_symbols.constant_fields.applicable_kinds = field
5959dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
6060dotnet_naming_symbols.constant_fields.required_modifiers = const
61+ dotnet_style_prefer_simplified_boolean_expressions = true :suggestion
62+ dotnet_style_prefer_compound_assignment = true :suggestion
63+ dotnet_style_prefer_simplified_interpolation = true :suggestion
64+ dotnet_style_namespace_match_folder = true :suggestion
65+ dotnet_style_operator_placement_when_wrapping = beginning_of_line
66+ tab_width = 4
67+ end_of_line = crlf
68+ dotnet_style_allow_multiple_blank_lines_experimental = true :silent
69+ dotnet_style_allow_statement_immediately_after_block_experimental = true :silent
6170# ##############################
6271# C# Coding Conventions #
6372# ##############################
@@ -101,7 +110,7 @@ csharp_new_line_between_query_expression_clauses = true
101110# Indentation preferences
102111csharp_indent_case_contents = true
103112csharp_indent_switch_labels = true
104- csharp_indent_labels = flush_left
113+ csharp_indent_labels = one_less_than_current
105114# Space preferences
106115csharp_space_after_cast = false
107116csharp_space_after_keywords_in_control_flow_statements = true
@@ -117,6 +126,29 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
117126# Wrapping preferences
118127csharp_preserve_single_line_statements = true
119128csharp_preserve_single_line_blocks = true
129+ csharp_using_directive_placement = outside_namespace:silent
130+ csharp_prefer_simple_using_statement = true :suggestion
131+ csharp_style_namespace_declarations = block_scoped:silent
132+ csharp_style_prefer_method_group_conversion = true :silent
133+ csharp_style_prefer_top_level_statements = true :silent
134+ csharp_style_prefer_primary_constructors = true :suggestion
135+ csharp_style_expression_bodied_lambdas = true :silent
136+ csharp_style_expression_bodied_local_functions = false :silent
137+ csharp_style_prefer_null_check_over_type_check = true :suggestion
138+ csharp_style_prefer_local_over_anonymous_function = true :suggestion
139+ csharp_style_prefer_index_operator = true :suggestion
140+ csharp_style_prefer_range_operator = true :suggestion
141+ csharp_style_implicit_object_creation_when_type_is_apparent = true :suggestion
142+ csharp_style_prefer_tuple_swap = true :suggestion
143+ csharp_style_prefer_utf8_string_literals = true :suggestion
144+ csharp_style_unused_value_assignment_preference = discard_variable:suggestion
145+ csharp_style_unused_value_expression_statement_preference = discard_variable:silent
146+ csharp_prefer_static_local_function = true :suggestion
147+ csharp_style_prefer_readonly_struct = true :suggestion
148+ csharp_style_prefer_readonly_struct_member = true :suggestion
149+ csharp_style_allow_embedded_statements_on_same_line_experimental = true :silent
150+ csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true :silent
151+ csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true :silent
120152# ##############################
121153# VB Coding Conventions #
122154# ##############################
0 commit comments