4 writes to _currentName
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (4)
1067
_currentName
= ENUM_NOT_STARTED;
1077
_currentName
= ENUM_DONE;
1081
_currentName
++;
1159
_currentName
= ENUM_NOT_STARTED;
9 references to _currentName
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (9)
1074
if (
_currentName
== _reader._numResources - 1 ||
_currentName
== ENUM_DONE)
1089
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
1093
return _reader.AllocateStringForNameIndex(
_currentName
, out _dataPosition);
1106
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
1110
string key = _reader.AllocateStringForNameIndex(
_currentName
, out _dataPosition); // AllocateStringForNameIndex could lock on _reader
1126
value = _reader.GetValueForNameIndex(
_currentName
);
1143
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
1151
return _reader.GetValueForNameIndex(
_currentName
);