4 writes to _resCache
System.Resources.Extensions (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (3)
100
_resCache
= new Dictionary<string, ResourceLocator>(FastResourceComparer.Default);
128
_resCache
= new Dictionary<string, ResourceLocator>(FastResourceComparer.Default);
153
_resCache
= null;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
205
_defaultReader.
_resCache
= _resCache;
7 references to _resCache
System.Resources.Extensions (7)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (7)
234
if (
_resCache
== null)
1087
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1104
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1112
lock (_reader.
_resCache
)
1114
if (_reader.
_resCache
.TryGetValue(key, out ResourceLocator locator))
1141
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1153
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);