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