15 references to DocumentStateChecksums
Microsoft.CodeAnalysis.Workspaces (15)
Classification\IRemoteSemanticClassificationService.cs (1)
46/// <param name="checksum">Pass in <see cref="DocumentStateChecksums.Text"/>. This will ensure that the cached
Classification\SemanticClassificationCacheUtilities.cs (1)
29var checksums = await document.State.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
120var documentChecksumState = await document.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
96var documentStateChecksum = await state.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\ChecksumCollection.cs (2)
70Contract.ThrowIfFalse(state.TryGetStateChecksums(out var stateChecksums)); 82Contract.ThrowIfFalse(state.TryGetStateChecksums(out var stateChecksums));
Workspace\Solution\ChecksumsAndIds.cs (3)
63/// cref="DocumentStateChecksums"/>'s <see cref="DocumentStateChecksums.Info"/> and <see 64/// cref="DocumentStateChecksums.Text"/> checksums.
Workspace\Solution\TextDocumentState.cs (1)
25private readonly AsyncLazy<DocumentStateChecksums> _lazyChecksums;
Workspace\Solution\TextDocumentState_Checksum.cs (4)
18public bool TryGetStateChecksums([NotNullWhen(returnValue: true)] out DocumentStateChecksums? stateChecksums) 21public Task<DocumentStateChecksums> GetStateChecksumsAsync(CancellationToken cancellationToken) 27static (lazyChecksums, cancellationToken) => new ValueTask<DocumentStateChecksums>(lazyChecksums.GetValueAsync(cancellationToken)), 33private async Task<DocumentStateChecksums> ComputeChecksumsAsync(CancellationToken cancellationToken)
Workspace\Solution\TextDocumentStates.cs (1)
315var stateChecksums = await state.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);