Skip to content

Commit

Permalink
change to ConcurrentDictionary (#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Pham committed Jan 12, 2022
1 parent 9a4e332 commit 330de76
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 330de76

Please sign in to comment.