2 instantiations of DisposableToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
QuickInfo\ContentControlService.cs (2)
74return new DisposableToolTip(toolTip, workspace); 89return new DisposableToolTip(toolTip, workspaceOpt: null);
14 references to DisposableToolTip
Microsoft.CodeAnalysis.EditorFeatures.Wpf (13)
QuickInfo\ContentControlService.cs (3)
52public void AttachToolTipToControl(FrameworkElement element, Func<DisposableToolTip> createToolTip) 55public DisposableToolTip CreateDisposableToolTip(Document document, ITextBuffer textBuffer, Span contentSpan, object backgroundResourceKey) 77public DisposableToolTip CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey)
QuickInfo\IContentControlService.cs (6)
23/// get <see cref="DisposableToolTip"/> /> from the given <paramref name="textBuffer"/>'s <paramref name="contentSpan"/> 34DisposableToolTip CreateDisposableToolTip(Document baseDocument, ITextBuffer textBuffer, Span contentSpan, object backgroundResourceKey); 37/// get <see cref="DisposableToolTip"/> /> from the given <paramref name="textBuffer"/> 42DisposableToolTip CreateDisposableToolTip(ITextBuffer textBuffer, object backgroundResourceKey); 45/// attach <see cref="DisposableToolTip"/> to the given <paramref name="element"/> 49void AttachToolTipToControl(FrameworkElement element, Func<DisposableToolTip> createToolTip);
QuickInfo\LazyToolTip.cs (4)
23private readonly Func<DisposableToolTip> _createToolTip; 26private DisposableToolTip _disposableToolTip; 31Func<DisposableToolTip> createToolTip) 49public static void AttachTo(FrameworkElement element, IThreadingContext threadingContext, Func<DisposableToolTip> createToolTip)
Microsoft.VisualStudio.LanguageServices (1)
FindReferences\Entries\DocumentSpanEntry.cs (1)
221private DisposableToolTip CreateDisposableToolTip(Document document, TextSpan sourceSpan)