1 write to _hierarchyLock
System.Configuration.ConfigurationManager (1)
System\Configuration\Internal\InternalConfigRoot.cs (1)
46
_hierarchyLock
= new ReaderWriterLock();
12 references to _hierarchyLock
System.Configuration.ConfigurationManager (12)
System\Configuration\Internal\InternalConfigRoot.cs (12)
171
if (
_hierarchyLock
.IsReaderLockHeld)
175
if (
_hierarchyLock
.IsWriterLockHeld)
179
_hierarchyLock
.AcquireReaderLock(-1);
184
Debug.Assert(!
_hierarchyLock
.IsWriterLockHeld, "!_hierarchyLock.IsWriterLockHeld");
186
if (
_hierarchyLock
.IsReaderLockHeld)
_hierarchyLock
.ReleaseReaderLock();
194
if (
_hierarchyLock
.IsReaderLockHeld)
198
if (
_hierarchyLock
.IsWriterLockHeld)
202
_hierarchyLock
.AcquireWriterLock(-1);
207
Debug.Assert(!
_hierarchyLock
.IsReaderLockHeld, "!_hierarchyLock.IsReaderLockHeld");
209
if (
_hierarchyLock
.IsWriterLockHeld)
210
_hierarchyLock
.ReleaseWriterLock();