28 references to Silent
Roslyn.Diagnostics.Analyzers (17)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\AddImport\AddImportPlacementOptions.cs (1)
14new(AddImportPlacement.OutsideNamespace, NotificationOption2.Silent);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleHelpers.cs (2)
106notification = NotificationOption2.Silent; 114notification = NotificationOption2.Silent;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOption2`1.cs (4)
41public static readonly CodeStyleOption2<bool> TrueWithSilentEnforcement = new(value: true, notification: NotificationOption2.Silent); 42public static readonly CodeStyleOption2<bool> FalseWithSilentEnforcement = new(value: false, notification: NotificationOption2.Silent); 77public static readonly CodeStyleOption2<T> Default = new(default!, NotificationOption2.Silent); 192DiagnosticSeverity.Hidden => NotificationOption2.Silent,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (3)
209defaultValue: new CodeStyleOption2<AccessibilityModifiersRequired>(SyntaxFormattingOptions.CommonDefaults.AccessibilityModifiersRequired, NotificationOption2.Silent), 275new(ParenthesesPreference.AlwaysForClarity, NotificationOption2.Silent); 294defaultValue: new(ParenthesesPreference.NeverIfUnnecessary, NotificationOption2.Silent),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\NotificationOption2.cs (2)
52ReportDiagnostic.Hidden or ReportDiagnostic.Default => Silent, 63DiagnosticSeverity.Hidden => Silent,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\VisualBasic\VisualBasicCodeStyleOptions.cs (2)
31"Dim,Const,WithEvents,Widening,Narrowing,Custom,Async,Iterator", NotificationOption2.Silent)); 46defaultValue: new CodeStyleOption2<UnusedValuePreference>(UnusedValuePreference.UnusedLocalVariable, NotificationOption2.Silent),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\DiagnosticSeverityExtensions.cs (1)
18DiagnosticSeverity.Hidden => NotificationOption2.Silent,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ReportDiagnosticExtensions.cs (1)
33ReportDiagnostic.Hidden => NotificationOption2.Silent,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Simplification\Simplifiers\AbstractMemberAccessExpressionSimplifier.cs (1)
40notificationOption = NotificationOption2.Silent;
Roslyn.Diagnostics.CSharp.Analyzers (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeGeneration\CSharpCodeGenerationOptions.cs (3)
17new(ExpressionBodyPreference.Never, NotificationOption2.Silent); 20new(ExpressionBodyPreference.WhenPossible, NotificationOption2.Silent); 23new(NamespaceDeclarationPreference.BlockScoped, NotificationOption2.Silent);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\CodeStyle\CSharpCodeStyleOptions.cs (5)
96new(ExpressionBodyPreference.Never, NotificationOption2.Silent); 102new(ExpressionBodyPreference.WhenPossible, NotificationOption2.Silent); 108new(ExpressionBodyPreference.WhenOnSingleLine, NotificationOption2.Silent); 181defaultValue: new CodeStyleOption2<string>(string.Join(",", s_preferredModifierOrderDefault.Select(SyntaxFacts.GetText)), NotificationOption2.Silent)); 233defaultValue: new CodeStyleOption2<UnusedValuePreference>(UnusedValuePreference.DiscardVariable, NotificationOption2.Silent),
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\CSharpSyntaxFormattingOptions.cs (2)
18new(NamespaceDeclarationPreference.BlockScoped, NotificationOption2.Silent); 21new(value: true, notification: NotificationOption2.Silent);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\CSharpSimplifierOptions.cs (1)
19new(PreferBracesPreference.Always, NotificationOption2.Silent);