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)
52
return Enabled &&
_cache
is not null &&
_cache
.TryGetValue(component, out Entry? result) && result.Valid
66
if (
_cache
is not null && component is IComponent)
69
_cache
[component] = value;
76
if (
_cache
is not null &&
_cache
.TryGetValue(component, out Entry? result))
86
if (
_cache
is null)
91
foreach (KeyValuePair<object, Entry> kvp in
_cache
)
119
_cache
?.Clear();
124
if (
_cache
is not null)
144
_cache
.Clear();
151
_cache
.Clear();
158
if (
_cache
is not null)
177
_cache
.Clear();
184
_cache
.Clear();
191
if (
_cache
is not null)
199
_cache
.Clear();
209
if (
_cache
is not null &&
_cache
.TryGetValue(component, out Entry? entry))
213
_cache
.Clear();
217
_cache
.Remove(component);