1 write to Preferences
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\AbstractCodeStyleOptionViewModel.cs (1)
60Preferences = preferences ?? GetDefaultPreferences();
6 references to Preferences
Microsoft.VisualStudio.LanguageServices.Implementation (6)
Options\Style\BooleanCodeStyleOptionViewModel.cs (1)
42_selectedPreference = Preferences.Single(c => c.IsChecked == codeStyleOption.Value);
Options\Style\EnumCodeStyleOptionViewModel.cs (5)
58if (enumIndex < 0 || enumIndex >= Preferences.Count) 63_selectedPreference = Preferences[enumIndex]; 74var index = Preferences.IndexOf(SelectedPreference); 86var index = Preferences.IndexOf(value); 105var index = Preferences.IndexOf(SelectedPreference);