26 references to ReadEvent
PresentationCore (26)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (26)
118_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = new AutoResetEvent(false); 123_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = new AutoResetEvent(false); 428if (_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 429_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Set(); 430if (_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] != null) 431_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].Set(); 437if (_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 439_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Close(); 440_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = null; 442if (_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] != null) 444_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].Close(); 445_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = null; 612if (!_disposed && _readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 613_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Set(); 645_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].SafeWaitHandle, 1155ReadEvent eventFired; 1163eventFired = (ReadEvent)index; 1168eventFired = ReadEvent.FullDownloadReadEvent; 1178if (eventFired == ReadEvent.ByteRangeReadEvent) 1248if (_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] != null) 1250_readEventHandles[(int)ReadEvent.FullDownloadReadEvent].Close(); 1251_readEventHandles[(int)ReadEvent.FullDownloadReadEvent] = null; 1286if (_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] != null) 1288_readEventHandles[(int)ReadEvent.ByteRangeReadEvent].Close(); 1289_readEventHandles[(int)ReadEvent.ByteRangeReadEvent] = null; 1391private EventWaitHandle[] _readEventHandles = new EventWaitHandle[(int)ReadEvent.MaxReadEventEnum];