Skip to content

Commit

Permalink
change to ConcurrentDictionary (dotnet#1451)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavoudEshtehari committed Jan 13, 2022
1 parent 768b58b commit 8861526
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 8861526

Please sign in to comment.