7 references to FrozenSourceGeneratedDocumentState
Microsoft.CodeAnalysis.Workspaces (7)
Workspace\Solution\SolutionState_Checksum.cs (3)
151
if (
FrozenSourceGeneratedDocumentState
!= null)
153
frozenSourceGeneratedDocumentIdentityChecksum = serializer.CreateChecksum(
FrozenSourceGeneratedDocumentState
.Identity, cancellationToken);
154
frozenSourceGeneratedDocumentTextChecksum = (await
FrozenSourceGeneratedDocumentState
.GetStateChecksumsAsync(cancellationToken).ConfigureAwait(false)).Text;
Workspace\Solution\StateChecksums.cs (4)
57
Contract.ThrowIfNull(state.
FrozenSourceGeneratedDocumentState
, "We should not have had a FrozenSourceGeneratedDocumentIdentity checksum if we didn't have a text in the first place.");
58
result[FrozenSourceGeneratedDocumentIdentity] = state.
FrozenSourceGeneratedDocumentState
.Identity;
63
Contract.ThrowIfNull(state.
FrozenSourceGeneratedDocumentState
, "We should not have had a FrozenSourceGeneratedDocumentState checksum if we didn't have a text in the first place.");
64
result[FrozenSourceGeneratedDocumentText] = await SerializableSourceText.FromTextDocumentStateAsync(state.
FrozenSourceGeneratedDocumentState
, cancellationToken).ConfigureAwait(false);