4 types derived from CompilationTrackerState
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\SolutionState.CompilationTracker.CompilationTrackerState.cs (4)
174
private sealed class NoCompilationState :
CompilationTrackerState
186
private sealed class InProgressState :
CompilationTrackerState
222
private sealed class AllSyntaxTreesParsedState :
CompilationTrackerState
240
private sealed class FinalState :
CompilationTrackerState
23 references to CompilationTrackerState
Microsoft.CodeAnalysis.Workspaces (23)
Workspace\Solution\SolutionState.CompilationTracker.CompilationTrackerState.cs (5)
103
/// The base <see cref="
CompilationTrackerState
"/> that starts with everything empty.
105
public static readonly
CompilationTrackerState
Empty = new NoCompilationState(
153
public static
CompilationTrackerState
Create(
231
/// The final state a compilation tracker reaches. The real <see cref="
CompilationTrackerState
.FinalCompilationWithGeneratedDocuments"/> is available. It is a
238
/// cref="
CompilationTrackerState
"/>s are passed out, then these other APIs will not function correctly.
Workspace\Solution\SolutionState.CompilationTracker.cs (18)
43
private
CompilationTrackerState
_stateDoNotAccessDirectly;
52
CompilationTrackerState
state,
67
: this(project,
CompilationTrackerState
.Empty, cachedSkeletonReferences: new())
71
private
CompilationTrackerState
ReadState()
74
private void WriteState(
CompilationTrackerState
state)
81
var
state = this.ReadState();
91
var
state = this.ReadState();
112
var
state = ReadState();
145
var
newState =
CompilationTrackerState
.Create(
269
var
state = ReadState();
393
var
state = ReadState();
435
var
state = ReadState();
476
var
state = ReadState();
661
this.WriteState(
CompilationTrackerState
.Create(
1007
var
state = ReadState();
1030
var
state = this.ReadState();
1090
var
state = ReadState();