Skip to content

Commit 4e8c914

Browse files
committed
fix: remove all unnecessary using directives (IDE0005)
- Fixed 14 files with IDE0005 errors - Removed unused System.Threading, System.Runtime.InteropServices, etc. - Verified build passes with -warnaserror:IDE0005 - All GitHub Actions builds should now succeed
1 parent a3d38f8 commit 4e8c914

File tree

13 files changed

+0
-13
lines changed

13 files changed

+0
-13
lines changed

src/Commands/CommandWithRetry.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.IO;
3-
using System.Threading;
43
using System.Threading.Tasks;
54

65
namespace SourceGit.Commands

src/Commands/GitFlowFinish.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using System.Collections.Generic;
32
using System.Threading.Tasks;
43

54
namespace SourceGit.Commands

src/Commands/Optimization/BatchQueryExecutor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.Diagnostics;
44
using System.Linq;
5-
using System.Threading;
65
using System.Threading.Tasks;
76

87
namespace SourceGit.Commands.Optimization

src/Commands/QueryBranchesOptimized.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
43
using System.Threading.Tasks;
54
using SourceGit.Commands.Optimization;
65

src/Models/CredentialManager.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Collections.Generic;
33
using System.Diagnostics;
44
using System.IO;
5-
using System.Runtime.InteropServices;
65
using System.Text;
76

87
namespace SourceGit.Models

src/Models/PerformanceMonitor.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Diagnostics;
4-
using System.Threading;
54

65
namespace SourceGit.Models
76
{

src/Models/RefreshOptions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21

32
namespace SourceGit.Models
43
{

src/Models/User.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using System;
21
using System.Collections.Concurrent;
32
using System.Collections.Generic;
43
using System.Linq;

src/ViewModels/Repository.Search.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Threading.Tasks;
4-
using Avalonia.Threading;
54

65
namespace SourceGit.ViewModels
76
{

src/ViewModels/Repository.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Collections.Generic;
33
using System.IO;
4-
using System.Text;
54
using System.Text.Json;
65
using System.Threading;
76
using System.Threading.Tasks;

0 commit comments

Comments
 (0)