navigation

RedundantNewKeyword (FL0014)

Cause

Using new to instantiate a type which does not implement IDisposable.

Rationale

new is redundant for instantiating types which do not implement IDisposable.

How To Fix

Remove new keyword.

Rule Settings

{
    "redundantNewKeyword": {
        "enabled": false
    }
}