1 write to _reader
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1068_reader = reader;
13 references to _reader
System.Private.CoreLib (13)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (13)
1074if (_currentName == _reader._numResources - 1 || _currentName == ENUM_DONE) 1091if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1093return _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); 1108if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1110string key = _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader 1115Debug.Assert(!Monitor.IsEntered(_reader)); 1116lock (_reader._resCache) 1118if (_reader._resCache.TryGetValue(key, out ResourceLocator locator)) 1126value = _reader.GetValueForNameIndex(_currentName); 1128value = _reader.LoadObject(_dataPosition); 1145if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1151return _reader.GetValueForNameIndex(_currentName); 1157if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);