1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (1)
23
_owner
= owner;
33 references to _owner
System.Windows.Forms (33)
System\Windows\Forms\Controls\TreeView\TreeNodeCollection.cs (33)
36
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_owner
._childCount);
38
return
_owner
._children[index];
43
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
_owner
._childCount);
46
TreeView tv =
_owner
._treeView!;
47
TreeNode actual =
_owner
._children[index];
115
public int Count =>
_owner
._childCount;
217
TreeView? tv =
_owner
.TreeView;
225
_owner
.Nodes.FixedIndex =
_owner
._childCount;
228
_owner
.EnsureCapacity(nodes.Length);
234
_owner
.Nodes.FixedIndex = -1;
307
_owner
.CheckParentingCycle(node);
310
TreeView? tv =
_owner
.TreeView;
322
return
_owner
.AddSorted(tv, node);
325
node._parent =
_owner
;
326
int fixedIndex =
_owner
.Nodes.FixedIndex;
335
_owner
.EnsureCapacity(1);
336
node._index =
_owner
._childCount;
339
_owner
._children[node._index] = node;
340
_owner
._childCount++;
443
_owner
.CheckParentingCycle(node);
446
TreeView? tv =
_owner
.TreeView;
458
_owner
.AddSorted(tv, node);
467
if (index >
_owner
._childCount)
469
index =
_owner
._childCount;
472
_owner
.InsertNodeAt(index, node);
580
_owner
.Clear();
585
if (
_owner
._childCount > 0)
587
Array.Copy(
_owner
._children, 0, dest, index,
_owner
._childCount);
623
if (
_owner
._children is not null)
625
return new ArraySubsetEnumerator(
_owner
._children,
_owner
._childCount);