5 references to AlwaysForClarity
Microsoft.CodeAnalysis.CodeStyle (5)
src\Analyzers\Core\Analyzers\AddRequiredParentheses\AbstractAddRequiredParenthesesDiagnosticAnalyzer.cs (1)
116if (preference.Value != ParenthesesPreference.AlwaysForClarity
src\Analyzers\Core\Analyzers\RemoveUnnecessaryParentheses\AbstractRemoveUnnecessaryParenthesesDiagnosticAnalyzer.cs (1)
94if (preference.Value == ParenthesesPreference.AlwaysForClarity &&
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (3)
247KeyValuePairUtil.Create("always_for_clarity", ParenthesesPreference.AlwaysForClarity), 270var value = s_parenthesesPreferenceMap.GetKeyOrDefault(option.Value) ?? s_parenthesesPreferenceMap.GetKeyOrDefault(ParenthesesPreference.AlwaysForClarity); 275new(ParenthesesPreference.AlwaysForClarity, NotificationOption2.Silent);