4 writes to _currentName
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (4)
1063
_currentName
= ENUM_NOT_STARTED;
1073
_currentName
= ENUM_DONE;
1077
_currentName
++;
1155
_currentName
= ENUM_NOT_STARTED;
9 references to _currentName
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (9)
1070
if (
_currentName
== _reader._numResources - 1 ||
_currentName
== ENUM_DONE)
1085
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
1089
return _reader.AllocateStringForNameIndex(
_currentName
, out _dataPosition);
1102
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
1106
string key = _reader.AllocateStringForNameIndex(
_currentName
, out _dataPosition); // AllocateStringForNameIndex could lock on _reader
1122
value = _reader.GetValueForNameIndex(
_currentName
);
1139
if (
_currentName
== ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded);
1147
return _reader.GetValueForNameIndex(
_currentName
);