6 references to PdbChecksumAlgorithm
Microsoft.CodeAnalysis (6)
Compilation\Compilation.cs (2)
3252
Debug.Assert(!deterministic || moduleBeingBuilt.
PdbChecksumAlgorithm
.Name != null);
3257
nativePdbWriter = new Cci.PdbWriter(pePdbFilePath, testSymWriterFactory, deterministic ? moduleBeingBuilt.
PdbChecksumAlgorithm
: default);
PEWriter\PeWriter.cs (4)
204
Debug.Assert(!isDeterministic || context.Module.
PdbChecksumAlgorithm
.Name != null);
206
var portablePdbIdProvider = (context.Module.
PdbChecksumAlgorithm
.Name != null) ?
207
new Func<IEnumerable<Blob>, BlobContentId>(content => BlobContentId.FromHash(portablePdbContentHash = CryptographicHashProvider.ComputeHash(context.Module.
PdbChecksumAlgorithm
, content))) :
252
debugDirectoryBuilder.AddPdbChecksumEntry(context.Module.
PdbChecksumAlgorithm
.Name!, portablePdbContentHash);