2 writes to LanguageServices
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\Solution\ProjectState.cs (2)
77
LanguageServices
= languageServices;
96
LanguageServices
= languageServices;
25 references to LanguageServices
Microsoft.CodeAnalysis.Workspaces (25)
FindSymbols\Shared\AbstractSyntaxIndex.cs (1)
126
var syntaxKinds = project.
LanguageServices
.GetRequiredService<ISyntaxKindsService>();
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (2)
46
var storageService = project.
LanguageServices
.SolutionServices.GetPersistentStorageService();
139
var persistentStorageService = project.
LanguageServices
.SolutionServices.GetPersistentStorageService();
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
89
var serializer = projectState.
LanguageServices
.SolutionServices.GetService<ISerializerService>();
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (1)
43
var syntaxFacts = project.
LanguageServices
.GetRequiredService<ISyntaxFactsService>();
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex_Create.cs (1)
18
var infoFactory = project.
LanguageServices
.GetRequiredService<IDeclaredSymbolInfoFactoryService>();
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (2)
613
if (projectWithMetadataReference.
LanguageServices
.GetService<ICompilationFactoryService>() != null &&
614
referencedProject.
LanguageServices
.GetService<ICompilationFactoryService>() == null)
Workspace\Solution\Project.cs (2)
102
public HostLanguageServices LanguageServices => State.
LanguageServices
.HostLanguageServices;
109
public LanguageServices Services => State.
LanguageServices
;
Workspace\Solution\ProjectState.cs (7)
204
var compilationFactory =
LanguageServices
.GetService<ICompilationFactoryService>();
213
var syntaxTreeFactory =
LanguageServices
.GetService<ISyntaxTreeFactoryService>();
306
var doc = DocumentState.Create(
LanguageServices
, documentInfo, parseOptions, loadTextOptions);
320
typeof(TDocumentState) == typeof(AdditionalDocumentState) ? new AdditionalDocumentState(
LanguageServices
.SolutionServices, documentInfo, new LoadTextOptions(ChecksumAlgorithm)) :
321
typeof(TDocumentState) == typeof(AnalyzerConfigDocumentState) ? new AnalyzerConfigDocumentState(
LanguageServices
.SolutionServices, documentInfo, new LoadTextOptions(ChecksumAlgorithm)) :
836
=> project1.
LanguageServices
== project2.
LanguageServices
;
Workspace\Solution\ProjectState_Checksum.cs (2)
34
=> GetParseOptionsChecksum(
LanguageServices
.SolutionServices.GetRequiredService<ISerializerService>());
51
var serializer =
LanguageServices
.SolutionServices.GetRequiredService<ISerializerService>();
Workspace\Solution\SolutionCompilationState.cs (1)
1220
if (tracker.ProjectState.LanguageServices == fromProject.
LanguageServices
)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
70
_validateStates = project.
LanguageServices
.SolutionServices.GetRequiredService<IWorkspaceConfigurationService>().Options.ValidateCompilationTrackerStates;
649
var compilationFactory = this.ProjectState.
LanguageServices
.GetRequiredService<ICompilationFactoryService>();
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (3)
197
ProjectState.
LanguageServices
,
339
ProjectState.
LanguageServices
,
395
var compilationFactory = projectState.
LanguageServices
.GetRequiredService<ICompilationFactoryService>();