1 write to _reader
System.Resources.Extensions (1)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1070_reader = reader;
13 references to _reader
System.Resources.Extensions (13)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (13)
1076if (_currentName == _reader._numResources - 1 || _currentName == ENUM_DONE) 1093if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1095return _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); 1110if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1112string key = _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader 1117Debug.Assert(!Monitor.IsEntered(_reader)); 1118lock (_reader._resCache) 1120if (_reader._resCache.TryGetValue(key, out ResourceLocator locator)) 1128value = _reader.GetValueForNameIndex(_currentName); 1130value = _reader.LoadObject(_dataPosition); 1147if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1153return _reader.GetValueForNameIndex(_currentName); 1159if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);