Skip to content

Commit 5e04efc

Browse files
committed
Fix SymbolicReference debugger display
1 parent 31bd507 commit 5e04efc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

LibGit2Sharp/SymbolicReference.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,10 @@ private string DebuggerDisplay
4444
{
4545
get
4646
{
47-
var directReference = ResolveToDirectReference();
48-
4947
return string.Format(CultureInfo.InvariantCulture,
5048
"{0} => {1} => \"{2}\"",
5149
CanonicalName, TargetIdentifier,
52-
(directReference != null) ? directReference.TargetIdentifier : "?");
50+
(Target != null) ? Target.TargetIdentifier : "?");
5351
}
5452
}
5553
}

0 commit comments

Comments
 (0)