3 references to GetProjectServices
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
149
if (solutionServices.
GetProjectServices
(contentType)?.GetService<IClassificationService>() is not { } classificationService)
Shared\Extensions\HostWorkspaceServicesExtensions.cs (2)
22
return workspaceServices.
GetProjectServices
(textBuffer.ContentType);
42
workspace.Services.SolutionServices.
GetProjectServices
(buffer.ContentType)?.Language : null;