From c4c5581e0bb77b06415dc3e167c423afd59abe13 Mon Sep 17 00:00:00 2001 From: Santiago Fernandez Madero Date: Mon, 3 Jun 2019 21:42:10 -0700 Subject: [PATCH] Re-generate System.Threading ref assembly against implementation (dotnet/corefx#38190) Commit migrated from https://github.com/dotnet/corefx/commit/6d5959cbc7d489406f8f85dba0a42f06d4a0ea9b --- src/libraries/System.Threading/ref/System.Threading.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Threading/ref/System.Threading.cs b/src/libraries/System.Threading/ref/System.Threading.cs index b65709a..c7de87f 100644 --- a/src/libraries/System.Threading/ref/System.Threading.cs +++ b/src/libraries/System.Threading/ref/System.Threading.cs @@ -32,7 +32,8 @@ namespace System.Threading } public readonly partial struct AsyncLocalValueChangedArgs { - 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() { } -- 2.7.4