@@ -91,12 +91,12 @@ csharp_style_expression_bodied_operators = false:silent
91
91
csharp_style_expression_bodied_properties = true :silent
92
92
93
93
# Pattern matching preferences
94
- csharp_style_pattern_matching_over_as_with_null_check = true
95
- csharp_style_pattern_matching_over_is_with_cast_check = true
96
- csharp_style_prefer_extended_property_pattern = true
97
- csharp_style_prefer_not_pattern = true
98
- csharp_style_prefer_pattern_matching = true
99
- csharp_style_prefer_switch_expression = true
94
+ csharp_style_pattern_matching_over_as_with_null_check = true : suggestion
95
+ csharp_style_pattern_matching_over_is_with_cast_check = true : suggestion
96
+ csharp_style_prefer_extended_property_pattern = true : suggestion
97
+ csharp_style_prefer_not_pattern = true : suggestion
98
+ csharp_style_prefer_pattern_matching = true : silent
99
+ csharp_style_prefer_switch_expression = true : suggestion
100
100
101
101
# Null-checking preferences
102
102
csharp_style_conditional_delegate_call = true
@@ -274,6 +274,8 @@ dotnet_diagnostic.SA1108.severity = silent
274
274
dotnet_diagnostic.SA1012.severity = error
275
275
dotnet_diagnostic.SA1500.severity = error
276
276
dotnet_diagnostic.SA1316.severity = error
277
+ csharp_prefer_system_threading_lock = true :suggestion
278
+ dotnet_diagnostic.MA0132.severity = error
277
279
278
280
[* .{cs,vb} ]
279
281
dotnet_style_operator_placement_when_wrapping = beginning_of_line
@@ -297,4 +299,5 @@ dotnet_style_predefined_type_for_locals_parameters_members = true:silent
297
299
dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent
298
300
dotnet_code_quality_unused_parameters = all:suggestion
299
301
dotnet_diagnostic.CA2200.severity = error
300
- dotnet_diagnostic.CA1012.severity = error
302
+ dotnet_diagnostic.CA1012.severity = error
303
+ dotnet_style_namespace_match_folder = true :suggestion
0 commit comments