ReaderWriterLockSlim.cs now builds with mono.
authorMarcos Henrich <marcos.henrich@xamarin.com>
Tue, 2 Dec 2014 17:27:10 +0000 (17:27 +0000)
committerMarek Safar <marek.safar@gmail.com>
Mon, 2 May 2016 22:07:39 +0000 (00:07 +0200)
commitc1189efcc65a2d2bb4763a88beee33d426b7db75
treeef13c846421ba730636a96f21e40146c2c5a6238
parentfc5ecbc2bdda3a93acd8e88daa13c3a682f0e594
ReaderWriterLockSlim.cs now builds with mono.

* Builds without [MethodImpl(MethodImplOptions.AggressiveInlining)]
  when target framework version is lower than 4.5.

* Use Thread.Volatile instead of Volatile.Read when target framework
  version is lower than 4.5.
mcs/class/referencesource/System.Core/System/threading/ReaderWriterLockSlim/ReaderWriterLockSlim.cs