1 write to Preferences
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\Style\AbstractCodeStyleOptionViewModel.cs (1)
61Preferences = 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)
57if (enumIndex < 0 || enumIndex >= Preferences.Count) 62_selectedPreference = Preferences[enumIndex]; 73var index = Preferences.IndexOf(SelectedPreference); 85var index = Preferences.IndexOf(value); 104var index = Preferences.IndexOf(SelectedPreference);