Fix misguided lock in CurrentTimeZone (dotnet/coreclr#8569)
authorJustin Van Patten <jvp@justinvp.com>
Sat, 10 Dec 2016 06:15:56 +0000 (22:15 -0800)
committerDan Moseley <danmose@microsoft.com>
Sat, 10 Dec 2016 06:15:56 +0000 (22:15 -0800)
commitda09329c456b250c3e55ea950c70e1aebd7b5ade
tree0aa1c27344e5be5316b071c0e75fef300eed93ea
parentb61cf3fbc7ea4ab951900db419ab9da8188509bd
Fix misguided lock in CurrentTimeZone (dotnet/coreclr#8569)

CurrentTimeZone locks against a static lock object when modifying a
non-static Hashtable. Instead, use the Hashtable instance itself as the
lock object.

Commit migrated from https://github.com/dotnet/coreclr/commit/526a81a8e764738f79c38528f638122cee0e3ead
src/coreclr/src/mscorlib/src/System/CurrentTimeZone.cs