From 50285fe144d9b35b1b1985b790902b26236161cc Mon Sep 17 00:00:00 2001 From: Johnny Pham Date: Tue, 4 Jan 2022 12:44:49 -0800 Subject: [PATCH] change to ConcurrentDictionary --- .../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