1 write to Factory
Microsoft.CodeAnalysis.EditorFeatures (1)
Options\EditorOptionsService.cs (1)
29Factory = factory;
23 references to Factory
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\Indentation\SmartIndenterTests.cs (1)
3498var editorOptions = editorOptionsService.Factory.GetOptions(buffer);
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (1)
3381var editorOptions = optionsService.Factory.GetOptions(textBuffer);
Microsoft.CodeAnalysis.EditorFeatures (10)
Diagnostics\DiagnosticsClassificationTaggerProvider.cs (1)
62=> !_editorOptionsService.Factory.GlobalOptions.GetOptionValue(DefaultTextViewHostOptions.IsInContrastModeId);
Options\TextBufferOptionProviders.cs (6)
25var editorOptions = optionsProvider.Factory.GetOptions(textBuffer); 31=> GetLineFormattingOptionsImpl(textBuffer, optionsProvider.Factory.GetOptions(textBuffer), optionsProvider.IndentationManager, explicitFormat); 47=> GetSyntaxFormattingOptionsImpl(textBuffer, optionsProvider.Factory.GetOptions(textBuffer), optionsProvider.IndentationManager, optionsProvider.GlobalOptions, languageServices, explicitFormat); 61var editorOptions = optionsProvider.Factory.GetOptions(textBuffer); 74var editorOptions = optionsProvider.Factory.GetOptions(textBuffer); 82var editorOptions = optionsProvider.Factory.GetOptions(textBuffer);
Preview\AbstractPreviewFactoryService.cs (2)
584_editorOptionsService.Factory.GlobalOptions, 592_editorOptionsService.Factory.GlobalOptions,
Structure\AbstractStructureTaggerProvider.cs (1)
360EditorOptionsService.Factory.GlobalOptions,
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
Interactive\InteractiveCommandHandler.cs (2)
52var editorOptions = _editorOptionsService.Factory.GetOptions(args.SubjectBuffer); 117var editorOptions = _editorOptionsService.Factory.GetOptions(args.SubjectBuffer);
Interactive\ResetInteractive.cs (1)
114var editorOptions = _editorOptionsService.Factory.GetOptions(interactiveWindow.CurrentLanguageBuffer);
QuickInfo\ProjectionBufferContent.cs (1)
99_editorOptionsService.Factory.GlobalOptions, _contentType, _spans.ToArray());
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures.UnitTests (1)
Formatting\Indentation\SmartIndenterTests.vb (1)
2998Dim editorOptions = editorOptionsService.Factory.GetOptions(textBuffer)
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
889var editorOptions = _editorOptionsService.Factory.GetOptions(DataBuffer);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Interactive\Commands\ResetInteractiveTests.cs (1)
87var editorOptions = editorOptionsService.Factory.GetOptions(testHost.Window.CurrentLanguageBuffer);
Microsoft.VisualStudio.LanguageServices.Implementation (2)
CodeModel\AbstractCodeModelService.cs (2)
83var editorOptions = (textBuffer != null) ? _editorOptionsService.Factory.GetOptions(textBuffer) : _editorOptionsService.Factory.GlobalOptions;
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Snippets\CSharpSnippetExpansionClientTests.vb (1)
314Dim editorOptions = editorOptionsService.Factory.GetOptions(textBuffer)
Snippets\VisualBasicSnippetExpansionClientTests.vb (1)
353Dim editorOptions = optionsService.Factory.GetOptions(textBuffer)