15 writes to _insertionIndex
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (15)
588++_insertionIndex; 606_insertionIndex = InvalidIndex; 623_insertionIndex = children.GetChildIndex(control, throwException: false); 658_insertionIndex = children.Count; 663++_insertionIndex; 679++_insertionIndex; 734++_insertionIndex; 741_insertionIndex = InvalidIndex; 753_insertionIndex = InvalidIndex; 772_insertionIndex = InvalidIndex; 809_insertionIndex = InvalidIndex; 832_insertionIndex = i; 866_insertionIndex = size.LastIndex; 886_insertionIndex = FlowLayoutPanel.Controls.Count; 907_insertionIndex = InvalidIndex;
12 references to _insertionIndex
System.Windows.Forms.Design (12)
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (12)
585while (_insertionIndex < _childInfo.Length - 1 && _childInfo[_insertionIndex].InSelectionCollection) 599if (_insertionIndex != _childInfo.Length) 601control = children[_insertionIndex]; 652if (_insertionIndex == InvalidIndex) 662children.SetChildIndex(_primaryDragControl, _insertionIndex); 678children.SetChildIndex(_dragControls[i], _insertionIndex); 718if (_insertionIndex == InvalidIndex) 733Control.Controls.SetChildIndex(e.Control, _insertionIndex); 867bounds = _childInfo[_insertionIndex - 1].ControlBounds; 868if (_childInfo[_insertionIndex - 1].InSelectionCollection) 882if (_insertionIndex == InvalidIndex)