@@ -54,10 +54,19 @@ dotnet_naming_style.pascal_case_style.capitalization = pascal_case
54
54
# Use PascalCase for constant fields
55
55
dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion
56
56
dotnet_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
58
58
dotnet_naming_symbols.constant_fields.applicable_kinds = field
59
59
dotnet_naming_symbols.constant_fields.applicable_accessibilities = *
60
60
dotnet_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
61
70
# ##############################
62
71
# C# Coding Conventions #
63
72
# ##############################
@@ -101,7 +110,7 @@ csharp_new_line_between_query_expression_clauses = true
101
110
# Indentation preferences
102
111
csharp_indent_case_contents = true
103
112
csharp_indent_switch_labels = true
104
- csharp_indent_labels = flush_left
113
+ csharp_indent_labels = one_less_than_current
105
114
# Space preferences
106
115
csharp_space_after_cast = false
107
116
csharp_space_after_keywords_in_control_flow_statements = true
@@ -117,6 +126,29 @@ csharp_space_between_method_call_empty_parameter_list_parentheses = false
117
126
# Wrapping preferences
118
127
csharp_preserve_single_line_statements = true
119
128
csharp_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
120
152
# ##############################
121
153
# VB Coding Conventions #
122
154
# ##############################
0 commit comments