Skip to content

Commit da2ee63

Browse files
authored
Fix code examples in IDE2002.md
1) Add `()` for methods 2) Also fix `csharp_style_allow_blank_lines_between_consecutive_braces_experimental` table
1 parent 248dc83 commit da2ee63

File tree

1 file changed

+8
-8
lines changed
  • docs/fundamentals/code-analysis/style-rules

1 file changed

+8
-8
lines changed

docs/fundamentals/code-analysis/style-rules/ide2002.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,18 @@ Options specify the behavior that you want the rule to enforce. For information
3434

3535
### csharp_style_allow_blank_lines_between_consecutive_braces_experimental
3636

37-
| Property | Value | Description |
38-
|--------------------------|----------------------------------------------|-------------|
39-
| **Option name** | `csharp_style_allow_blank_lines_between_consecutive_braces_experimental` | |
40-
| **Option values** | `true` | Allow blank lines between consecutive braces |
41-
| | `false` | Don't allow blank lines between consecutive braces |
42-
| **Default option value** | `true` | |
37+
| Property | Value | Description |
38+
|--------------------------|--------------------------------------------------------------------------|----------------------------------------------------|
39+
| **Option name** | `csharp_style_allow_blank_lines_between_consecutive_braces_experimental` | |
40+
| **Option values** | `true` | Allow blank lines between consecutive braces |
41+
| | `false` | Don't allow blank lines between consecutive braces |
42+
| **Default option value** | `true` | |
4343

4444
## Example
4545

4646
```csharp
4747
// csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true
48-
public void Method
48+
public void Method()
4949
{
5050
if (true)
5151
{
@@ -57,7 +57,7 @@ public void Method
5757

5858
```csharp
5959
// csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false
60-
public void Method
60+
public void Method()
6161
{
6262
if (true)
6363
{

0 commit comments

Comments
 (0)