6 writes to m_evidenceLock
mscorlib (6)
system\security\policy\evidence.cs (6)
107
m_evidenceLock
= new ReaderWriterLock();
148
m_evidenceLock
= new ReaderWriterLock();
177
m_evidenceLock
= new ReaderWriterLock();
201
m_evidenceLock
= new ReaderWriterLock();
226
m_evidenceLock
= new ReaderWriterLock();
967
m_evidenceLock
= new ReaderWriterLock();
18 references to m_evidenceLock
mscorlib (18)
system\security\policy\evidence.cs (18)
290
get { return
m_evidenceLock
== null ||
m_evidenceLock
.IsReaderLockHeld; }
295
get { return
m_evidenceLock
== null ||
m_evidenceLock
.IsWriterLockHeld; }
300
Contract.Assert(
m_evidenceLock
== null || !IsReaderLockHeld);
302
if (
m_evidenceLock
!= null)
304
m_evidenceLock
.AcquireReaderLock(LockTimeout);
310
Contract.Assert(
m_evidenceLock
== null || !IsWriterLockHeld);
312
if (
m_evidenceLock
!= null)
314
m_evidenceLock
.AcquireWriterLock(LockTimeout);
321
if (
m_evidenceLock
!= null)
323
m_evidenceLock
.DowngradeFromWriterLock(ref lockCookie);
330
return
m_evidenceLock
!= null ?
m_evidenceLock
.UpgradeToWriterLock(LockTimeout) : new LockCookie();
337
if (
m_evidenceLock
!= null)
339
m_evidenceLock
.ReleaseReaderLock();
347
if (
m_evidenceLock
!= null)
349
m_evidenceLock
.ReleaseWriterLock();