1 write to _cache
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\ComponentCache.cs (1)
60_cache ??= [];
21 references to _cache
System.Windows.Forms.Design (21)
System\ComponentModel\Design\Serialization\ComponentCache.cs (21)
52return Enabled && _cache is not null && _cache.TryGetValue(component, out Entry? result) && result.Valid 66if (_cache is not null && component is IComponent) 69_cache[component] = value; 76if (_cache is not null && _cache.TryGetValue(component, out Entry? result)) 86if (_cache is null) 91foreach (KeyValuePair<object, Entry> kvp in _cache) 119_cache?.Clear(); 124if (_cache is not null) 144_cache.Clear(); 151_cache.Clear(); 158if (_cache is not null) 177_cache.Clear(); 184_cache.Clear(); 191if (_cache is not null) 199_cache.Clear(); 209if (_cache is not null && _cache.TryGetValue(component, out Entry? entry)) 213_cache.Clear(); 217_cache.Remove(component);