protected override async Task <QuickInfoItem?> BuildQuickInfoAsync( QuickInfoContext context, SyntaxToken token) { var document = context.Document; return(GetQuickinfoForPragmaWarning(document, token) ?? (await GetQuickInfoForSuppressMessageAttributeAsync(document, token, context.CancellationToken).ConfigureAwait(false))); }
protected override Task <QuickInfoItem?> BuildQuickInfoAsync( QuickInfoContext context, SyntaxToken token) => Task.FromResult(BuildQuickInfo(token, context.CancellationToken));