Skip to content

Commit

Permalink
Update src/Features/CSharp/Portable/Completion/CompletionProviders/Ex…
Browse files Browse the repository at this point in the history
…plicitInterfaceTypeCompletionProvider.cs
  • Loading branch information
CyrusNajmabadi authored Oct 13, 2023
1 parent 1405988 commit d029355
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ protected override Task<ImmutableArray<SymbolAndSelectionInfo>> GetSymbolsAsync(

var potentialTypeNode = targetToken.Parent;
if (targetToken.IsKind(SyntaxKind.GreaterThanToken) && potentialTypeNode is TypeArgumentListSyntax typeArgumentList)
{
potentialTypeNode = typeArgumentList.Parent;
}

var typeNode = potentialTypeNode as TypeSyntax;

Expand Down

0 comments on commit d029355

Please sign in to comment.