From da2ee636bb6bd44fe931014891f837d912cf9a3d Mon Sep 17 00:00:00 2001 From: kurnakovv <59327306+kurnakovv@users.noreply.github.com> Date: Sat, 20 Sep 2025 12:21:53 +0900 Subject: [PATCH] Fix code examples in IDE2002.md 1) Add `()` for methods 2) Also fix `csharp_style_allow_blank_lines_between_consecutive_braces_experimental` table --- .../code-analysis/style-rules/ide2002.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/fundamentals/code-analysis/style-rules/ide2002.md b/docs/fundamentals/code-analysis/style-rules/ide2002.md index a07d50712885a..d1054f34f85cc 100644 --- a/docs/fundamentals/code-analysis/style-rules/ide2002.md +++ b/docs/fundamentals/code-analysis/style-rules/ide2002.md @@ -34,18 +34,18 @@ Options specify the behavior that you want the rule to enforce. For information ### csharp_style_allow_blank_lines_between_consecutive_braces_experimental -| Property | Value | Description | -|--------------------------|----------------------------------------------|-------------| -| **Option name** | `csharp_style_allow_blank_lines_between_consecutive_braces_experimental` | | -| **Option values** | `true` | Allow blank lines between consecutive braces | -| | `false` | Don't allow blank lines between consecutive braces | -| **Default option value** | `true` | | +| Property | Value | Description | +|--------------------------|--------------------------------------------------------------------------|----------------------------------------------------| +| **Option name** | `csharp_style_allow_blank_lines_between_consecutive_braces_experimental` | | +| **Option values** | `true` | Allow blank lines between consecutive braces | +| | `false` | Don't allow blank lines between consecutive braces | +| **Default option value** | `true` | | ## Example ```csharp // csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true -public void Method +public void Method() { if (true) { @@ -57,7 +57,7 @@ public void Method ```csharp // csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false -public void Method +public void Method() { if (true) {