3 implementations of ICompilationTracker
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
31private sealed partial class RegularCompilationTracker : ICompilationTracker
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
27private sealed partial class RegularCompilationTracker : ICompilationTracker
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (1)
27private sealed class WithFrozenSourceGeneratedDocumentsCompilationTracker : ICompilationTracker
35 references to ICompilationTracker
Microsoft.CodeAnalysis.Workspaces (35)
Workspace\Solution\SolutionCompilationState.cs (15)
48private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> _projectIdToTrackerMap; 63ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> projectIdToTrackerMap, 95projectIdToTrackerMap: ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Empty, 118ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>? projectIdToTrackerMap = null, 192if (trackerMap.TryGetValue(arg.projectId, out var tracker)) 209/// Creates a mapping of <see cref="ProjectId"/> to <see cref="ICompilationTracker"/> 215private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> CreateCompilationTrackerMap<TArg>( 218Action<ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Builder, TArg> modifyNewTrackerInfo, 237/// Creates a mapping of <see cref="ProjectId"/> to <see cref="ICompilationTracker"/> 243private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> CreateCompilationTrackerMap<TArg>( 246Action<ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Builder, TArg> modifyNewTrackerInfo, 269/// Creates a mapping of <see cref="ProjectId"/> to <see cref="ICompilationTracker"/> 275private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> CreateCompilationTrackerMap<TArgCanReuse, TArgModifyNewTrackerInfo>( 278Action<ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Builder, TArgModifyNewTrackerInfo> modifyNewTrackerInfo, 295var localTracker = tracker.Fork(tracker.ProjectState, translate: null);
Workspace\Solution\SolutionCompilationState.ICompilationTracker.cs (4)
38ICompilationTracker Fork(ProjectState newProject, TranslationAction? translate); 47ICompilationTracker WithCreateCreationPolicy(bool forceRegeneration); 52ICompilationTracker WithDoNotCreateCreationPolicy(); 58/// Gets the source generator files generated by this <see cref="ICompilationTracker"/>. <paramref
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
125public ICompilationTracker Fork( 683public ICompilationTracker WithCreateCreationPolicy(bool forceRegeneration) 739public ICompilationTracker WithDoNotCreateCreationPolicy()
Workspace\Solution\SolutionCompilationState.SkeletonReferenceCache.cs (4)
40/// cref="ICompilationTracker"/> forks itself, it will also <see cref="Clone"/> this, allowing previously computed 141ICompilationTracker compilationTracker, 159ICompilationTracker compilationTracker, 196ICompilationTracker compilationTracker,
Workspace\Solution\SolutionCompilationState.WithFrozenSourceGeneratedDocumentsCompilationTracker.cs (9)
17/// An implementation of <see cref="ICompilationTracker"/> that takes a compilation from another compilation tracker 38public ICompilationTracker UnderlyingTracker { get; } 49ICompilationTracker underlyingTracker, 74public ICompilationTracker Fork(ProjectState newProject, TranslationAction? translate) 77var underlyingTracker = this.UnderlyingTracker.Fork(newProject, translate); 81public ICompilationTracker WithCreateCreationPolicy(bool forceRegeneration) 83var underlyingTracker = this.UnderlyingTracker.WithCreateCreationPolicy(forceRegeneration); 89public ICompilationTracker WithDoNotCreateCreationPolicy() 91var underlyingTracker = this.UnderlyingTracker.WithDoNotCreateCreationPolicy();