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)
1076
if (_currentName ==
_reader
._numResources - 1 || _currentName == ENUM_DONE)
1093
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1095
return
_reader
.AllocateStringForNameIndex(_currentName, out _dataPosition);
1110
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1112
string key =
_reader
.AllocateStringForNameIndex(_currentName, out _dataPosition); // AllocateStringForNameIndex could lock on _reader
1117
Debug.Assert(!Monitor.IsEntered(
_reader
));
1118
lock (
_reader
._resCache)
1120
if (
_reader
._resCache.TryGetValue(key, out ResourceLocator locator))
1128
value =
_reader
.GetValueForNameIndex(_currentName);
1130
value =
_reader
.LoadObject(_dataPosition);
1147
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1153
return
_reader
.GetValueForNameIndex(_currentName);
1159
if (
_reader
._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);