2 writes to _eventsBuffer
System.Diagnostics.EventLog (2)
System\Diagnostics\Reader\EventLogReader.cs (2)
80
_eventsBuffer
= new IntPtr[_batchSize];
135
_eventsBuffer
= new IntPtr[_batchSize];
6 references to _eventsBuffer
System.Diagnostics.EventLog (6)
System\Diagnostics\Reader\EventLogReader.cs (6)
134
if (_batchSize !=
_eventsBuffer
.Length)
138
bool results = NativeWrapper.EvtNext(_handle, _batchSize,
_eventsBuffer
, timeout, 0, ref newEventCount);
174
EventLogRecord eventInstance = new EventLogRecord(new EventLogHandle(
_eventsBuffer
[_currentIndex], true), _eventQuery.Session, _cachedMetadataInformation);
189
NativeWrapper.EvtClose(
_eventsBuffer
[_currentIndex]);
204
NativeWrapper.EvtClose(
_eventsBuffer
[_currentIndex]);
274
NativeWrapper.EvtClose(
_eventsBuffer
[index]);