Gets a value that indicates whether the current thread has entered the lock in upgradeable mode.
Assembly: System.Core (in System.Core.dll)
This property is intended for use in asserts or for other debugging purposes. Do not use it to control the flow of program execution.
The following example shows how to use theproperty to generate an assert if the current thread has entered upgradeable mode unexpectedly.
Available since 8
Available since 3.5
Portable Class Library
Supported in: portable .NET platforms
Windows Phone Silverlight
Available since 8.0
Available since 8.1