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)
1070if (_currentName == _reader._numResources - 1 || _currentName == ENUM_DONE) 1085if (_currentName == ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded); 1089return _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); 1102if (_currentName == ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded); 1106string key = _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader 1122value = _reader.GetValueForNameIndex(_currentName); 1139if (_currentName == ENUM_DONE) throw new InvalidOperationException(SR.InvalidOperation_EnumEnded); 1147return _reader.GetValueForNameIndex(_currentName);