File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/libraries/Common/src/System/Security/Cryptography Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ private static int GetHashSizeInBytes(HashAlgorithmName hashAlgorithm)
3232 {
3333 return s_hashSizes . GetOrAdd (
3434 hashAlgorithm ,
35- alg =>
35+ static hashAlgorithm =>
3636 {
37- using ( HashProviderCng hashProvider = new HashProviderCng ( alg . Name ! , null ) )
37+ using ( HashProviderCng hashProvider = new HashProviderCng ( hashAlgorithm . Name ! , null ) )
3838 {
3939 return hashProvider . HashSizeInBytes ;
4040 }
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ internal static RsaPaddingProcessor OpenProcessor(HashAlgorithmName hashAlgorith
7474 {
7575 return s_lookup . GetOrAdd (
7676 hashAlgorithmName ,
77- alg =>
77+ static hashAlgorithmName =>
7878 {
7979 using ( IncrementalHash hasher = IncrementalHash . CreateHash ( hashAlgorithmName ) )
8080 {
You can’t perform that action at this time.
0 commit comments