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)
29
var
checksums = await document.State.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
FindSymbols\Shared\AbstractSyntaxIndex_Persistence.cs (1)
120
var
documentChecksumState = await document.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
FindSymbols\SymbolTree\SymbolTreeInfo_Source.cs (1)
96
var
documentStateChecksum = await state.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);
Workspace\Solution\ChecksumCollection.cs (2)
70
Contract.ThrowIfFalse(state.TryGetStateChecksums(out
var
stateChecksums));
82
Contract.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)
25
private readonly AsyncLazy<
DocumentStateChecksums
> _lazyChecksums;
Workspace\Solution\TextDocumentState_Checksum.cs (4)
18
public bool TryGetStateChecksums([NotNullWhen(returnValue: true)] out
DocumentStateChecksums
? stateChecksums)
21
public Task<
DocumentStateChecksums
> GetStateChecksumsAsync(CancellationToken cancellationToken)
27
static (lazyChecksums, cancellationToken) => new ValueTask<
DocumentStateChecksums
>(lazyChecksums.GetValueAsync(cancellationToken)),
33
private async Task<
DocumentStateChecksums
> ComputeChecksumsAsync(CancellationToken cancellationToken)
Workspace\Solution\TextDocumentStates.cs (1)
315
var
stateChecksums = await state.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false);