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