9 references to UpgradeToWrite
System.Core (9)
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (9)
506
enterMyLockReason = EnterSpinLockReason.
UpgradeToWrite
;
532
enterMyLockReason = EnterSpinLockReason.
UpgradeToWrite
;
620
_spinLock.Enter(upgradingToWrite ? EnterSpinLockReason.
UpgradeToWrite
: EnterSpinLockReason.EnterWrite);
1012
enterMyLockReason = EnterSpinLockReason.
UpgradeToWrite
| EnterSpinLockReason.Wait;
1056
enterMyLockReason = EnterSpinLockReason.
UpgradeToWrite
;
1569
operation == EnterSpinLockReason.
UpgradeToWrite
||
1609
(reason & EnterSpinLockReason.OperationMask) == EnterSpinLockReason.
UpgradeToWrite
);
1628
case EnterSpinLockReason.
UpgradeToWrite
:
1693
reason == EnterSpinLockReason.
UpgradeToWrite
);