17 references to Factory
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
Formatting\Indentation\SmartIndenterTests.cs (1)
3699
var editorOptions = editorOptionsService.
Factory
.GetOptions(buffer);
Formatting\Indentation\SmartTokenFormatterFormatRangeTests.cs (1)
3130
var editorOptions = optionsService.
Factory
.GetOptions(textBuffer);
Microsoft.CodeAnalysis.EditorFeatures (13)
Interactive\InteractiveCommandHandler.cs (2)
49
var editorOptions = _editorOptionsService.
Factory
.GetOptions(args.SubjectBuffer);
114
var editorOptions = _editorOptionsService.
Factory
.GetOptions(args.SubjectBuffer);
Interactive\ResetInteractive.cs (1)
112
var editorOptions = _editorOptionsService.
Factory
.GetOptions(interactiveWindow.CurrentLanguageBuffer);
Options\TextBufferOptionProviders.cs (6)
22
var editorOptions = optionsProvider.
Factory
.GetOptions(textBuffer);
28
=> GetLineFormattingOptionsImpl(textBuffer, optionsProvider.
Factory
.GetOptions(textBuffer), optionsProvider.IndentationManager, explicitFormat);
44
=> GetSyntaxFormattingOptionsImpl(textBuffer, optionsProvider.
Factory
.GetOptions(textBuffer), fallbackOptions, optionsProvider.IndentationManager, languageServices, explicitFormat);
57
var editorOptions = optionsProvider.
Factory
.GetOptions(textBuffer);
70
var editorOptions = optionsProvider.
Factory
.GetOptions(textBuffer);
77
var editorOptions = optionsProvider.
Factory
.GetOptions(textBuffer);
Preview\AbstractPreviewFactoryService.cs (2)
600
_editorOptionsService.
Factory
.GlobalOptions,
608
_editorOptionsService.
Factory
.GlobalOptions,
QuickInfo\ProjectionBufferContent.cs (1)
99
_editorOptionsService.
Factory
.GlobalOptions, _contentType, [.. _spans]);
Structure\AbstractStructureTaggerProvider.cs (1)
373
EditorOptionsService.
Factory
.GlobalOptions,
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
886
var editorOptions = _editorOptionsService.
Factory
.GetOptions(DataBuffer);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
Interactive\Commands\ResetInteractiveTests.cs (1)
88
var editorOptions = editorOptionsService.
Factory
.GetOptions(testHost.Window.CurrentLanguageBuffer);