4 writes to _resCache
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (1)
38_resCache = resCache;
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;
8 references to _resCache
System.Private.CoreLib (8)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.Core.cs (1)
140if (_resCache == null)
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);