Skip to content

Commit

Permalink
chore: remove unnecessary usings
Browse files Browse the repository at this point in the history
now that using <ImplicitUsings>
  • Loading branch information
pmiossec committed Apr 5, 2024
1 parent 6e39ab3 commit 614676a
Show file tree
Hide file tree
Showing 123 changed files with 120 additions and 338 deletions.
3 changes: 0 additions & 3 deletions src/GitTfs.Vs2015/TfsHelper.Vs2015.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;

using GitTfs.Core.TfsInterop;
Expand Down
1 change: 0 additions & 1 deletion src/GitTfs.VsCommon/ParentForm.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#if NETFRAMEWORK
using System;
using System.Drawing;
using System.Windows.Forms;

Expand Down
5 changes: 1 addition & 4 deletions src/GitTfs.VsCommon/Retry.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Threading;
using GitTfs.Core;
using GitTfs.Core;

namespace GitTfs.VsCommon
{
Expand Down
6 changes: 1 addition & 5 deletions src/GitTfs.VsCommon/TfsHelper.Common.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Diagnostics;
using System.Net;
using System.Reflection;
using Microsoft.TeamFoundation.Client;
Expand Down
4 changes: 0 additions & 4 deletions src/GitTfs.VsCommon/TfsHelper.Vs2017Base.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.InteropServices;

Expand Down
6 changes: 2 additions & 4 deletions src/GitTfs.VsCommon/Wrappers.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
using GitTfs.Core;
using GitTfs.Core.TfsInterop;
using GitTfs.Util;

using Microsoft.TeamFoundation.Server;
using Microsoft.TeamFoundation.VersionControl.Client;
using Microsoft.TeamFoundation.VersionControl.Common;
using System;
using System.Collections.Generic;

using System.Diagnostics;
using System.IO;
using System.Linq;

namespace GitTfs.VsCommon
{
Expand Down
6 changes: 2 additions & 4 deletions src/GitTfs.VsFake/Script.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Diagnostics;
using System.Runtime.Serialization.Formatters.Binary;

using GitTfs.Core;
using GitTfs.Core.TfsInterop;

Expand Down
6 changes: 2 additions & 4 deletions src/GitTfs.VsFake/TfsHelper.VsFake.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
using GitTfs.Core;
using GitTfs.Core.TfsInterop;
using GitTfs.Util;

using StructureMap;
using System;
using System.Collections.Generic;

using System.Diagnostics;
using System.IO;
using System.Linq;

namespace GitTfs.VsFake
{
Expand Down
2 changes: 0 additions & 2 deletions src/GitTfs.VsFake/TfsPlugin.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.IO;
using GitTfs.Core;
using GitTfs.VsFake;

Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/Branch.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Core.TfsInterop;
Expand Down
3 changes: 1 addition & 2 deletions src/GitTfs/Commands/CheckinOptions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Text.RegularExpressions;
using NDesk.Options;
using GitTfs.Util;

Expand Down
3 changes: 1 addition & 2 deletions src/GitTfs/Commands/Checkout.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel;
using NDesk.Options;
using GitTfs.Core;
using StructureMap;
Expand Down
3 changes: 1 addition & 2 deletions src/GitTfs/Commands/Cleanup.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using NDesk.Options;
using NDesk.Options;
using GitTfs.Core;
using StructureMap;

Expand Down
3 changes: 1 addition & 2 deletions src/GitTfs/Commands/CleanupWorkspaceLocal.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel;
using NDesk.Options;
using GitTfs.Core;
using StructureMap;
Expand Down
3 changes: 1 addition & 2 deletions src/GitTfs/Commands/CleanupWorkspaces.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel;
using NDesk.Options;
using GitTfs.Core;
using StructureMap;
Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/Clone.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NDesk.Options;
using GitTfs.Core;
using StructureMap;
Expand Down
1 change: 0 additions & 1 deletion src/GitTfs/Commands/Create.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.ComponentModel;
using System.IO;
using NDesk.Options;
using StructureMap;
using GitTfs.Core.TfsInterop;
Expand Down
5 changes: 3 additions & 2 deletions src/GitTfs/Commands/ExportMap.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using System.ComponentModel;
using System.IO;

using GitTfs.Core;

using NDesk.Options;

using StructureMap;
using System.Linq;

namespace GitTfs.Commands
{
Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/Fetch.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.Diagnostics;
using System.Linq;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Util;
Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/Help.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Util;
Expand Down
4 changes: 1 addition & 3 deletions src/GitTfs/Commands/Info.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using NDesk.Options;
using StructureMap;
using GitTfs.Core;
Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/Init.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.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using NDesk.Options;
using GitTfs.Core;
Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/InitBranch.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Util;
Expand Down
1 change: 0 additions & 1 deletion src/GitTfs/Commands/InitOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using NDesk.Options;
using GitTfs.Util;

Expand Down
1 change: 0 additions & 1 deletion src/GitTfs/Commands/Labels.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text.RegularExpressions;
using NDesk.Options;
using GitTfs.Core;
Expand Down
1 change: 0 additions & 1 deletion src/GitTfs/Commands/ListRemoteBranches.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.ComponentModel;
using System.Linq;
using NDesk.Options;
using StructureMap;
using GitTfs.Core;
Expand Down
3 changes: 0 additions & 3 deletions src/GitTfs/Commands/Rcheckin.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Util;
Expand Down
1 change: 0 additions & 1 deletion src/GitTfs/Commands/ResetRemote.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.ComponentModel;
using NDesk.Options;
using GitTfs.Core;
Expand Down
4 changes: 0 additions & 4 deletions src/GitTfs/Commands/Subtree.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NDesk.Options;
using GitTfs.Core;
using StructureMap;
Expand Down
1 change: 0 additions & 1 deletion src/GitTfs/Commands/Unshelve.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using NDesk.Options;
Expand Down
4 changes: 1 addition & 3 deletions src/GitTfs/Commands/Verify.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Security.Cryptography;
using NDesk.Options;
using GitTfs.Core;
using GitTfs.Core.TfsInterop;
Expand Down
4 changes: 1 addition & 3 deletions src/GitTfs/Core/CheckinPolicyEvaluator.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Collections.Generic;
using System.Linq;
using GitTfs.Core.TfsInterop;
using GitTfs.Core.TfsInterop;

namespace GitTfs.Core
{
Expand Down
4 changes: 1 addition & 3 deletions src/GitTfs/Core/DelimitedReader.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.IO;

namespace GitTfs.Core
namespace GitTfs.Core
{
public class DelimitedReader
{
Expand Down
2 changes: 0 additions & 2 deletions src/GitTfs/Core/DerivedGitTfsRemote.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using GitTfs.Core.TfsInterop;
using GitTfs.Commands;

Expand Down
5 changes: 1 addition & 4 deletions src/GitTfs/Core/DirectoryTidier.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using GitTfs.Core.TfsInterop;
using GitTfs.Core.TfsInterop;

namespace GitTfs.Core
{
Expand Down
7 changes: 3 additions & 4 deletions src/GitTfs/Core/Ext.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
using GitTfs.Commands;

using NDesk.Options;

using StructureMap;
using System;
using System.Collections.Generic;

using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

Expand Down
6 changes: 2 additions & 4 deletions src/GitTfs/Core/GitChangeInfo.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

using StructureMap;

using FileMode = LibGit2Sharp.Mode;

namespace GitTfs.Core
Expand Down
3 changes: 1 addition & 2 deletions src/GitTfs/Core/GitCommandException.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Diagnostics;
using System.Diagnostics;

namespace GitTfs.Core
{
Expand Down
6 changes: 2 additions & 4 deletions src/GitTfs/Core/GitCommit.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Diagnostics;

using LibGit2Sharp;

namespace GitTfs.Core
Expand Down
2 changes: 0 additions & 2 deletions src/GitTfs/Core/GitHelpers.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Diagnostics;
using System.IO;
using System.Text.RegularExpressions;
using StructureMap;
using System.Text;
Expand Down
4 changes: 0 additions & 4 deletions src/GitTfs/Core/GitRepository.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using StructureMap;
using LibGit2Sharp;
Expand Down
5 changes: 1 addition & 4 deletions src/GitTfs/Core/GitTfsException.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;

namespace GitTfs.Core
namespace GitTfs.Core
{
public class GitTfsException : Exception
{
Expand Down
4 changes: 1 addition & 3 deletions src/GitTfs/Core/GitTfsGatedCheckinException.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.ObjectModel;

namespace GitTfs.Core
{
Expand Down
5 changes: 1 addition & 4 deletions src/GitTfs/Core/GitTfsRemote.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

using GitTfs.Commands;
using GitTfs.Core.TfsInterop;
using GitTfs.Util;
Expand Down
4 changes: 2 additions & 2 deletions src/GitTfs/Core/GitTfsVersionProvider.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System;
using System.Reflection;
using System.Reflection;

using GitTfs.Core.TfsInterop;

namespace GitTfs.Core
Expand Down
4 changes: 1 addition & 3 deletions src/GitTfs/Core/GitTreeEntry.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.IO;
using LibGit2Sharp;
using LibGit2Sharp;

namespace GitTfs.Core
{
Expand Down
Loading

0 comments on commit 614676a

Please sign in to comment.