It's a bit strange. You may have stumbled upon a mistake in the class WaitHandle. I selected this separately through Reflector, and this is what I see.
- A call
Disposeto ReaderWriterLockSlimwill call Closeto the EventWaitHandleone specified in the stack trace. Close EventWaitHandle SafeHandle.Reset EventWaitHandle ResetEvent Win32 API kernel32.dll SafeHandle.- ,
SafeHandle , API Win32.
Dispose ReaderWriterLockSlim , TryEnterUpgradeableReadLock ? . , , , IOException.
, BCL, IOException -, , Microsoft - ObjectDisposedException, , , . Microsoft.