5 instantiations of NotificationOption
Microsoft.CodeAnalysis.Workspaces (5)
CodeStyle\NotificationOption.cs (5)
43
public static readonly NotificationOption None =
new
(NotificationOption2.None);
46
public static readonly NotificationOption Silent =
new
(NotificationOption2.Silent);
49
public static readonly NotificationOption Suggestion =
new
(NotificationOption2.Suggestion);
52
public static readonly NotificationOption Warning =
new
(NotificationOption2.Warning);
55
public static readonly NotificationOption Error =
new
(NotificationOption2.Error);
17 references to NotificationOption
Microsoft.CodeAnalysis.Workspaces (17)
CodeStyle\CodeStyleOption.cs (5)
28
public static CodeStyleOption<T> Default => new(default!,
NotificationOption
.Silent);
33
public CodeStyleOption(T value,
NotificationOption
notification)
49
ICodeStyleOption ICodeStyleOption.WithNotification(NotificationOption2 notification) => new CodeStyleOption<T>(Value, (
NotificationOption
)notification);
51
public
NotificationOption
Notification
53
get => (
NotificationOption
)UnderlyingOption.Notification;
CodeStyle\CodeStyleOption2_operators.cs (1)
21
return new CodeStyleOption<T>(option.Value, (
NotificationOption
)option.Notification);
CodeStyle\NotificationOption.cs (5)
43
public static readonly
NotificationOption
None = new(NotificationOption2.None);
46
public static readonly
NotificationOption
Silent = new(NotificationOption2.Silent);
49
public static readonly
NotificationOption
Suggestion = new(NotificationOption2.Suggestion);
52
public static readonly
NotificationOption
Warning = new(NotificationOption2.Warning);
55
public static readonly
NotificationOption
Error = new(NotificationOption2.Error);
CodeStyle\NotificationOption2_operators.cs (6)
9
public static explicit operator
NotificationOption
(NotificationOption2 notificationOption)
12
ReportDiagnostic.Suppress =>
NotificationOption
.None,
13
ReportDiagnostic.Hidden =>
NotificationOption
.Silent,
14
ReportDiagnostic.Info =>
NotificationOption
.Suggestion,
15
ReportDiagnostic.Warn =>
NotificationOption
.Warning,
16
ReportDiagnostic.Error =>
NotificationOption
.Error,