﻿---
title: csharp_wrap_before_declaration_rpar
description: Put a broken parameter list's ) on its own line. Defaults to `(not set)`
url: https://docs-v3-preview.elastic.dev/reference/wrapping/csharp_wrap_before_declaration_rpar
---

# csharp_wrap_before_declaration_rpar
Put a broken parameter list's ) on its own line.

## Values


| Value   | Notes |
|---------|-------|
| `true`  |       |
| `false` |       |

**Default:** `(not set)`

### `csharp_wrap_before_declaration_rpar = true`

```ini
csharp_wrap_before_declaration_rpar = true
```

<tab-set>
  <tab-item title="Before">
    ```csharp
    namespace N;

    public class Widget
    {
        public void Register(string name, int value, bool active, string tag)
        {
            Console.WriteLine(name);
        }
    }
    ```
  </tab-item>

  <tab-item title="After">
    ```csharp
    namespace N;

    public class Widget
    {
        public void Register(string name, int value, bool active, string tag)
        {
            Console.WriteLine(name);
        }
    }
    ```
  </tab-item>
</tab-set>


### `csharp_wrap_before_declaration_rpar = false`

```ini
csharp_wrap_before_declaration_rpar = false
```

<tab-set>
  <tab-item title="Before">
    ```csharp
    namespace N;

    public class Widget
    {
        public void Register(string name, int value, bool active, string tag)
        {
            Console.WriteLine(name);
        }
    }
    ```
  </tab-item>

  <tab-item title="After">
    ```csharp
    namespace N;

    public class Widget
    {
        public void Register(string name, int value, bool active, string tag)
        {
            Console.WriteLine(name);
        }
    }
    ```
  </tab-item>
</tab-set>