From 8861526cecb01472cef724a9ae635fa4cbce2d91 Mon Sep 17 00:00:00 2001 From: Davoud Eshtehari Date: Wed, 12 Jan 2022 16:54:28 -0800 Subject: [PATCH] change to ConcurrentDictionary (#1451) --- .../src/Microsoft/Data/SqlClient/EnclaveDelegate.Crypto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/EnclaveDelegate.Crypto.cs b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/EnclaveDelegate.Crypto.cs index 241c6aaf58..bf8786ef7d 100644 --- a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/EnclaveDelegate.Crypto.cs +++ b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/EnclaveDelegate.Crypto.cs @@ -10,7 +10,7 @@ namespace Microsoft.Data.SqlClient { internal sealed partial class EnclaveDelegate { - private static readonly Dictionary s_enclaveProviders = new Dictionary(); + private static readonly ConcurrentDictionary s_enclaveProviders = new(); /// /// Create a new enclave session