3 references to TryGetAlgorithm
Microsoft.CodeAnalysis (2)
Text\SourceText.cs (2)
690using (var algorithm = CryptographicHashProvider.TryGetAlgorithm(algorithmId)) 699using (var algorithm = CryptographicHashProvider.TryGetAlgorithm(algorithmId))
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
215using var algorithm = CryptographicHashProvider.TryGetAlgorithm(sourceTextInfo.HashAlgorithm) ?? throw new InvalidOperationException();