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)
238if (_resCache == null) 1091if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1108if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1116lock (_reader._resCache) 1118if (_reader._resCache.TryGetValue(key, out ResourceLocator locator)) 1145if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed); 1157if (_reader._resCache == null) throw new InvalidOperationException(SR.ResourceReaderIsClosed);