22 references to None
Microsoft.CodeAnalysis.CodeStyle (4)
CodeStyleHelpers.cs (3)
53=> TryGetCodeStyleValueAndOptionalNotification(arg, defaultNotification: NotificationOption2.None, out value, out _); 99notification = NotificationOption2.None; 154new(default, NotificationOption2.None);
ReportDiagnosticExtensions.cs (1)
101return NotificationOption2.None;
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (1)
ParenthesesOptionsProvider.cs (1)
24new CodeStyleOption2<ParenthesesPreference>(ParenthesesPreference.AlwaysForClarity, NotificationOption2.None);
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
MisplacedUsingDirectivesCodeFixProvider.cs (1)
375var preferPreservation = styleOption.Notification == NotificationOption2.None;
Microsoft.CodeAnalysis.CSharp.CodeStyle.UnitTests (14)
MisplacedUsingDirectivesTests.cs (2)
33new(AddImportPlacement.OutsideNamespace, NotificationOption2.None); 36new(AddImportPlacement.InsideNamespace, NotificationOption2.None);
RemoveUnnecessaryLambdaExpressionTests.cs (1)
113Options = { { CSharpCodeStyleOptions.PreferMethodGroupConversion, new CodeStyleOption2<bool>(false, NotificationOption2.None) } }
RemoveUnusedParametersTests.cs (1)
117new CodeStyleOption2<UnusedValuePreference>(UnusedValuePreference.DiscardVariable, NotificationOption2.None));
RemoveUnusedValueAssignmentTests.cs (4)
36new CodeStyleOption2<UnusedValuePreference>(UnusedValuePreference.DiscardVariable, NotificationOption2.None)); 70{ CSharpCodeStyleOptions.UnusedValueAssignment, UnusedValuePreference.DiscardVariable, NotificationOption2.None }, 96{ CSharpCodeStyleOptions.UnusedValueAssignment, UnusedValuePreference.DiscardVariable, NotificationOption2.None }, 212{ CodeStyleOptions2.UnusedParameters, UnusedParametersPreference.NonPublicMethods, NotificationOption2.None },
RemoveUnusedValueExpressionStatementTests.cs (1)
29new CodeStyleOption2<UnusedValuePreference>(UnusedValuePreference.DiscardVariable, NotificationOption2.None));
UseExpressionBodyForAccessorsAnalyzerTests.cs (3)
581{ CSharpCodeStyleOptions.PreferExpressionBodiedAccessors, ExpressionBodyPreference.WhenOnSingleLine, NotificationOption2.None }, 582{ CSharpCodeStyleOptions.PreferExpressionBodiedProperties, ExpressionBodyPreference.WhenOnSingleLine, NotificationOption2.None }, 583{ CSharpCodeStyleOptions.PreferExpressionBodiedIndexers, ExpressionBodyPreference.WhenOnSingleLine, NotificationOption2.None },
UseVarTestExtensions.cs (2)
19private static readonly CodeStyleOption2<bool> onWithNone = new CodeStyleOption2<bool>(true, NotificationOption2.None); 20private static readonly CodeStyleOption2<bool> offWithNone = new CodeStyleOption2<bool>(false, NotificationOption2.None);
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests (2)
RemoveUnusedValueAssignmentTests.vb (1)
17New CodeStyleOption2(Of UnusedValuePreference)(UnusedValuePreference.UnusedLocalVariable, NotificationOption2.None))
RemoveUnusedValueExpressionStatementTests.vb (1)
17New CodeStyleOption2(Of UnusedValuePreference)(UnusedValuePreference.UnusedLocalVariable, NotificationOption2.None))