File tree 2 files changed +4
-1
lines changed
src/PowerShellEditorServices/Services/PowerShellContext/Session/Host
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ dotnet_diagnostic.CS0414.severity = error
25
25
dotnet_diagnostic.CA2007.severity = error
26
26
# CA1822: Mark members as static
27
27
dotnet_diagnostic.CA1822.severity = error
28
+ # All maintainability issues (dead code etc.)
29
+ # See: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/maintainability-warnings
30
+ dotnet_analyzer_diagnostic.category-Maintainability.severity = error
28
31
# VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks
29
32
# TODO: Fix all of these issues and explicitly ignore the intentional ones.
30
33
dotnet_diagnostic.VSTHRD002.severity = silent
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ internal class ConsoleColorProxy
83
83
84
84
internal ConsoleColorProxy ( EditorServicesPSHostUserInterface hostUserInterface )
85
85
{
86
- if ( hostUserInterface == null ) throw new ArgumentNullException ( " hostUserInterface" ) ;
86
+ if ( hostUserInterface == null ) throw new ArgumentNullException ( nameof ( hostUserInterface ) ) ;
87
87
_hostUserInterface = hostUserInterface ;
88
88
}
89
89
You can’t perform that action at this time.
0 commit comments