4 writes to _currentName
mscorlib (4)
system\resources\resourcereader.cs (4)
1347
_currentName
= ENUM_NOT_STARTED;
1356
_currentName
= ENUM_DONE;
1360
_currentName
++;
1439
_currentName
= ENUM_NOT_STARTED;
9 references to _currentName
mscorlib (9)
system\resources\resourcereader.cs (9)
1354
if (
_currentName
== _reader._numResources - 1 ||
_currentName
== ENUM_DONE) {
1367
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
1371
return _reader.AllocateStringForNameIndex(
_currentName
, out _dataPosition);
1391
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
1399
key = _reader.AllocateStringForNameIndex(
_currentName
, out _dataPosition); // AllocateStringForNameIndex could lock on _reader
1406
value = _reader.GetValueForNameIndex(
_currentName
);
1423
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(Environment.GetResourceString(ResId.InvalidOperation_EnumEnded));
1431
return _reader.GetValueForNameIndex(
_currentName
);