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