1 write to OptionStore
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\AbstractOptionPreviewViewModel.cs (1)
54this.OptionStore = optionStore;
7 references to OptionStore
Microsoft.VisualStudio.LanguageServices.CSharp (4)
Options\Formatting\SpacingViewModel.cs (3)
169Items.Add(new RadioButtonViewModel<BinaryOperatorSpacingOptionsInternal>(CSharpVSResources.Ignore_spaces_around_binary_operators, s_expressionSpacingPreview, "binary", BinaryOperatorSpacingOptionsInternal.Ignore, CSharpFormattingOptions2.SpacingAroundBinaryOperator, this, OptionStore)); 170Items.Add(new RadioButtonViewModel<BinaryOperatorSpacingOptionsInternal>(CSharpVSResources.Remove_spaces_before_and_after_binary_operators, s_expressionSpacingPreview, "binary", BinaryOperatorSpacingOptionsInternal.Remove, CSharpFormattingOptions2.SpacingAroundBinaryOperator, this, OptionStore)); 171Items.Add(new RadioButtonViewModel<BinaryOperatorSpacingOptionsInternal>(CSharpVSResources.Insert_space_before_and_after_binary_operators, s_expressionSpacingPreview, "binary", BinaryOperatorSpacingOptionsInternal.Single, CSharpFormattingOptions2.SpacingAroundBinaryOperator, this, OptionStore));
Options\Formatting\StyleViewModel.cs (1)
2274AddParenthesesOptions(OptionStore);
Microsoft.VisualStudio.LanguageServices.Implementation (3)
Options\AbstractOptionPreviewViewModel.cs (3)
91OptionStore.SetOption(option, option.IsPerLanguage ? Language : null, actualValue); 138var fallbackFormattingOptions = OptionStore.GlobalOptions.GetSyntaxFormattingOptions(document.Project.Services); 140var formattingOptions = formattingService.GetFormattingOptions(OptionStore);