1 instantiation of QuickInfoItem
Microsoft.CodeAnalysis.Features (1)
QuickInfo\QuickInfoItem.cs (1)
65return new QuickInfoItem(span, tags, sections, relatedSpans, onTheFlyDocsInfo);
50 references to QuickInfoItem
Microsoft.CodeAnalysis.CSharp.Features (13)
QuickInfo\CSharpDiagnosticAnalyzerQuickInfoProvider.cs (6)
30protected override async Task<QuickInfoItem?> BuildQuickInfoAsync( 41private static async Task<QuickInfoItem?> GetQuickinfoForPragmaWarningAsync( 82private static async Task<QuickInfoItem?> GetQuickInfoForSuppressMessageAttributeAsync( 125private static async Task<QuickInfoItem?> GetQuickInfoFromSupportedDiagnosticsOfProjectAnalyzersAsync( 142private static QuickInfoItem CreateQuickInfo(TextSpan location, DiagnosticDescriptor descriptor, 153return QuickInfoItem.Create(location, sections:
QuickInfo\CSharpSyntacticQuickInfoProvider.cs (7)
26protected override Task<QuickInfoItem?> BuildQuickInfoAsync( 31private static QuickInfoItem? BuildQuickInfo(SyntaxToken token, CancellationToken cancellationToken) 49private static QuickInfoItem? BuildQuickInfoCloseBrace(SyntaxToken token) 85return QuickInfoItem.Create(token.Span, relatedSpans: spans); 130private static QuickInfoItem? BuildQuickInfoDirectives(SyntaxToken token, CancellationToken cancellationToken) 138return QuickInfoItem.Create(token.Span, relatedSpans: [regionStart.Span]); 147return QuickInfoItem.Create(token.Span, relatedSpans: matchesBefore);
Microsoft.CodeAnalysis.Features (31)
QuickInfo\AbstractEmbeddedLanguageQuickInfoProvider.cs (2)
29protected override async Task<QuickInfoItem?> BuildQuickInfoAsync(QuickInfoContext context, SyntaxToken token) 40var result = quickInfoProvider.Value.GetQuickInfo(context, semanticModel, token);
QuickInfo\CommonQuickInfoProvider.cs (4)
14protected abstract Task<QuickInfoItem?> BuildQuickInfoAsync(QuickInfoContext context, SyntaxToken token); 16public override async Task<QuickInfoItem?> GetQuickInfoAsync(QuickInfoContext context) 24var info = await GetQuickInfoAsync(context, token).ConfigureAwait(false); 54private async Task<QuickInfoItem?> GetQuickInfoAsync(
QuickInfo\CommonSemanticQuickInfoProvider.cs (2)
25protected override async Task<QuickInfoItem?> BuildQuickInfoAsync( 145protected static Task<QuickInfoItem> CreateContentAsync(
QuickInfo\IEmbeddedLanguageQuickInfoProvider.cs (3)
12/// Gets the <see cref="QuickInfoItem"/> for the position in an embedded language. 14/// <returns>The <see cref="QuickInfoItem"/> or null if no item is available.</returns> 15QuickInfoItem? GetQuickInfo(
QuickInfo\Presentation\QuickInfoContentBuilder.cs (3)
34QuickInfoItem quickInfoItem, 188private static (Glyph symbolGlyph, bool addWarningGlyph) ComputeGlyphs(QuickInfoItem quickInfoItem) 214QuickInfoItem quickInfoItem,
QuickInfo\QuickInfoItem.cs (2)
49public static QuickInfoItem Create( 58internal static QuickInfoItem Create(
QuickInfo\QuickInfoProvider.cs (4)
10/// A provider that produces <see cref="QuickInfoItem"/>'s. 16/// Gets the <see cref="QuickInfoItem"/> for the position. 18/// <returns>The <see cref="QuickInfoItem"/> or null if no item is available.</returns> 19public abstract Task<QuickInfoItem?> GetQuickInfoAsync(QuickInfoContext context);
QuickInfo\QuickInfoSection.cs (1)
12/// Sections are used to make up a <see cref="QuickInfoItem"/>.
QuickInfo\QuickInfoService.cs (4)
32/// Gets the <see cref="QuickInfoItem"/> associated with position in the document. 34public Task<QuickInfoItem?> GetQuickInfoAsync( 43internal virtual Task<QuickInfoItem?> GetQuickInfoAsync( 49return SpecializedTasks.Null<QuickInfoItem>();
QuickInfo\QuickInfoServiceWithProviders.cs (2)
43internal override async Task<QuickInfoItem?> GetQuickInfoAsync(Document document, int position, SymbolDescriptionOptions options, CancellationToken cancellationToken) 50var info = await extensionManager.PerformFunctionAsync(
QuickInfo\QuickInfoUtilities.cs (4)
21public static Task<QuickInfoItem> CreateQuickInfoItemAsync(SolutionServices services, SemanticModel semanticModel, TextSpan span, ImmutableArray<ISymbol> symbols, SymbolDescriptionOptions options, CancellationToken cancellationToken) 24public static async Task<QuickInfoItem> CreateQuickInfoItemAsync( 51return QuickInfoItem.Create(span, sections: sections.ToImmutable()); 161return QuickInfoItem.Create(span, tags, sections.ToImmutable(), relatedSpans: default, onTheFlyDocsInfo);
Microsoft.CodeAnalysis.VisualBasic.Features (6)
QuickInfo\VisualBasicSemanticQuickInfoProvider.vb (6)
29token As SyntaxToken) As Task(Of QuickInfoItem) 45cancellationToken As CancellationToken) As Task(Of QuickInfoItem) 158cancellationToken As CancellationToken) As Task(Of QuickInfoItem) 185Return QuickInfoItem.Create(token.Span, sections:=ImmutableArray.Create(QuickInfoSection.Create(QuickInfoSectionKinds.Description, ImmutableArray.Create(New TaggedText(TextTags.Text, VBFeaturesResources.Multiple_Types))))) 197cancellationToken As CancellationToken) As QuickInfoItem 227Return QuickInfoItem.Create(