Skip to content

Commit 3e78e83

Browse files
committed
Clean up unneeded pragmas
1 parent 709a2c8 commit 3e78e83

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
// Restrict the set of directories where the native library is loaded from to safe directories.
1010
[assembly: DefaultDllImportSearchPaths(DllImportSearchPath.AssemblyDirectory | DllImportSearchPath.ApplicationDirectory | DllImportSearchPath.SafeDirectories)]
1111

12-
#pragma warning disable IDE1006 // Naming Styles
13-
14-
// ReSharper disable InconsistentNaming
1512
namespace LibGit2Sharp.Core
1613
{
1714
internal static class NativeMethods
@@ -22,9 +19,7 @@ internal static class NativeMethods
2219
// An object tied to the lifecycle of the NativeMethods static class.
2320
// This will handle initialization and shutdown of the underlying
2421
// native library.
25-
#pragma warning disable 0414
2622
private static NativeShutdownObject shutdownObject;
27-
#pragma warning restore 0414
2823

2924
static NativeMethods()
3025
{
@@ -2071,4 +2066,3 @@ internal static extern unsafe int git_worktree_prune(
20712066
git_worktree_prune_options options);
20722067
}
20732068
}
2074-
// ReSharper restore InconsistentNaming

0 commit comments

Comments
 (0)