19 instantiations of InfoBarUI
Microsoft.CodeAnalysis.EditorFeatures (5)
Editor\EditorLayerExtensionManager.cs (4)
68new InfoBarUI(WorkspacesResources.Show_Stack_Trace, InfoBarUI.UIKind.HyperLink, () => ShowDetailedErrorInfo(exception), closeAfterAction: false), 69new InfoBarUI(WorkspacesResources.Enable, InfoBarUI.UIKind.Button, () => 74new InfoBarUI(WorkspacesResources.Enable_and_ignore_future_errors, InfoBarUI.UIKind.Button, () => 80new InfoBarUI(string.Empty, InfoBarUI.UIKind.Close, () => LogLeaveDisabled(provider)));
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
97new InfoBarUI(
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Service\CodeFixService.cs (1)
426new InfoBarUI(
Microsoft.VisualStudio.LanguageServices (13)
ErrorReporting\VisualStudioErrorReportingService.cs (1)
72infoBarUIs.Add(new InfoBarUI(
ExternalAccess\LegacyCodeAnalysis\LegacyCodeAnalysisVisualStudioSuppressionFixServiceAccessor.cs (3)
49new InfoBarUI( 71new InfoBarUI( 93new InfoBarUI(
KeybindingReset\KeybindingResetDetector.cs (5)
252new InfoBarUI(title: ServicesVSResources.Reset_Visual_Studio_default_keymapping, 255new InfoBarUI(title: string.Format(ServicesVSResources.Apply_0_keymapping_scheme, ReSharperKeyboardMappingName), 258new InfoBarUI(title: string.Format(ServicesVSResources.Apply_0_keymapping_scheme, VSCodeKeyboardMappingName), 261new InfoBarUI(title: ServicesVSResources.Never_show_this_again, 264new InfoBarUI(title: "", kind: InfoBarUI.UIKind.Close,
ProjectSystem\VisualStudioWorkspaceImpl.cs (4)
1210new(WorkspacesResources.Show_Stack_Trace, InfoBarUI.UIKind.HyperLink, 1213new(ServicesVSResources.Ignore, InfoBarUI.UIKind.Button, GetDefaultDismissAction()), 1216new(ServicesVSResources.Ignore_including_future_errors, InfoBarUI.UIKind.Button, GetDefaultDismissAction( 1219new(string.Empty, InfoBarUI.UIKind.Close, GetDefaultDismissAction()));
37 references to InfoBarUI
Microsoft.CodeAnalysis.EditorFeatures (6)
Editor\EditorLayerExtensionManager.cs (4)
68new InfoBarUI(WorkspacesResources.Show_Stack_Trace, InfoBarUI.UIKind.HyperLink, () => ShowDetailedErrorInfo(exception), closeAfterAction: false), 69new InfoBarUI(WorkspacesResources.Enable, InfoBarUI.UIKind.Button, () => 74new InfoBarUI(WorkspacesResources.Enable_and_ignore_future_errors, InfoBarUI.UIKind.Button, () => 80new InfoBarUI(string.Empty, InfoBarUI.UIKind.Close, () => LogLeaveDisabled(provider)));
ErrorReporting\EditorErrorReportingService.cs (1)
27public void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items)
InlineRename\CommandHandlers\RenameCommandHandler.cs (1)
99InfoBarUI.UIKind.HyperLink,
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Service\CodeFixService.cs (1)
428InfoBarUI.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)
31public void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items)
Microsoft.VisualStudio.LanguageServices (28)
ErrorReporting\VisualStudioErrorReportingService.cs (3)
46public void ShowGlobalErrorInfo(string message, TelemetryFeatureName featureName, Exception? exception, params InfoBarUI[] items) 68var infoBarUIs = new List<InfoBarUI>(); 74InfoBarUI.UIKind.HyperLink,
ErrorReporting\VisualStudioInfoBar.cs (11)
45public void ShowInfoBarMessageFromAnyThread(string message, params InfoBarUI[] items) 52params InfoBarUI[] items) 67params InfoBarUI[] items) 82foreach (var item in items) 86case InfoBarUI.UIKind.Button: 89case InfoBarUI.UIKind.HyperLink: 92case InfoBarUI.UIKind.Close: 120items.FirstOrDefault(i => i.Kind == InfoBarUI.UIKind.Close).Action?.Invoke(); 180private readonly InfoBarUI[] _items; 183public InfoBarEvents(InfoBarUI[] items, Action onClose) 193var item = _items.FirstOrDefault(i => i.Title == actionItem.Text);
ExternalAccess\LegacyCodeAnalysis\LegacyCodeAnalysisVisualStudioSuppressionFixServiceAccessor.cs (3)
51InfoBarUI.UIKind.HyperLink, 73InfoBarUI.UIKind.HyperLink, 95InfoBarUI.UIKind.HyperLink,
KeybindingReset\KeybindingResetDetector.cs (5)
253kind: InfoBarUI.UIKind.Button, 256kind: InfoBarUI.UIKind.Button, 259kind: InfoBarUI.UIKind.Button, 262kind: InfoBarUI.UIKind.HyperLink, 264new InfoBarUI(title: "", kind: InfoBarUI.UIKind.Close,
ProjectSystem\VisualStudioWorkspaceImpl.cs (4)
1210new(WorkspacesResources.Show_Stack_Trace, InfoBarUI.UIKind.HyperLink, 1213new(ServicesVSResources.Ignore, InfoBarUI.UIKind.Button, GetDefaultDismissAction()), 1216new(ServicesVSResources.Ignore_including_future_errors, InfoBarUI.UIKind.Button, GetDefaultDismissAction( 1219new(string.Empty, InfoBarUI.UIKind.Close, GetDefaultDismissAction()));
Workspace\SourceGeneratedFileManager.cs (2)
505InfoBarUI[] infoBarItems = [new InfoBarUI(ServicesVSResources.Rerun_generator, InfoBarUI.UIKind.Button, () =>