2 instantiations of ViewHostingControl
Microsoft.CodeAnalysis.EditorFeatures (2)
QuickInfo\ProjectionBufferContent.cs (1)
77return new ViewHostingControl(CreateView, CreateBuffer);
Structure\StructureTaggerProvider.cs (1)
39return new ViewHostingControl(CreateElisionBufferView, () => CreateElisionBufferForTagTooltip(structureTag));
11 references to ViewHostingControl
Microsoft.CodeAnalysis.EditorFeatures (8)
QuickInfo\ContentControlService.cs (4)
55var control = CreateViewHostingControl(textBuffer, contentSpan); 78var control = CreateViewHostingControl(textBuffer, textBuffer.CurrentSnapshot.GetFullSpan().Span); 92public ViewHostingControl CreateViewHostingControl(ITextBuffer textBuffer, Span contentSpan) 105var contentControl = ProjectionBufferContent.Create(
QuickInfo\IContentControlService.cs (2)
18/// return <see cref="ViewHostingControl"/> from the given <paramref name="textBuffer"/>'s <paramref name="contentSpan"/> 20ViewHostingControl CreateViewHostingControl(ITextBuffer textBuffer, Span contentSpan);
QuickInfo\ProjectionBufferContent.cs (2)
52public static ViewHostingControl Create( 73private ViewHostingControl Create()
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Structure\StructureTaggerTests.cs (3)
331var hints = tags.Select(x => x.GetCollapsedHintForm()).Cast<ViewHostingControl>().ToArray(); 426var control = Assert.IsType<ViewHostingControl>(tag.GetCollapsedHintForm());