5 references to s_parenthesesPreferenceMap
Microsoft.CodeAnalysis.CodeStyle (5)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\CodeStyle\CodeStyleOptions2.cs (5)
261
Debug.Assert(
s_parenthesesPreferenceMap
.ContainsKey(value));
262
return new CodeStyleOption2<ParenthesesPreference>(
s_parenthesesPreferenceMap
.GetValueOrDefault(value), notification);
269
Debug.Assert(
s_parenthesesPreferenceMap
.ContainsValue(option.Value));
270
var value =
s_parenthesesPreferenceMap
.GetKeyOrDefault(option.Value) ??
s_parenthesesPreferenceMap
.GetKeyOrDefault(ParenthesesPreference.AlwaysForClarity);