1 instantiation of ComponentCache
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
366
cache = new
ComponentCache
(manager);
19 references to ComponentCache
System.Windows.Forms.Design (19)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (7)
1733
ComponentCache
.Entry? parentEntry = manager.GetContext<
ComponentCache
.Entry>();
1736
if (manager.TryGetContext(out
ComponentCache
? cache) && parentEntryComponent is not null &&
1739
ComponentCache
.Entry? entry = cache.GetEntryAll(value);
2078
ComponentCache
? cache = manager.GetContext<
ComponentCache
>();
2088
if (manager.TryGetContext(out
ComponentCache
.Entry? entry))
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (5)
360
ComponentCache
? cache = manager.GetService<
ComponentCache
>();
361
ComponentCache
.Entry? entry = null;
384
entry = new
ComponentCache
.Entry();
391
ComponentCache
.Entry? oldEntry = cache?.GetEntryAll(value);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (3)
404
internal static void ApplyCacheEntry(IDesignerSerializationManager manager,
ComponentCache
.Entry entry)
409
foreach (
ComponentCache
.ResourceEntry re in entry.Metadata)
417
foreach (
ComponentCache
.ResourceEntry re in entry.Resources)
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (2)
142
if (manager.TryGetContext(out
ComponentCache
.Entry? entry))
144
ComponentCache
.ResourceEntry re = new(
System\Windows\Forms\Design\ControlDesigner.cs (2)
1002
if (TryGetService(out
ComponentCache
? cache) && component is not null)
1011
if (TryGetService(out
ComponentCache
? cache) && component is not null)