public IDisposable UpgradeToWriterLock()
 {
     if (_upgradedLock == null)
     {
         _upgradedLock = new UpgradedGuard(this);
     }
     return(_upgradedLock);
 }
 public IDisposable UpgradeToWriterLock()
 {
     if (_upgradedLock == null)
     {
         _upgradedLock = new UpgradedGuard(this);
     }
     return _upgradedLock;
 }
Exemple #3
0
 public IDisposable UpgradeToWriterLock()
 {
     return(_upgradedLock ?? (_upgradedLock = new UpgradedGuard(this)));
 }
 public IDisposable UpgradeToWriterLock()
 {
     return _upgradedLock ?? (_upgradedLock = new UpgradedGuard(this));
 }