6 references to NeverIfUnnecessary
Microsoft.CodeAnalysis.EditorFeatures.DiagnosticsTests.Utilities (1)
Diagnostics\ParenthesesOptionsProvider.cs (1)
30new CodeStyleOption2<ParenthesesPreference>(ParenthesesPreference.NeverIfUnnecessary, NotificationOption2.Suggestion);
Microsoft.CodeAnalysis.Features (1)
AbstractRemoveUnnecessaryParenthesesDiagnosticAnalyzer.cs (1)
104Debug.Assert(preference.Value == ParenthesesPreference.NeverIfUnnecessary ||
Microsoft.CodeAnalysis.Workspaces (2)
CodeStyleOptions2.cs (1)
239KeyValuePairUtil.Create("never_if_unnecessary", ParenthesesPreference.NeverIfUnnecessary),
IdeCodeStyleOptions.cs (1)
23new(ParenthesesPreference.NeverIfUnnecessary, NotificationOption2.Silent);
Microsoft.VisualStudio.LanguageServices (1)
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsProvider.cs (1)
116var enumValues = new[] { ParenthesesPreference.AlwaysForClarity, ParenthesesPreference.NeverIfUnnecessary };
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPreviewViewModel.cs (1)
221preferences.Add(ParenthesesPreference.NeverIfUnnecessary);