diff --git a/src/libraries/System.Private.CoreLib/src/System/Threading/DeferredDisposableLifetime.cs b/src/libraries/System.Private.CoreLib/src/System/Threading/DeferredDisposableLifetime.cs index 6be0f8f3e27ee7..12357974dde4df 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Threading/DeferredDisposableLifetime.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Threading/DeferredDisposableLifetime.cs @@ -50,7 +50,8 @@ public bool AddRef() int oldCount = Volatile.Read(ref _count); // Have we been disposed? - ObjectDisposedException.ThrowIf(oldCount < 0, this); + if (oldCount < 0) + throw new ObjectDisposedException(typeof(T).ToString()); int newCount = checked(oldCount + 1);