2 writes to eventsBuffer
System.Core (2)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (2)
95
this.
eventsBuffer
= new IntPtr[batchSize];
149
if (batchSize != eventsBuffer.Length)
eventsBuffer
= new IntPtr[batchSize];
6 references to eventsBuffer
System.Core (6)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (6)
149
if (batchSize !=
eventsBuffer
.Length) eventsBuffer = new IntPtr[batchSize];
152
bool results = NativeWrapper.EvtNext(handle, batchSize,
eventsBuffer
, timeout, 0, ref newEventCount);
189
EventLogRecord eventInstance = new EventLogRecord(new EventLogHandle(this.
eventsBuffer
[currentIndex], true), this.eventQuery.Session, this.cachedMetadataInformation);
207
NativeWrapper.EvtClose(
eventsBuffer
[this.currentIndex]);
221
NativeWrapper.EvtClose(
eventsBuffer
[this.currentIndex]);
292
NativeWrapper.EvtClose(
eventsBuffer
[index]);