Skip to content

Commit 66f6940

Browse files
committed
Use private protected
1 parent 77cfeaf commit 66f6940

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

LibGit2Sharp/Reference.cs

+1-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,7 @@ public abstract class Reference : IEquatable<Reference>, IBelongToARepository
2525
protected Reference()
2626
{ }
2727

28-
/// <remarks>
29-
/// This would be protected+internal, were that supported by C#.
30-
/// Do not use except in subclasses.
31-
/// </remarks>
32-
internal Reference(IRepository repo, string canonicalName, string targetIdentifier)
28+
private protected Reference(IRepository repo, string canonicalName, string targetIdentifier)
3329
{
3430
this.repo = repo;
3531
this.canonicalName = canonicalName;

0 commit comments

Comments
 (0)