6 references to SourceHashAlgorithms
Microsoft.CodeAnalysis (6)
CryptographicHashProvider.cs (3)
216
internal static ImmutableArray<byte> ComputeSourceHash(ImmutableArray<byte> bytes, SourceHashAlgorithm hashAlgorithm =
SourceHashAlgorithms
.Default)
228
internal static ImmutableArray<byte> ComputeSourceHash(ImmutableArray<ConstantValue> constants, SourceHashAlgorithm hashAlgorithm =
SourceHashAlgorithms
.Default)
282
internal static ImmutableArray<byte> ComputeSourceHash(IEnumerable<Blob> bytes, SourceHashAlgorithm hashAlgorithm =
SourceHashAlgorithms
.Default)
EmbeddedText.cs (1)
55
Debug.Assert(
SourceHashAlgorithms
.IsSupportedAlgorithm(checksumAlgorithm));
PEWriter\DebugSourceInfo.cs (1)
36
: this(checksum,
SourceHashAlgorithms
.GetAlgorithmGuid(checksumAlgorithm), embeddedTextBlob)
Text\SourceText.cs (1)
84
if (!
SourceHashAlgorithms
.IsSupportedAlgorithm(checksumAlgorithm))