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