5 instantiations of QuickInfoContainerElement
Microsoft.CodeAnalysis.Features (5)
QuickInfo\Presentation\QuickInfoContentBuilder.cs (3)
87elements[0] = new QuickInfoContainerElement(QuickInfoContainerStyle.Wrapped, firstLineElements.ToImmutableAndClear()); 104elements[lastIndex] = new QuickInfoContainerElement( 178return new QuickInfoContainerElement(
QuickInfo\Presentation\TaggedTextExtensions.cs (2)
255return new(style, elements); 259=> new(QuickInfoContainerStyle.Wrapped, elements);
12 references to QuickInfoContainerElement
Microsoft.CodeAnalysis.EditorFeatures (3)
IntelliSense\PresentationExtensions.cs (2)
30public static VisualStudio.Text.Adornments.ContainerElement ToVsElement(this QuickInfoContainerElement element) 37QuickInfoContainerElement element => element.ToVsElement(),
IntelliSense\QuickInfo\IntellisenseQuickInfoBuilder.cs (1)
28var content = await QuickInfoContentBuilder.BuildInteractiveContentAsync(quickInfoItem, context, cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Features (6)
QuickInfo\Presentation\QuickInfoContainerStyle.cs (1)
10/// The layout style for a <see cref="QuickInfoContainerElement"/>.
QuickInfo\Presentation\QuickInfoContentBuilder.cs (1)
33public static async Task<QuickInfoContainerElement> BuildInteractiveContentAsync(
QuickInfo\Presentation\TaggedTextExtensions.cs (4)
232var container = StackedContainer(_lines.ToImmutableAndClear()); 243private static QuickInfoContainerElement StackedContainer(params ImmutableArray<QuickInfoElement> elements) 246private static QuickInfoContainerElement StackedContainer(bool includeVerticalPadding, params ImmutableArray<QuickInfoElement> elements) 258private static QuickInfoContainerElement WrappedContainer(params ImmutableArray<QuickInfoElement> elements)
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Extensions\Extensions.cs (2)
333public static ContainerElement ToLSPElement(this QuickInfoContainerElement element) 341QuickInfoContainerElement element => element.ToLSPElement(),
Handler\Hover\HoverHandler.cs (1)
119var content = await QuickInfoContentBuilder.BuildInteractiveContentAsync(info, context, cancellationToken).ConfigureAwait(false);