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