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