File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ public void CanIdentifyReferenceKind()
837837 path = SandboxBareTestRepo ( ) ;
838838 using ( var repo = new Repository ( path ) )
839839 {
840- Assert . True ( repo . Refs [ "refs/notes/commits" ] . IsNote ( ) ) ;
840+ Assert . True ( repo . Refs [ "refs/notes/commits" ] . IsNote ) ;
841841 }
842842 }
843843
Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ public virtual bool IsTag
114114 /// Determine if the current <see cref="Reference"/> is a note.
115115 /// </summary>
116116 /// <returns>true if the current <see cref="Reference"/> is a note, false otherwise.</returns>
117- public virtual bool IsNote ( )
117+ public virtual bool IsNote
118118 {
119- return CanonicalName . LooksLikeNote ( ) ;
119+ get { return CanonicalName . LooksLikeNote ( ) ; }
120120 }
121121
122122 /// <summary>
You can’t perform that action at this time.
0 commit comments