Skip to content

Commit

Permalink
Change s_enclaveProviders to ConcurrentDictionary (#1466)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavoudEshtehari authored Jan 14, 2022
1 parent 3f35b3d commit 4bd1f76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.Data.SqlClient
{
internal sealed partial class EnclaveDelegate
{
private static readonly Dictionary<SqlConnectionAttestationProtocol, SqlColumnEncryptionEnclaveProvider> s_enclaveProviders = new Dictionary<SqlConnectionAttestationProtocol, SqlColumnEncryptionEnclaveProvider>();
private static readonly ConcurrentDictionary<SqlConnectionAttestationProtocol, SqlColumnEncryptionEnclaveProvider> s_enclaveProviders = new();

/// <summary>
/// Create a new enclave session
Expand Down

0 comments on commit 4bd1f76

Please sign in to comment.