7 writes to currentIndex
System.Core (7)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (7)
156this.currentIndex = 0; 160this.currentIndex = 0; 190currentIndex++; 208this.currentIndex++; 222this.currentIndex++; 226this.currentIndex = 0; 296this.currentIndex = (int)(this.currentIndex + offset);
13 references to currentIndex
System.Core (13)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (13)
179if (this.currentIndex >= this.eventCount) { 183if (this.currentIndex >= this.eventCount) { 189EventLogRecord eventInstance = new EventLogRecord(new EventLogHandle(this.eventsBuffer[currentIndex], true), this.eventQuery.Session, this.cachedMetadataInformation); 206while (this.currentIndex < this.eventCount) { 207NativeWrapper.EvtClose(eventsBuffer[this.currentIndex]); 220while (this.currentIndex < this.eventCount) { 221NativeWrapper.EvtClose(eventsBuffer[this.currentIndex]); 240offset = offset - (this.eventCount - this.currentIndex); 284if (this.currentIndex + offset < this.eventCount) { 290int index = this.currentIndex; 291while (index < this.currentIndex + offset) { 296this.currentIndex = (int)(this.currentIndex + offset); 307if (currentIndex + offset >= 0) {