2 writes to PdbChecksumAlgorithm
Microsoft.CodeAnalysis (2)
Emit\EmitOptions.cs (2)
246PdbChecksumAlgorithm = pdbChecksumAlgorithm ?? HashAlgorithmName.SHA256; 427return new EmitOptions(this) { PdbChecksumAlgorithm = name };
17 references to PdbChecksumAlgorithm
Microsoft.CodeAnalysis (10)
Compilation\DeterministicKeyBuilder.cs (1)
416writer.Write("pdbChecksumAlgorithm", options.PdbChecksumAlgorithm.Name);
Emit\CommonPEModuleBuilder.cs (1)
71internal HashAlgorithmName PdbChecksumAlgorithm => EmitOptions.PdbChecksumAlgorithm;
Emit\EmitOptions.cs (8)
264other.PdbChecksumAlgorithm, 293PdbChecksumAlgorithm == other.PdbChecksumAlgorithm && 312Hash.Combine(PdbChecksumAlgorithm.GetHashCode(), 367if (PdbChecksumAlgorithm.Name != null) 371IncrementalHash.CreateHash(PdbChecksumAlgorithm).Dispose(); 375diagnostics.Add(messageProvider.CreateDiagnostic(messageProvider.ERR_InvalidHashAlgorithmName, Location.None, PdbChecksumAlgorithm.ToString())); 422if (PdbChecksumAlgorithm == name)
Microsoft.CodeAnalysis.UnitTests (3)
Emit\EmitOptionsTests.cs (3)
60TestProperty((old, value) => old.WithPdbChecksumAlgorithm(value), opt => opt.PdbChecksumAlgorithm, new HashAlgorithmName()); 61TestProperty((old, value) => old.WithPdbChecksumAlgorithm(value), opt => opt.PdbChecksumAlgorithm, HashAlgorithmName.SHA384); 89nameof(EmitOptions.PdbChecksumAlgorithm),
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (3)
CommandLineTests.vb (3)
1910Assert.Equal(HashAlgorithmName.SHA256, parsedArgs.EmitOptions.PdbChecksumAlgorithm) 1915Assert.Equal(HashAlgorithmName.SHA256, parsedArgs.EmitOptions.PdbChecksumAlgorithm) 1920Assert.Equal(HashAlgorithmName.SHA256, parsedArgs.EmitOptions.PdbChecksumAlgorithm)
Roslyn.Test.PdbUtilities (1)
Reader\PdbValidation.cs (1)
537ValidateDebugDirectory(peStream, portable ? pdbStream : null, compilation.AssemblyName + ".pdb", emitOptions.PdbChecksumAlgorithm, hasEmbeddedPdb: false, isDeterministic: compilation.IsEmitDeterministic);