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