Skip to content

Commit

Permalink
Merge pull request #622 from adamralph/enable-implicit-usings
Browse files Browse the repository at this point in the history
enable implicit usings
  • Loading branch information
adamralph committed Apr 8, 2024
2 parents 606394f + c8f7eda commit 1d2e818
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 36 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<ImplicitUsings>enable</ImplicitUsings>
<!-- workaround for https://github.com/dotnet/roslyn/issues/41640 -->
<NoWarn>EnableGenerateDocumentationFile</NoWarn>
<Nullable>enable</Nullable>
Expand Down
6 changes: 0 additions & 6 deletions SimpleExec/Command.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace SimpleExec;

Expand Down
2 changes: 0 additions & 2 deletions SimpleExec/ExitCodeException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace SimpleExec;

#if NET8_0_OR_GREATER
Expand Down
2 changes: 0 additions & 2 deletions SimpleExec/ExitCodeReadException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;

namespace SimpleExec;

/// <summary>
Expand Down
3 changes: 0 additions & 3 deletions SimpleExec/ProcessExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System;
using System.Diagnostics;
using System.Globalization;
using System.Text;
using System.Threading;
using System.Threading.Tasks;

namespace SimpleExec;

Expand Down
2 changes: 0 additions & 2 deletions SimpleExec/ProcessStartInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace SimpleExec;
Expand Down
3 changes: 0 additions & 3 deletions SimpleExecTester/Program.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Linq;
using System.Text;
using System.Threading;

namespace SimpleExecTester;

Expand Down
3 changes: 0 additions & 3 deletions SimpleExecTests/CancellingCommands.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using SimpleExec;
using SimpleExecTests.Infra;
using Xunit;
Expand Down
2 changes: 0 additions & 2 deletions SimpleExecTests/ConfiguringEnvironments.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Threading.Tasks;
using SimpleExec;
using SimpleExecTests.Infra;
using Xunit;
Expand Down
2 changes: 0 additions & 2 deletions SimpleExecTests/EchoingCommands.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using SimpleExec;
using SimpleExecTests.Infra;
Expand Down
1 change: 0 additions & 1 deletion SimpleExecTests/ExitCodes.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Threading.Tasks;
using SimpleExec;
using SimpleExecTests.Infra;
using Xunit;
Expand Down
3 changes: 0 additions & 3 deletions SimpleExecTests/Infra/Capture.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
using System;
using System.IO;

namespace SimpleExecTests.Infra;

internal static class Capture
Expand Down
3 changes: 0 additions & 3 deletions SimpleExecTests/ReadingCommands.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using System.Threading.Tasks;
using SimpleExec;
using SimpleExecTests.Infra;
using Xunit;
Expand Down
4 changes: 0 additions & 4 deletions SimpleExecTests/RunningCommands.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
using System;
using System.ComponentModel;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using SimpleExec;
using SimpleExecTests.Infra;
using Xunit;
Expand Down

0 comments on commit 1d2e818

Please sign in to comment.