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