1 write to _reader
mscorlib (1)
system\resources\resourcereader.cs (1)
1348_reader = reader;
13 references to _reader
mscorlib (13)
system\resources\resourcereader.cs (13)
1354if (_currentName == _reader._numResources - 1 || _currentName == ENUM_DONE) { 1369if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1371return _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); 1393if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1397lock (_reader) { // locks should be taken in the same order as in RuntimeResourceSet.GetObject to avoid deadlock 1398lock (_reader._resCache) { 1399key = _reader.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader 1401if (_reader._resCache.TryGetValue(key, out locator)) { 1406value = _reader.GetValueForNameIndex(_currentName); 1408value = _reader.LoadObject(_dataPosition); 1425if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed")); 1431return _reader.GetValueForNameIndex(_currentName); 1437if (_reader._resCache == null) throw new InvalidOperationException(Environment.GetResourceString("ResourceReaderIsClosed"));