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