18 instantiations of InfoBarUI
Microsoft.CodeAnalysis.EditorFeatures (4)
Editor\EditorLayerExtensionManager.cs (4)
85new InfoBarUI(WorkspacesResources.Show_Stack_Trace, InfoBarUI.UIKind.HyperLink, () => ShowDetailedErrorInfo(exception), closeAfterAction: false), 86new InfoBarUI(WorkspacesResources.Enable, InfoBarUI.UIKind.Button, () => 91new InfoBarUI(WorkspacesResources.Enable_and_ignore_future_errors, InfoBarUI.UIKind.Button, () => 97new InfoBarUI(string.Empty, InfoBarUI.UIKind.Close, () => LogLeaveDisabled(provider)));
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
128new InfoBarUI(
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
359new InfoBarUI(
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
383new InfoBarUI(
Microsoft.VisualStudio.LanguageServices (11)
ErrorReporting\VisualStudioErrorReportingService.cs (1)
66infoBarUIs.Add(new InfoBarUI(
ExternalAccess\LegacyCodeAnalysis\LegacyCodeAnalysisVisualStudioSuppressionFixServiceAccessor.cs (3)
50new InfoBarUI( 72new InfoBarUI( 94new InfoBarUI(
Implementation\VirtualMemoryNotificationListener.cs (2)
167new InfoBarUI(ServicesVSResources.Re_enable, InfoBarUI.UIKind.Button, RenableBackgroundAnalysis), 168new InfoBarUI(ServicesVSResources.Learn_more, InfoBarUI.UIKind.HyperLink,
KeybindingReset\KeybindingResetDetector.cs (5)
244new InfoBarUI(title: ServicesVSResources.Reset_Visual_Studio_default_keymapping, 247new InfoBarUI(title: string.Format(ServicesVSResources.Apply_0_keymapping_scheme, ReSharperKeyboardMappingName), 250new InfoBarUI(title: string.Format(ServicesVSResources.Apply_0_keymapping_scheme, VSCodeKeyboardMappingName), 253new InfoBarUI(title: ServicesVSResources.Never_show_this_again, 256new InfoBarUI(title: "", kind: InfoBarUI.UIKind.Close,
32 references to InfoBarUI
Microsoft.CodeAnalysis.EditorFeatures (5)
Editor\EditorLayerExtensionManager.cs (4)
85new InfoBarUI(WorkspacesResources.Show_Stack_Trace, InfoBarUI.UIKind.HyperLink, () => ShowDetailedErrorInfo(exception), closeAfterAction: false), 86new InfoBarUI(WorkspacesResources.Enable, InfoBarUI.UIKind.Button, () => 91new InfoBarUI(WorkspacesResources.Enable_and_ignore_future_errors, InfoBarUI.UIKind.Button, () => 97new InfoBarUI(string.Empty, InfoBarUI.UIKind.Close, () => LogLeaveDisabled(provider)));
ErrorReporting\EditorErrorReportingService.cs (1)
27public void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
130InfoBarUI.UIKind.HyperLink,
InlineRename\UI\Dashboard\RenameDashboard.xaml.cs (1)
361InfoBarUI.UIKind.HyperLink,
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\CodeFixes\CodeFixService.cs (1)
385InfoBarUI.UIKind.HyperLink,
Microsoft.CodeAnalysis.Workspaces (1)
ErrorReporting\IErrorReportingService.cs (1)
24void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
TestErrorReportingService.cs (1)
32public void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items)
Microsoft.VisualStudio.LanguageServices (22)
ErrorReporting\VisualStudioErrorReportingService.cs (3)
41public void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items) 62var infoBarUIs = new List<InfoBarUI>(); 68InfoBarUI.UIKind.HyperLink,
ErrorReporting\VisualStudioInfoBar.cs (9)
47public void ShowInfoBar(string message, params InfoBarUI[] items) 67foreach (var item in items) 71case InfoBarUI.UIKind.Button: 74case InfoBarUI.UIKind.HyperLink: 77case InfoBarUI.UIKind.Close: 104items.FirstOrDefault(i => i.Kind == InfoBarUI.UIKind.Close).Action?.Invoke(); 124private readonly InfoBarUI[] _items; 127public InfoBarEvents(InfoBarUI[] items, Action onClose) 137var item = _items.FirstOrDefault(i => i.Title == actionItem.Text);
ExternalAccess\LegacyCodeAnalysis\LegacyCodeAnalysisVisualStudioSuppressionFixServiceAccessor.cs (3)
52InfoBarUI.UIKind.HyperLink, 74InfoBarUI.UIKind.HyperLink, 96InfoBarUI.UIKind.HyperLink,
Implementation\VirtualMemoryNotificationListener.cs (2)
167new InfoBarUI(ServicesVSResources.Re_enable, InfoBarUI.UIKind.Button, RenableBackgroundAnalysis), 168new InfoBarUI(ServicesVSResources.Learn_more, InfoBarUI.UIKind.HyperLink,
KeybindingReset\KeybindingResetDetector.cs (5)
245kind: InfoBarUI.UIKind.Button, 248kind: InfoBarUI.UIKind.Button, 251kind: InfoBarUI.UIKind.Button, 254kind: InfoBarUI.UIKind.HyperLink, 256new InfoBarUI(title: "", kind: InfoBarUI.UIKind.Close,