18 references to SolutionStateChecksums
Microsoft.CodeAnalysis.Workspaces (18)
Serialization\SerializationExtensions.cs (1)
19
SolutionStateChecksums
=> WellKnownSynchronizationKind.SolutionState,
Workspace\Solution\SolutionCompilationState_Checksum.cs (1)
123
var
stateChecksums = await this.SolutionState.GetStateChecksumsAsync(projectId, cancellationToken).ConfigureAwait(false);
Workspace\Solution\SolutionState_Checksum.cs (12)
31
private readonly AsyncLazy<
SolutionStateChecksums
> _lazyChecksums;
37
private readonly Dictionary<ProjectId, AsyncLazy<
SolutionStateChecksums
>> _lazyProjectChecksums = [];
42
public bool TryGetStateChecksums([NotNullWhen(true)] out
SolutionStateChecksums
? stateChecksums)
45
public bool TryGetStateChecksums(ProjectId projectId, [NotNullWhen(true)] out
SolutionStateChecksums
? stateChecksums)
47
AsyncLazy<
SolutionStateChecksums
>? checksums;
61
public Task<
SolutionStateChecksums
> GetStateChecksumsAsync(CancellationToken cancellationToken)
66
var
collection = await GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
71
public async Task<
SolutionStateChecksums
> GetStateChecksumsAsync(
77
AsyncLazy<
SolutionStateChecksums
>? checksums;
96
var
checksums = await GetStateChecksumsAsync(projectId, cancellationToken).ConfigureAwait(false);
102
private async Task<
SolutionStateChecksums
> ComputeChecksumsAsync(
145
var
stateChecksums = new SolutionStateChecksums(
Workspace\Solution\StateChecksums.cs (4)
196
Contract.ThrowIfFalse(solutionState.TryGetStateChecksums(out
var
solutionChecksums));
202
Contract.ThrowIfFalse(solutionState.TryGetStateChecksums(projectCone.RootProjectId, out
var
solutionChecksums));
264
public static
SolutionStateChecksums
Deserialize(ObjectReader reader)
268
var
result = new SolutionStateChecksums(