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)
240if (_resCache == null) 1093if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1110if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1118lock (_reader._resCache) 1120if (_reader._resCache.TryGetValue(key, out ResourceLocator locator)) 1147if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1159if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);