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

Commit 3427f93

Browse files
author
Jasmine
committed
change to reflect 1.0.18's current signature, add missing usings
1 parent 7fa3ec2 commit 3427f93

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

src/GitHub.VisualStudio/Base/MenuBase.cs

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
using GitHub.Api;
88
using NullGuard;
99
using GitHub.UI;
10+
using System.Diagnostics;
11+
using System.Linq;
12+
using GitHub.Primitives;
1013

1114
namespace GitHub.VisualStudio
1215
{

src/GitHub.VisualStudio/Menus/CopyLink.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public CopyLink([Import(typeof(SVsServiceProvider))] IServiceProvider servicePro
2323
public Guid Guid => GuidList.guidContextMenuSet;
2424
public int CmdId => PkgCmdIDList.copyLinkCommand;
2525

26-
public async void Activate([AllowNull]object data = null)
26+
public async void Activate()
2727
{
2828
var isgithub = await IsGitHubRepo();
2929
if (!isgithub)

src/GitHub.VisualStudio/Menus/OpenLink.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public OpenLink([Import(typeof(SVsServiceProvider))] IServiceProvider servicePro
2121
public Guid Guid => GuidList.guidContextMenuSet;
2222
public int CmdId => PkgCmdIDList.openLinkCommand;
2323

24-
public async void Activate([AllowNull]object data = null)
24+
public async void Activate()
2525
{
2626
var isgithub = await IsGitHubRepo();
2727
if (!isgithub)

0 commit comments

Comments
 (0)