6 references to AlwaysForClarity
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\AddRequiredParentheses\AbstractAddRequiredParenthesesDiagnosticAnalyzer.cs (1)
109if (preference.Value != ParenthesesPreference.AlwaysForClarity
src\Analyzers\Core\Analyzers\RemoveUnnecessaryParentheses\AbstractRemoveUnnecessaryParenthesesDiagnosticAnalyzer.cs (1)
94if (preference.Value == ParenthesesPreference.AlwaysForClarity &&
Microsoft.CodeAnalysis.Workspaces (3)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (3)
247KeyValuePair.Create("always_for_clarity", ParenthesesPreference.AlwaysForClarity), 270var value = s_parenthesesPreferenceMap.GetKeyOrDefault(option.Value) ?? s_parenthesesPreferenceMap.GetKeyOrDefault(ParenthesesPreference.AlwaysForClarity); 275new(ParenthesesPreference.AlwaysForClarity, NotificationOption2.Silent);
Microsoft.VisualStudio.LanguageServices (1)
EditorConfigSettings\DataProvider\CodeStyle\CommonCodeStyleSettingsProvider.cs (1)
117var enumValues = new[] { ParenthesesPreference.AlwaysForClarity, ParenthesesPreference.NeverIfUnnecessary };