8 writes to _children
System.Windows.Forms (8)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (8)
181get => _children ??= []; 190_children = null; 193_children = value; 209return _children ??= []; 936_children = []; 985_children = []; 1002_children = new GridEntryCollection(childProperties); 1051_children = null;
37 references to _children
System.Windows.Forms (37)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (37)
185if (_children != value) 187if (_children is not null) 189_children.Dispose(); 204if (_children is null && !Disposed) 272if (expandable && _children is not null && _children.Count > 0) 306if (_children is null || _children.Count == 0) 320if (_children is not null && _children.Count > 0) 521if (IsExpandable && _children is not null && _children.Count == 0) 696if (_children is not null) 698for (int i = 0; i < _children.Count; i++) 700_children[i].ParentGridEntry = this; 930if (_children is not null) 932_children.Clear(); 942if (!useExistingChildren && _children is not null && _children.Count > 0) 951if (useExistingChildren && _children is not null && _children.Count > 0) 954if (childProperties is not null && childProperties.Length == _children.Count) 958if (!childProperties[i].EqualsIgnoreParent(_children[i])) 979if (_children is not null) 981_children.Clear(); 995if (_children is not null && childProperties is not null) 997_children.Clear(); 998_children.AddRange(childProperties); 1035if (_children?.Count > 0) 1037foreach (GridEntry gridEntry in _children) 1050_children?.Dispose(); 2205if (_children is not null) 2217IEnumerator childEnum = _children.GetEnumerator(); 2260bool childrenPrior = _children is not null && _children.Count > 0; 2263bool childrenAfter = _children is not null && _children.Count > 0;