﻿---
title: dotnet_diagnostic.ide0055.severity
description: Set this to none to opt a file out of formatting. Defaults to `warning`
url: https://docs-v3-preview.elastic.dev/reference/suppression/dotnet_diagnostic.ide0055.severity
---

# dotnet_diagnostic.ide0055.severity
Set this to none to opt a file out of formatting.

## Values


| Value        | Notes |
|--------------|-------|
| `none`       |       |
| `silent`     |       |
| `suggestion` |       |
| `warning`    |       |
| `error`      |       |

**Default:** `warning`

### `dotnet_diagnostic.ide0055.severity = none`

```ini
dotnet_diagnostic.ide0055.severity = none
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>
</tab-set>


### `dotnet_diagnostic.ide0055.severity = silent`

```ini
dotnet_diagnostic.ide0055.severity = silent
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>
</tab-set>


### `dotnet_diagnostic.ide0055.severity = suggestion`

```ini
dotnet_diagnostic.ide0055.severity = suggestion
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>
</tab-set>


### `dotnet_diagnostic.ide0055.severity = warning`

```ini
dotnet_diagnostic.ide0055.severity = warning
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>
</tab-set>


### `dotnet_diagnostic.ide0055.severity = error`

```ini
dotnet_diagnostic.ide0055.severity = error
```

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>

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

    public class Widget
    {
        public int Value { get; set; }

        public int Double()
        {
            return Value * 2;
        }
    }
    ```
  </tab-item>
</tab-set>