1 write to FrozenSourceGeneratedDocumentStates
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState.cs (1)
75
FrozenSourceGeneratedDocumentStates
= frozenSourceGeneratedDocumentStates;
17 references to FrozenSourceGeneratedDocumentStates
Microsoft.CodeAnalysis.Workspaces (17)
Diagnostics\Extensions.cs (2)
379
if (solution.CompilationState.
FrozenSourceGeneratedDocumentStates
.Count > 0)
381
var frozenGeneratedDocuments = solution.CompilationState.
FrozenSourceGeneratedDocumentStates
.States.Values
Workspace\Solution\SolutionChanges.cs (3)
97
if (NewSolution.CompilationState.
FrozenSourceGeneratedDocumentStates
.IsEmpty)
101
foreach (var (id, _) in NewSolution.CompilationState.
FrozenSourceGeneratedDocumentStates
.States)
108
return NewSolution.CompilationState.
FrozenSourceGeneratedDocumentStates
.GetChangedStateIds(
Workspace\Solution\SolutionCompilationState.cs (5)
131
frozenSourceGeneratedDocumentStates ??=
FrozenSourceGeneratedDocumentStates
;
137
frozenSourceGeneratedDocumentStates ==
FrozenSourceGeneratedDocumentStates
)
1365
if (
FrozenSourceGeneratedDocumentStates
.IsEmpty)
1368
var projectIdsToUnfreeze =
FrozenSourceGeneratedDocumentStates
.States.Values
1460
foreach (var (id, state) in
FrozenSourceGeneratedDocumentStates
.States)
Workspace\Solution\SolutionCompilationState_Checksum.cs (4)
22
/// <see cref="SolutionState"/>, as well as the checksums for <see cref="
FrozenSourceGeneratedDocumentStates
"/>
126
var identityChecksums =
FrozenSourceGeneratedDocumentStates
.SelectAsArray(
129
var frozenSourceGeneratedDocumentTexts = await
FrozenSourceGeneratedDocumentStates
.GetDocumentChecksumsAndIdsAsync(cancellationToken).ConfigureAwait(false);
131
var frozenSourceGeneratedDocumentGenerationDateTimes =
FrozenSourceGeneratedDocumentStates
.SelectAsArray(d => d.GenerationDateTime);
Workspace\Solution\StateChecksums.cs (3)
130
compilationState.
FrozenSourceGeneratedDocumentStates
, searchingChecksumsLeft, onAssetFound, arg, cancellationToken).ConfigureAwait(false);
147
Contract.ThrowIfFalse(compilationState.
FrozenSourceGeneratedDocumentStates
.TryGetState(documentId, out var state));
161
Contract.ThrowIfFalse(compilationState.
FrozenSourceGeneratedDocumentStates
.TryGetState(id, out var state));