From d26230bf737d45fa89133a5c2df09fbcf2fd129e Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Sun, 1 Mar 2026 17:29:03 +0000 Subject: [PATCH] Fix invalid `csharp_space_around_declaration_statements` option value The only valid option values are `ignore` and `false`. https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/csharp-formatting-options#csharp_space_around_declaration_statements --- src/tools/.editorconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/.editorconfig b/src/tools/.editorconfig index 7ae11a81226..8552d205c84 100644 --- a/src/tools/.editorconfig +++ b/src/tools/.editorconfig @@ -32,7 +32,7 @@ csharp_space_after_dot = false csharp_space_after_keywords_in_control_flow_statements = true csharp_space_after_semicolon_in_for_statement = true csharp_space_around_binary_operators = before_and_after -csharp_space_around_declaration_statements = do_not_ignore +csharp_space_around_declaration_statements = false csharp_space_before_colon_in_inheritance_clause = true csharp_space_before_comma = false csharp_space_before_dot = false @@ -70,4 +70,4 @@ csharp_style_var_elsewhere = true:suggestion dotnet_style_qualification_for_field = false:warning dotnet_style_qualification_for_property = false:warning dotnet_style_qualification_for_method = false:warning -dotnet_style_qualification_for_event = false:warning \ No newline at end of file +dotnet_style_qualification_for_event = false:warning