1 write to _reader
System.Resources.Extensions (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1064_reader = reader;
13 references to _reader
System.Resources.Extensions (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (13)
1070if (_currentName == _reader._numResources - 1 || _currentName == ENUM_DONE) 1087if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1089return _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); 1104if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1106string key = _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader 1111Debug.Assert(!Monitor.IsEntered(_reader)); 1112lock (_reader._resCache) 1114if (_reader._resCache.TryGetValue(key, out ResourceLocator locator)) 1122value = _reader.GetValueForNameIndex(_currentName); 1124value = _reader.LoadObject(_dataPosition); 1141if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1147return _reader.GetValueForNameIndex(_currentName); 1153if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);