3 implementations of ICompilationTracker
Microsoft.CodeAnalysis.Workspaces (3)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (1)
30private 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)
47private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> _projectIdToTrackerMap; 62ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> projectIdToTrackerMap, 94projectIdToTrackerMap: ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Empty, 117ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>? projectIdToTrackerMap = null, 191if (trackerMap.TryGetValue(arg.projectId, out var tracker)) 208/// Creates a mapping of <see cref="ProjectId"/> to <see cref="ICompilationTracker"/> 214private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> CreateCompilationTrackerMap<TArg>( 217Action<ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Builder, TArg> modifyNewTrackerInfo, 236/// Creates a mapping of <see cref="ProjectId"/> to <see cref="ICompilationTracker"/> 242private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> CreateCompilationTrackerMap<TArg>( 245Action<ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Builder, TArg> modifyNewTrackerInfo, 268/// Creates a mapping of <see cref="ProjectId"/> to <see cref="ICompilationTracker"/> 274private ImmutableSegmentedDictionary<ProjectId, ICompilationTracker> CreateCompilationTrackerMap<TArgCanReuse, TArgModifyNewTrackerInfo>( 277Action<ImmutableSegmentedDictionary<ProjectId, ICompilationTracker>.Builder, TArgModifyNewTrackerInfo> modifyNewTrackerInfo, 294var 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(); 59/// Gets the source generator files generated by this <see cref="ICompilationTracker"/>. <paramref
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
124public ICompilationTracker Fork( 682public ICompilationTracker WithCreateCreationPolicy(bool forceRegeneration) 738public 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 40public ICompilationTracker UnderlyingTracker { get; } 51ICompilationTracker underlyingTracker, 76public ICompilationTracker Fork(ProjectState newProject, TranslationAction? translate) 79var underlyingTracker = this.UnderlyingTracker.Fork(newProject, translate); 83public ICompilationTracker WithCreateCreationPolicy(bool forceRegeneration) 85var underlyingTracker = this.UnderlyingTracker.WithCreateCreationPolicy(forceRegeneration); 91public ICompilationTracker WithDoNotCreateCreationPolicy() 93var underlyingTracker = this.UnderlyingTracker.WithDoNotCreateCreationPolicy();