8 writes to _children
System.Windows.Forms (8)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (8)
178get => _children ??= []; 187_children = null; 190_children = value; 206return _children ??= []; 930_children = []; 979_children = []; 996_children = new GridEntryCollection(childProperties); 1045_children = null;
37 references to _children
System.Windows.Forms (37)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (37)
182if (_children != value) 184if (_children is not null) 186_children.Dispose(); 201if (_children is null && !Disposed) 266if (expandable && _children is not null && _children.Count > 0) 300if (_children is null || _children.Count == 0) 314if (_children is not null && _children.Count > 0) 515if (IsExpandable && _children is not null && _children.Count == 0) 690if (_children is not null) 692for (int i = 0; i < _children.Count; i++) 694_children[i].ParentGridEntry = this; 924if (_children is not null) 926_children.Clear(); 936if (!useExistingChildren && _children is not null && _children.Count > 0) 945if (useExistingChildren && _children is not null && _children.Count > 0) 948if (childProperties is not null && childProperties.Length == _children.Count) 952if (!childProperties[i].EqualsIgnoreParent(_children[i])) 973if (_children is not null) 975_children.Clear(); 989if (_children is not null && childProperties is not null) 991_children.Clear(); 992_children.AddRange(childProperties); 1029if (_children?.Count > 0) 1031foreach (GridEntry gridEntry in _children) 1044_children?.Dispose(); 2199if (_children is not null) 2211IEnumerator childEnum = _children.GetEnumerator(); 2254bool childrenPrior = _children is not null && _children.Count > 0; 2257bool childrenAfter = _children is not null && _children.Count > 0;