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