2 writes to _selectionItems
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\SelectionUIService.cs (2)
66
_selectionItems
= [];
428
_selectionItems
= newSelection;
24 references to _selectionItems
System.Windows.Forms.Design (24)
System\Windows\Forms\Design\SelectionUIService.cs (24)
163
foreach (SelectionUIItem s in
_selectionItems
.Values)
169
_selectionItems
.Clear();
209
foreach (SelectionUIItem item in
_selectionItems
.Values)
379
_selectionItems
.Remove(ce.Component!);
402
if (
_selectionItems
.TryGetValue(comp, out SelectionUIItem? existingItem))
425
shapeChanged =
_selectionItems
.Keys.Count != newSelection.Keys.Count;
767
foreach (SelectionUIItem item in
_selectionItems
.Values)
777
foreach (SelectionUIItem item in
_selectionItems
.Values)
793
foreach (SelectionUIItem item in
_selectionItems
.Values)
808
foreach (SelectionUIItem item in
_selectionItems
.Values)
831
foreach (SelectionUIItem item in
_selectionItems
.Values)
932
_selectionItems
[component] = item;
1184
if (
_selectionItems
.TryGetValue(comp, out SelectionUIItem? item) && item is not ContainerSelectionUIItem)
1223
&&
_selectionItems
.TryGetValue(component, out SelectionUIItem? value)
1232
if (!
_selectionItems
.TryGetValue(component, out SelectionUIItem? selection))
1251
=> !
_selectionItems
.TryGetValue(component, out SelectionUIItem? item) ? SelectionStyles.None : item.Style;
1262
_selectionItems
.TryGetValue(component, out SelectionUIItem? existingItem);
1268
_selectionItems
[component] = item;
1278
if (!
_selectionItems
.TryGetValue(component, out SelectionUIItem? existingItem) || existingItem is ContainerSelectionUIItem)
1280
_selectionItems
.Remove(component);
1300
_selectionItems
.TryGetValue(component, out SelectionUIItem? selUI);
1304
_selectionItems
[component] = selUI;
1334
foreach (SelectionUIItem item in
_selectionItems
.Values)
1364
foreach (SelectionUIItem item in
_selectionItems
.Values)