Skip to content

Commit cbf5c69

Browse files
committed
InternalReleaseHandle -> ReleaseHandleImpl
1 parent cd70dbc commit cbf5c69

17 files changed

+18
-18
lines changed

LibGit2Sharp/Core/Handles/ConfigurationSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class ConfigurationSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_config_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/DiffListSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace LibGit2Sharp.Core.Handles
22
{
33
internal class DiffListSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_diff_list_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/GitObjectSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class GitObjectSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_object_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/IndexSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class IndexSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_index_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/NoteSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class NoteSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_note_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/NullGitObjectSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public NullGitObjectSafeHandle()
99
handle = IntPtr.Zero;
1010
}
1111

12-
protected override bool InternalReleaseHandle()
12+
protected override bool ReleaseHandleImpl()
1313
{
1414
// Nothing to release
1515
return true;

LibGit2Sharp/Core/Handles/NullIndexSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public NullIndexSafeHandle()
99
handle = IntPtr.Zero;
1010
}
1111

12-
protected override bool InternalReleaseHandle()
12+
protected override bool ReleaseHandleImpl()
1313
{
1414
// Nothing to release
1515
return true;

LibGit2Sharp/Core/Handles/ObjectDatabaseSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class ObjectDatabaseSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_odb_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/PushSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class PushSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_push_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/ReferenceSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class ReferenceSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_reference_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/RemoteSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class RemoteSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_remote_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/RepositorySafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class RepositorySafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_repository_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/RevWalkerSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class RevWalkerSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_revwalk_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/SafeHandleBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ public override bool IsInvalid
4141
get { return (handle == IntPtr.Zero); }
4242
}
4343

44-
protected abstract bool InternalReleaseHandle();
44+
protected abstract bool ReleaseHandleImpl();
4545

4646
protected override sealed bool ReleaseHandle()
4747
{
4848
try
4949
{
50-
return InternalReleaseHandle();
50+
return ReleaseHandleImpl();
5151
}
5252
finally
5353
{

LibGit2Sharp/Core/Handles/SignatureSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class SignatureSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_signature_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/TreeBuilderSafeHandle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace LibGit2Sharp.Core.Handles
22
{
33
internal class TreeBuilderSafeHandle : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_treebuilder_free(handle);
88
return true;

LibGit2Sharp/Core/Handles/TreeEntrySafeHandle_Owned.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
internal class TreeEntrySafeHandle_Owned : SafeHandleBase
44
{
5-
protected override bool InternalReleaseHandle()
5+
protected override bool ReleaseHandleImpl()
66
{
77
Proxy.git_tree_entry_free(handle);
88
return true;

0 commit comments

Comments
 (0)