Re-generate System.Threading ref assembly against implementation (dotnet/corefx#38190)
authorSantiago Fernandez Madero <safern@microsoft.com>
Tue, 4 Jun 2019 04:42:10 +0000 (21:42 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2019 04:42:10 +0000 (21:42 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/6d5959cbc7d489406f8f85dba0a42f06d4a0ea9b

src/libraries/System.Threading/ref/System.Threading.cs

index b65709a..c7de87f 100644 (file)
@@ -32,7 +32,8 @@ namespace System.Threading
     }
     public readonly partial struct AsyncLocalValueChangedArgs<T>
     {
-        private readonly T _dummy;
+        private readonly T _PreviousValue_k__BackingField;
+        private readonly T _CurrentValue_k__BackingField;
         private readonly int _dummyPrimitive;
         public T CurrentValue { get { throw null; } }
         public T PreviousValue { get { throw null; } }
@@ -224,11 +225,11 @@ namespace System.Threading
     }
     public static partial class Monitor
     {
+        public static long LockContentionCount { get { throw null; } }
         public static void Enter(object obj) { }
         public static void Enter(object obj, ref bool lockTaken) { }
         public static void Exit(object obj) { }
         public static bool IsEntered(object obj) { throw null; }
-        public static long LockContentionCount { get { throw null; } }
         public static void Pulse(object obj) { }
         public static void PulseAll(object obj) { }
         public static bool TryEnter(object obj) { throw null; }
@@ -265,7 +266,6 @@ namespace System.Threading
         public void AcquireWriterLock(System.TimeSpan timeout) { }
         public bool AnyWritersSince(int seqNum) { throw null; }
         public void DowngradeFromWriterLock(ref System.Threading.LockCookie lockCookie) { }
-        ~ReaderWriterLock() { }
         public System.Threading.LockCookie ReleaseLock() { throw null; }
         public void ReleaseReaderLock() { }
         public void ReleaseWriterLock() { }