4 writes to _resCache
System.Resources.Extensions (4)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (3)
100
_resCache
= new Dictionary<string, ResourceLocator>(FastResourceComparer.Default);
132
_resCache
= new Dictionary<string, ResourceLocator>(FastResourceComparer.Default);
157
_resCache
= null;
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
205
_defaultReader.
_resCache
= _resCache;
7 references to _resCache
System.Resources.Extensions (7)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (7)
238
if (
_resCache
== null)
1091
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1108
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1116
lock (_reader.
_resCache
)
1118
if (_reader.
_resCache
.TryGetValue(key, out ResourceLocator locator))
1145
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1157
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);