Skip to content

Commit 3b522e9

Browse files
committed
Remove unused usings
1 parent 783948e commit 3b522e9

9 files changed

+4
-14
lines changed

LibGit2Sharp.Tests/TreeFixture.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using System.IO;
1+
using System.IO;
32
using System.Linq;
43
using LibGit2Sharp.Tests.TestHelpers;
54
using Xunit;

LibGit2Sharp/Commit.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System;
21
using System.Collections.Generic;
3-
using System.Runtime.InteropServices;
42
using LibGit2Sharp.Core;
53
using LibGit2Sharp.Core.Compat;
64
using LibGit2Sharp.Core.Handles;

LibGit2Sharp/ContentChanges.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.Runtime.InteropServices;
32
using System.Text;
43
using LibGit2Sharp.Core;
54

LibGit2Sharp/Core/EnumExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static bool Has<T>(this Enum enumInstance, T entry)
1313

1414
public static bool HasAny<T>(this Enum enumInstance, IEnumerable<T> entries)
1515
{
16-
return entries.Any(enumInstance.Has<T>);
16+
return entries.Any(enumInstance.Has);
1717
}
1818
}
1919
}

LibGit2Sharp/GitObject.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.Globalization;
3-
using System.Runtime.InteropServices;
43
using LibGit2Sharp.Core;
54
using LibGit2Sharp.Core.Handles;
65

LibGit2Sharp/IndexEntry.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.Runtime.InteropServices;
32
using LibGit2Sharp.Core;
43
using LibGit2Sharp.Core.Handles;
54

LibGit2Sharp/RepositoryInformation.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using LibGit2Sharp.Core;
1+
using LibGit2Sharp.Core;
32

43
namespace LibGit2Sharp
54
{

LibGit2Sharp/TagAnnotation.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
using System;
2-
using LibGit2Sharp.Core;
1+
using LibGit2Sharp.Core;
32
using LibGit2Sharp.Core.Compat;
43
using LibGit2Sharp.Core.Handles;
54

LibGit2Sharp/TreeEntryChanges.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
using System.Text;
2-
31
namespace LibGit2Sharp
42
{
53
/// <summary>

0 commit comments

Comments
 (0)