11using System ;
22using System . ComponentModel . Composition ;
3+ using System . Diagnostics . CodeAnalysis ;
34using System . Windows . Input ;
45using GitHub . Extensions ;
56using GitHub . VisualStudio . TeamExplorer . Sync ;
@@ -19,7 +20,7 @@ public class TeamExplorerServices : ITeamExplorerServices
1920 /// that instances of this type cannot be created if the TeamFoundation dlls are not available
2021 /// (otherwise we'll have multiple instances of ITeamExplorerServices exports, and that would be Bad(tm))
2122 /// </summary>
22- [ System . Diagnostics . CodeAnalysis . SuppressMessage ( "Microsoft.Performance" , "CA1823:AvoidUnusedPrivateFields" ) ]
23+ [ SuppressMessage ( "Microsoft.Performance" , "CA1823:AvoidUnusedPrivateFields" ) ]
2324 ITeamExplorerNotificationManager manager ;
2425
2526 [ ImportingConstructor ]
@@ -31,14 +32,14 @@ public TeamExplorerServices(IGitHubServiceProvider serviceProvider)
3132 public void ShowConnectPage ( )
3233 {
3334 var te = serviceProvider . TryGetService < ITeamExplorer > ( ) ;
34- var foo = te . NavigateToPage ( new Guid ( TeamExplorerPageIds . Connect ) , null ) ;
35+ te . NavigateToPage ( new Guid ( TeamExplorerPageIds . Connect ) , null ) ;
3536 }
3637
3738 public void ShowPublishSection ( )
3839 {
3940 var te = serviceProvider . TryGetService < ITeamExplorer > ( ) ;
40- var foo = te . NavigateToPage ( new Guid ( TeamExplorerPageIds . GitCommits ) , null ) ;
41- var publish = foo ? . GetSection ( new Guid ( GitHubPublishSection . GitHubPublishSectionId ) ) as GitHubPublishSection ;
41+ var page = te . NavigateToPage ( new Guid ( TeamExplorerPageIds . GitCommits ) , null ) ;
42+ var publish = page ? . GetSection ( new Guid ( GitHubPublishSection . GitHubPublishSectionId ) ) as GitHubPublishSection ;
4243 publish ? . Connect ( ) ;
4344 }
4445
0 commit comments