1 write to UnderlyingTracker
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
53this.UnderlyingTracker = underlyingTracker;
17 references to UnderlyingTracker
Microsoft.CodeAnalysis.Workspaces (17)
Workspace\Solution\SolutionCompilationState.cs (1)
1366trackerMap[projectId] = replacingItemTracker.UnderlyingTracker;
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (16)
40public ProjectState ProjectState => UnderlyingTracker.ProjectState; 42public GeneratorDriver? GeneratorDriver => UnderlyingTracker.GeneratorDriver; 78var underlyingTracker = this.UnderlyingTracker.Fork(newProject, translate); 84var underlyingTracker = this.UnderlyingTracker.WithCreateCreationPolicy(forceRegeneration); 85return underlyingTracker == this.UnderlyingTracker 92var underlyingTracker = this.UnderlyingTracker.WithDoNotCreateCreationPolicy(); 93return underlyingTracker == this.UnderlyingTracker 107return new WithFrozenSourceGeneratedDocumentsCompilationTracker(this.UnderlyingTracker, replacementDocumentStates); 121var underlyingSourceGeneratedDocuments = await UnderlyingTracker.GetSourceGeneratedDocumentStatesAsync( 123var newCompilation = await UnderlyingTracker.GetCompilationAsync(compilationState, cancellationToken).ConfigureAwait(false); 154=> UnderlyingTracker.GetDependentVersionAsync(compilationState, cancellationToken); 157=> UnderlyingTracker.GetDependentSemanticVersionAsync(compilationState, cancellationToken); 162var newStates = await UnderlyingTracker.GetSourceGeneratedDocumentStatesAsync( 194return UnderlyingTracker.HasSuccessfullyLoadedAsync(compilationState, cancellationToken); 211return UnderlyingTracker.TryGetSourceGeneratedDocumentStateForAlreadyGeneratedId(documentId); 222return UnderlyingTracker.GetSourceGeneratorDiagnosticsAsync(compilationState, cancellationToken);