File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/PowerShellEditorServices/Services/PowerShellContext/Session/Host Expand file tree Collapse file tree 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
2525dotnet_diagnostic.CA2007.severity = error
2626# CA1822: Mark members as static
2727dotnet_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
2831# VSTHRD002: Synchronously waiting on tasks or awaiters may cause deadlocks
2932# TODO: Fix all of these issues and explicitly ignore the intentional ones.
3033dotnet_diagnostic.VSTHRD002.severity = silent
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ internal class ConsoleColorProxy
8383
8484 internal ConsoleColorProxy ( EditorServicesPSHostUserInterface hostUserInterface )
8585 {
86- if ( hostUserInterface == null ) throw new ArgumentNullException ( " hostUserInterface" ) ;
86+ if ( hostUserInterface == null ) throw new ArgumentNullException ( nameof ( hostUserInterface ) ) ;
8787 _hostUserInterface = hostUserInterface ;
8888 }
8989
You can’t perform that action at this time.
0 commit comments