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