26 references to UIKind
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)
99InfoBarUI.UIKind.HyperLink,
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Service\CodeFixService.cs (1)
428InfoBarUI.UIKind.HyperLink,
Microsoft.CodeAnalysis.Workspaces (2)
ErrorReporting\InfoBarUI.cs (2)
13public readonly UIKind Kind; 17public InfoBarUI(string title, UIKind kind, Action action, bool closeAfterAction = true)
Microsoft.VisualStudio.LanguageServices (18)
ErrorReporting\VisualStudioErrorReportingService.cs (1)
74InfoBarUI.UIKind.HyperLink,
ErrorReporting\VisualStudioInfoBar.cs (4)
86case InfoBarUI.UIKind.Button: 89case InfoBarUI.UIKind.HyperLink: 92case InfoBarUI.UIKind.Close: 120items.FirstOrDefault(i => i.Kind == InfoBarUI.UIKind.Close).Action?.Invoke();
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 (1)
505InfoBarUI[] infoBarItems = [new InfoBarUI(ServicesVSResources.Rerun_generator, InfoBarUI.UIKind.Button, () =>