1 write to SolutionServices
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Host\HostWorkspaceServices.cs (1)
68
SolutionServices
= new SolutionServices(this);
20 references to SolutionServices
Microsoft.CodeAnalysis.Features (4)
Extensions\ExtensionMessageHandlerServiceFactory.cs (1)
19
=> new ExtensionMessageHandlerService(workspaceServices.
SolutionServices
);
ExternalAccess\VSTypeScript\Api\VSTypeScriptCompletionServiceWithProviders.cs (1)
20
: base(workspace.Services.
SolutionServices
, AsynchronousOperationListenerProvider.NullProvider)
MetadataAsSource\DecompilationMetadataAsSourceFileProvider.cs (1)
289
workspace.OnDocumentClosed(documentIdInfo.DocumentId, new WorkspaceFileTextLoader(workspace.Services.
SolutionServices
, fileInfo.TemporaryFilePath, MetadataAsSourceGeneratedFileInfo.Encoding));
MetadataAsSource\MetadataAsSourceFileService.cs (1)
216
workspace.OnDocumentClosed(documentId, new WorkspaceFileTextLoader(workspace.Services.
SolutionServices
, filePath, defaultEncoding: null));
Microsoft.CodeAnalysis.Workspaces (13)
Classification\Classifier.cs (1)
54
return GetClassifiedSpans(workspace.Services.
SolutionServices
, project: null, semanticModel, textSpan, ClassificationOptions.Default, cancellationToken);
Editing\SyntaxEditor.cs (2)
64
: this(root, (workspace ?? throw new ArgumentNullException(nameof(workspace))).Services.
SolutionServices
)
72
: this(root, (services ?? throw new ArgumentNullException(nameof(services))).
SolutionServices
)
Editing\SyntaxGenerator.cs (1)
61
=> GetGenerator(workspace.Services.
SolutionServices
, language);
FindSymbols\SymbolFinder.cs (1)
51
return FindSymbolAtPositionAsync(semanticModel, position, workspace.Services.
SolutionServices
, cancellationToken);
Remote\RemoteHostClient.cs (1)
42
=> TryGetClientAsync(workspace.Services.
SolutionServices
, cancellationToken);
Serialization\SerializerService.cs (1)
33
=> new SerializerService(workspaceServices.
SolutionServices
);
Simplification\Simplifier.cs (2)
86
return Expand(node, semanticModel, workspace.Services.
SolutionServices
, expandInsideNode, expandParameter, cancellationToken);
131
return Expand(token, semanticModel, workspace.Services.
SolutionServices
, expandInsideNode, cancellationToken);
Workspace\CommandLineProject.cs (1)
28
var languageServices = workspace.Services.
SolutionServices
.GetLanguageServices(language);
Workspace\Host\LanguageServices.cs (1)
22
public SolutionServices SolutionServices => _services.WorkspaceServices.
SolutionServices
;
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
49
public SolutionServices SolutionServices => this.Workspace.Services.
SolutionServices
;
Workspace\Solution\Solution.cs (1)
64
new SolutionState(workspace.Kind, workspace.Services.
SolutionServices
, solutionAttributes, options, analyzerReferences, fallbackAnalyzerOptions),
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\MSBuildProjectLoader.cs (1)
63
: this(workspace.Services.
SolutionServices
, new DiagnosticReporter(workspace), properties)
MSBuild\MSBuildWorkspace.cs (2)
42
_knownCommandLineParserLanguages = Services.
SolutionServices
.GetSupportedLanguages<ICommandLineParserService>();
481
.WithTextLoader(new WorkspaceFileTextLoader(Services.
SolutionServices
, fullPath, text.Encoding));