7 references to AlwaysForClarity
Microsoft.CodeAnalysis.CodeStyle (5)
AbstractAddRequiredParenthesesDiagnosticAnalyzer.cs (1)
117
if (preference.Value != ParenthesesPreference.
AlwaysForClarity
)
AbstractRemoveUnnecessaryParenthesesDiagnosticAnalyzer.cs (1)
94
if (preference.Value == ParenthesesPreference.
AlwaysForClarity
&&
CodeStyleOptions2.cs (2)
238
KeyValuePairUtil.Create("always_for_clarity", ParenthesesPreference.
AlwaysForClarity
),
261
var value = s_parenthesesPreferenceMap.GetKeyOrDefault(option.Value) ?? s_parenthesesPreferenceMap.GetKeyOrDefault(ParenthesesPreference.
AlwaysForClarity
);
IdeCodeStyleOptions.cs (1)
20
new(ParenthesesPreference.
AlwaysForClarity
, NotificationOption2.Silent);
Microsoft.CodeAnalysis.CodeStyle.UnitTestUtilities (2)
ParenthesesOptionsProvider.cs (2)
24
new CodeStyleOption2<ParenthesesPreference>(ParenthesesPreference.
AlwaysForClarity
, NotificationOption2.None);
27
new CodeStyleOption2<ParenthesesPreference>(ParenthesesPreference.
AlwaysForClarity
, NotificationOption2.Suggestion);