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