1 write to SortedProjectStates
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState.cs (1)
88
SortedProjectStates
= projectStates;
23 references to SortedProjectStates
Microsoft.CodeAnalysis.Workspaces (23)
Workspace\Solution\Solution.cs (1)
127
internal ImmutableArray<ProjectState> SortedProjectStates => this.SolutionState.
SortedProjectStates
;
Workspace\Solution\SolutionCompilationState.cs (1)
111
Contract.ThrowIfFalse(this.SolutionState.
SortedProjectStates
Workspace\Solution\SolutionCompilationState_Checksum.cs (1)
156
foreach (var projectState in this.SolutionState.
SortedProjectStates
)
Workspace\Solution\SolutionState.cs (18)
161
Contract.ThrowIfFalse(
SortedProjectStates
.Length == ProjectIds.Count);
162
Contract.ThrowIfFalse(
SortedProjectStates
.Length == _dependencyGraph.ProjectIds.Count);
167
Debug.Assert(
SortedProjectStates
.Select(static state => state.Id).SetEquals(ProjectIds));
168
Debug.Assert(
SortedProjectStates
.Select(static state => state.Id).SetEquals(_dependencyGraph.ProjectIds));
171
Debug.Assert(
SortedProjectStates
.IsSorted());
187
projectStates ??=
SortedProjectStates
;
202
projectStates ==
SortedProjectStates
&&
252
SortedProjectStates
,
264
foreach (var project in this.
SortedProjectStates
)
321
=> GetProjectState(
SortedProjectStates
, projectId);
398
using var _3 = ArrayBuilder<ProjectState>.GetInstance(
SortedProjectStates
.Length + projectStates.Count, out var newSortedProjectStatesBuilder);
401
newSortedProjectStatesBuilder.AddRange(
SortedProjectStates
);
466
var newProjectStates =
SortedProjectStates
.WhereAsArray(static (p, projectIdsSet) => !projectIdsSet.Contains(p.Id), projectIdsSet);
927
using var _ = ArrayBuilder<ProjectState>.GetInstance(
SortedProjectStates
.Length, out var statesBuilder);
929
foreach (var projectState in
SortedProjectStates
)
1174
var newProjectStates =
SortedProjectStates
.Replace(oldProjectState, newProjectState);
1196
foreach (var projectState in @this.
SortedProjectStates
)
1291
foreach (var siblingProjectState in this.
SortedProjectStates
)
Workspace\Solution\SolutionState_Checksum.cs (1)
109
foreach (var projectState in this.
SortedProjectStates
)
Workspace\Solution\StateChecksums.cs (1)
307
foreach (var projectState in solution.
SortedProjectStates
)