Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 2b160f8

Browse files
committed
Fix error CA2214
Contains a call chain that results in a call to a virtual method defined by the class.
1 parent 5fddfa8 commit 2b160f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.TeamFoundation.14/Base/TeamExplorerNavigationItemBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public TeamExplorerNavigationItemBase(IGitHubServiceProvider serviceProvider,
3939
Invalidate();
4040
};
4141

42-
UpdateRepo(holder.TeamExplorerContext.ActiveRepository);
42+
ActiveRepo = holder.TeamExplorerContext.ActiveRepository;
4343
holder.TeamExplorerContext.PropertyChanged += TeamExplorerContext_PropertyChanged;
44-
holder.TeamExplorerContext.StatusChanged += TeamExplorerContext_StatusChanged; ;
44+
holder.TeamExplorerContext.StatusChanged += TeamExplorerContext_StatusChanged;
4545
}
4646

4747
void TeamExplorerContext_StatusChanged(object sender, EventArgs e)

0 commit comments

Comments
 (0)