5 references to GetOriginalSourceTextContentHash
Microsoft.CodeAnalysis.Workspaces (5)
SourceGeneration\IRemoteSourceGenerationService.cs (1)
76/// cref="SourceGeneratedDocumentState.GetOriginalSourceTextContentHash"/> for more details on when this happens.</param>
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (1)
211Contract.ThrowIfTrue(existingDocument.GetOriginalSourceTextContentHash() != contentIdentity.OriginalSourceTextContentHash, "Checksums must match!");
Workspace\Solution\SourceGeneratedDocumentState.cs (3)
17/// Backing store for <see cref="GetOriginalSourceTextContentHash"/>. 128=> new(this.GetOriginalSourceTextContentHash(), this.SourceText.Encoding?.WebName, this.SourceText.ChecksumAlgorithm); 143if (this.GetOriginalSourceTextContentHash() == newSourceTextChecksum)