35 references to SolutionServices
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
33public SolutionServices SolutionServices => LanguageServices.SolutionServices;
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\ImportCompletion\TypeImportCompletionServiceFactory.cs (1)
23=> new CSharpTypeImportCompletionService(languageServices.LanguageServices.SolutionServices);
Completion\CSharpCompletionService.cs (1)
28=> new CSharpCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider);
Structure\CSharpBlockStructureService.cs (1)
26=> new CSharpBlockStructureService(languageServices.LanguageServices.SolutionServices);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Formatting\CSharpSyntaxFormattingService.cs (1)
318var formattingRuleFactory = _services.SolutionServices.GetRequiredService<IHostDependentFormattingRuleFactoryService>();
Microsoft.CodeAnalysis.EditorFeatures (1)
Interactive\Completion\InteractiveCommandCompletionService.cs (1)
24=> new InteractiveCommandCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider);
Microsoft.CodeAnalysis.Features (5)
Completion\CompletionService.cs (1)
159var extensionManager = languageServices.SolutionServices.GetRequiredService<IExtensionManager>();
QuickInfo\QuickInfoServiceWithProviders.cs (4)
34var mefExporter = _services.SolutionServices.ExportProvider; 50var extensionManager = _services.SolutionServices.GetRequiredService<IExtensionManager>(); 74var extensionManager = _services.SolutionServices.GetRequiredService<IExtensionManager>(); 83var context = new CommonQuickInfoContext(_services.SolutionServices, semanticModel, position, options, cancellationToken);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Completion\CompletionFeaturesTests.cs (2)
625return new CSharpLspMockCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider); 916return new CSharpLspThrowExceptionOnChangeCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider);
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\CompletionProviders\ImportCompletionProvider\TypeImportCompletionServiceFactory.vb (1)
22Return New BasicTypeImportCompletionService(languageServices.LanguageServices.SolutionServices)
Completion\VisualBasicCompletionService.vb (1)
33Return New VisualBasicCompletionService(languageServices.LanguageServices.SolutionServices, _listenerProvider)
Structure\VisualBasicBlockStructureService.vb (1)
22Return New VisualBasicBlockStructureService(languageServices.LanguageServices.SolutionServices)
Microsoft.CodeAnalysis.Workspaces (17)
Classification\Classifier.cs (1)
117var classifiedSpans = GetClassifiedSpans(languageServices.SolutionServices, project: null, semanticModel, textSpan, options, cancellationToken);
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (2)
46var storageService = project.LanguageServices.SolutionServices.GetPersistentStorageService(); 139var persistentStorageService = project.LanguageServices.SolutionServices.GetPersistentStorageService();
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
89var serializer = projectState.LanguageServices.SolutionServices.GetService<ISerializerService>();
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Utilities\ParsedDocument.cs (1)
33public SolutionServices SolutionServices => LanguageServices.SolutionServices;
Workspace\CommandLineProject.cs (3)
37var metadataService = languageServices.SolutionServices.GetRequiredService<IMetadataService>(); 45var analyzerLoader = languageServices.SolutionServices.GetRequiredService<IAnalyzerService>().GetLoader(); 168loader: new WorkspaceFileTextLoader(languageServices.SolutionServices, absolutePath, commandLineArguments.Encoding),
Workspace\Solution\DocumentState.cs (2)
47: base(languageServices.SolutionServices, documentServiceProvider, attributes, textSource, loadTextOptions) 62var textSource = CreateTextAndVersionSource(languageServices.SolutionServices, info.TextLoader, info.FilePath, loadTextOptions);
Workspace\Solution\ProjectState.cs (4)
106AnalyzerConfigDocumentStates = new TextDocumentStates<AnalyzerConfigDocumentState>(projectInfoFixed.AnalyzerConfigDocuments, info => new AnalyzerConfigDocumentState(languageServices.SolutionServices, info, loadTextOptions)); 121AdditionalDocumentStates = new TextDocumentStates<AdditionalDocumentState>(projectInfoFixed.AdditionalDocuments, info => new AdditionalDocumentState(languageServices.SolutionServices, info, loadTextOptions)); 295typeof(TDocumentState) == typeof(AdditionalDocumentState) ? new AdditionalDocumentState(LanguageServices.SolutionServices, documentInfo, new LoadTextOptions(ChecksumAlgorithm)) : 296typeof(TDocumentState) == typeof(AnalyzerConfigDocumentState) ? new AnalyzerConfigDocumentState(LanguageServices.SolutionServices, documentInfo, new LoadTextOptions(ChecksumAlgorithm)) :
Workspace\Solution\ProjectState_Checksum.cs (2)
34=> GetParseOptionsChecksum(LanguageServices.SolutionServices.GetRequiredService<ISerializerService>()); 51var serializer = LanguageServices.SolutionServices.GetRequiredService<ISerializerService>();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
70_validateStates = project.LanguageServices.SolutionServices.GetRequiredService<IWorkspaceConfigurationService>().Options.ValidateCompilationTrackerStates;
Microsoft.VisualStudio.LanguageServices (1)
Snippets\AbstractSnippetCommandHandler.cs (1)
47=> document.Project.Services.SolutionServices.GetRequiredService<ISnippetExpansionClientFactory>();
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Snippets\SnippetCompletionProvider.vb (1)
102Dim expansionClientFactory = document.Project.Services.SolutionServices.GetRequiredService(Of ISnippetExpansionClientFactory)()