From 4bd1f76a7b34eaa825b3a7e04a41f5e55dd4650b Mon Sep 17 00:00:00 2001 From: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com> Date: Thu, 13 Jan 2022 18:52:37 -0800 Subject: [PATCH] Change s_enclaveProviders to ConcurrentDictionary (#1466) --- .../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