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)
1074
if (_currentName ==
_reader
._numResources - 1 || _currentName == ENUM_DONE)
1091
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1093
return
_reader
.AllocateStringForNameIndex(_currentName, out _dataPosition);
1108
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1110
string key =
_reader
.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader
1115
Debug.Assert(!Monitor.IsEntered(
_reader
));
1116
lock (
_reader
._resCache)
1118
if (
_reader
._resCache.TryGetValue(key, out ResourceLocator locator))
1126
value =
_reader
.GetValueForNameIndex(_currentName);
1128
value =
_reader
.LoadObject(_dataPosition);
1145
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1151
return
_reader
.GetValueForNameIndex(_currentName);
1157
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);