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