18 references to LockCookie
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
1136[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.LockCookie))]
netstandard (1)
netstandard.cs (1)
2085[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Threading.LockCookie))]
System.Threading (16)
System\Threading\LockCookie.cs (7)
12public struct LockCookie : IEquatable<LockCookie> 23obj is LockCookie other && Equals(other); 25public bool Equals(LockCookie obj) => 31public static bool operator ==(LockCookie a, LockCookie b) => a.Equals(b); 33public static bool operator !=(LockCookie a, LockCookie b) => !a.Equals(b);
System\Threading\ReaderWriterLock.cs (9)
22/// <see cref="RestoreLock(ref LockCookie)"/> restores the lock state. 666public LockCookie UpgradeToWriterLock(int millisecondsTimeout) 670LockCookie lockCookie = default; 743public LockCookie UpgradeToWriterLock(TimeSpan timeout) => UpgradeToWriterLock(ToTimeoutMilliseconds(timeout)); 745public void DowngradeFromWriterLock(ref LockCookie lockCookie) 872public LockCookie ReleaseLock() 874LockCookie lockCookie = default; 911public void RestoreLock(ref LockCookie lockCookie) 977private void RecoverLock(ref LockCookie lockCookie, LockCookieFlags flags)