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