protected override void OnInsert(int index, object item) { if (_parent != null) { _parent.OnAdd(this, item); } }
protected override void OnInsert(int index, object?item) { _parent?.OnAdd(this, item); }