Prefer file-scoped namespaces in .editorconfig (#38879)

Prefer file-scoped namespaces in .editorconfig
This commit is contained in:
Tayrtahn
2025-07-09 14:33:18 -04:00
committed by GitHub
parent 635bef70db
commit e08e920c62

View File

@@ -77,6 +77,8 @@ csharp_style_expression_bodied_methods = false:suggestion
#csharp_style_expression_bodied_operators = false:silent
csharp_style_expression_bodied_properties = true:suggestion
csharp_style_namespace_declarations = file_scoped:suggestion
# Pattern matching preferences
#csharp_style_pattern_matching_over_as_with_null_check = true:suggestion
#csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion