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);
135
_resCache
= new Dictionary<string, ResourceLocator>(FastResourceComparer.Default);
159
_resCache
= null;
src\libraries\System.Private.CoreLib\src\System\Resources\RuntimeResourceSet.cs (1)
206
_defaultReader.
_resCache
= _resCache;
7 references to _resCache
System.Resources.Extensions (7)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (7)
240
if (
_resCache
== null)
1093
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1110
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1118
lock (_reader.
_resCache
)
1120
if (_reader.
_resCache
.TryGetValue(key, out ResourceLocator locator))
1147
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);
1159
if (_reader.
_resCache
== null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);