File tree 4 files changed +11
-3
lines changed
Services/PowerShell/Context
PowerShellEditorServices.Hosting
4 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 14
14
<!-- See: https://docs.microsoft.com/en-us/dotnet/fundamentals/code-analysis/overview -->
15
15
<EnableNETAnalyzers >true</EnableNETAnalyzers >
16
16
<EnforceCodeStyleInBuild >true</EnforceCodeStyleInBuild >
17
+ <!-- Required to enable IDE0005 as error -->
18
+ <GenerateDocumentationFile >true</GenerateDocumentationFile >
17
19
<!-- TODO: Enable <AnalysisMode>All</AnalysisMode> -->
18
20
<!-- See: https://docs.microsoft.com/en-us/dotnet/core/compatibility/sdk/6.0/implicit-namespaces -->
19
21
<DisableImplicitNamespaceImports >true</DisableImplicitNamespaceImports >
Original file line number Diff line number Diff line change 2
2
// Licensed under the MIT License.
3
3
4
4
using System ;
5
- using System . Diagnostics ;
6
5
using System . IO ;
7
6
using System . Reflection ;
8
7
using System . Threading . Tasks ;
13
12
using System . Management . Automation ;
14
13
using System . Management . Automation . Runspaces ;
15
14
15
+ #if DEBUG
16
+ using System . Diagnostics ;
17
+ #endif
18
+
16
19
#if CoreCLR
17
20
using System . Runtime . Loader ;
18
21
#else
Original file line number Diff line number Diff line change 2
2
// Licensed under the MIT License.
3
3
4
4
using System ;
5
- using System . Diagnostics ;
6
5
using System . IO ;
7
6
using Microsoft . Extensions . DependencyInjection ;
8
7
using Microsoft . Extensions . Logging ;
14
13
using Microsoft . PowerShell . EditorServices . Services . Extension ;
15
14
16
15
#if DEBUG
16
+ using System . Diagnostics ;
17
17
using Serilog . Debugging ;
18
18
#endif
19
19
Original file line number Diff line number Diff line change 3
3
4
4
using System ;
5
5
using System . Diagnostics ;
6
- using System . Text ;
7
6
using Microsoft . Extensions . Logging ;
8
7
using Microsoft . PowerShell . EditorServices . Services . PowerShell . Runspace ;
9
8
using Microsoft . PowerShell . EditorServices . Services . PowerShell . Utility ;
10
9
using SMA = System . Management . Automation ;
11
10
11
+ #if DEBUG
12
+ using System . Text ;
13
+ #endif
14
+
12
15
namespace Microsoft . PowerShell . EditorServices . Services . PowerShell . Context
13
16
{
14
17
[ DebuggerDisplay ( "{ToDebuggerDisplayString()}" ) ]
You can’t perform that action at this time.
0 commit comments