24 references to ReadEvent
PresentationCore (24)
MS\Internal\IO\Packaging\NetStream.cs (24)
97
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] = new AutoResetEvent(false);
102
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] = new AutoResetEvent(false);
399
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent]?.Set();
400
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent]?.Set();
406
if (_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
408
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Close();
409
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] = null;
411
if (_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] != null)
413
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].Close();
414
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] = null;
569
if (!_disposed && _readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
570
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Set();
588
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].SafeWaitHandle,
1083
ReadEvent
eventFired;
1091
eventFired = (
ReadEvent
)index;
1096
eventFired =
ReadEvent
.FullDownloadReadEvent;
1106
if (eventFired ==
ReadEvent
.ByteRangeReadEvent)
1171
if (_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] != null)
1173
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent].Close();
1174
_readEventHandles[(int)
ReadEvent
.FullDownloadReadEvent] = null;
1201
if (_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] != null)
1203
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent].Close();
1204
_readEventHandles[(int)
ReadEvent
.ByteRangeReadEvent] = null;
1300
private EventWaitHandle[] _readEventHandles = new EventWaitHandle[(int)
ReadEvent
.MaxReadEventEnum];