6 writes to ChildCount
PresentationFramework (6)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (6)
6635
dnClose.
ChildCount
= nChildCount;
7183
dnParent.
ChildCount
+= 1;
7216
dnPa.
ChildCount
= dnPa.ChildCount - nExcise;
7379
dn.
ChildCount
= nChildrenOldTable; // Update old table child count
7380
EntryAt(nAt + 1).
ChildCount
= nChildrenOldTable - 1; // Update old TableBody child count
7391
dnPa.
ChildCount
= dnPa.ChildCount + 2;
49 references to ChildCount
PresentationFramework (49)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (34)
5531
int parentLastChild = Index +
ChildCount
;
5550
int nLast = dnCell.Index + dnCell.
ChildCount
;
5577
int nLast = this.Index + this.
ChildCount
;
5601
int nLast = this.Index + this.
ChildCount
;
5629
int nLast = dnRow.Index + dnRow.
ChildCount
;
5894
return
ChildCount
> 0 || Xaml != null;
6020
return Index +
ChildCount
;
6405
int nChild = dnCoalesce.
ChildCount
;
6501
int nChild = dnCoalesce.
ChildCount
;
6514
if (dn.
ChildCount
== 0)
6520
Debug.Assert(nAt + dn.
ChildCount
<= nEnd);
6525
int nChildrenHere = dn.
ChildCount
;
6530
Debug.Assert(dnChild.
ChildCount
== 0 && dnChild.IsTerminated);
6562
int nChild = dnCoalesce.
ChildCount
;
6575
if (dn.
ChildCount
== 0 && nAt != nStart)
6579
else if (dn.
ChildCount
> 0)
6581
Debug.Assert(nAt + dn.
ChildCount
<= nEnd);
6589
int nChildrenHere = dn.
ChildCount
;
6594
Debug.Assert(dnChild.
ChildCount
== 0 && dnChild.IsTerminated);
6638
int nEnd = index + dnClose.
ChildCount
;
6643
nAt += dn.
ChildCount
+ 1;
6694
Debug.Assert(nAt + dn.
ChildCount
< Count);
6698
Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.
ChildCount
));
7091
if (dnPrev.
ChildCount
== 0)
7216
dnPa.ChildCount = dnPa.
ChildCount
- nExcise;
7276
int nEndItem = nAt + dn.
ChildCount
;
7317
int nEndItem = nAt + dn.
ChildCount
;
7378
int nChildrenNewTable = dn.
ChildCount
- nChildrenOldTable;
7391
dnPa.ChildCount = dnPa.
ChildCount
+ 2;
8293
Debug.Assert(dn.
ChildCount
== 0);
8324
Debug.Assert(dn.
ChildCount
== 0);
8362
nChildCount -= dn.
ChildCount
;
8897
int nEnd = ndnListText + dnListText.
ChildCount
;
9908
&& nInsertAt + dn.
ChildCount
== dna.Count)
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (15)
240
nEndList = dn1.Index + dn1.
ChildCount
+ 1;
270
nEndList = dn.Index + dn.
ChildCount
+ 1;
414
nEndList = dn1.Index + dn1.
ChildCount
+ 1;
435
nEndList = dn.Index + dn.
ChildCount
+ 1;
873
for (; nStart <= nIndex + documentNode.
ChildCount
; nStart++)
907
for (; nStart <= nIndex + documentNode.
ChildCount
; nStart++)
1010
for (nAt = nStart; nAt <= nIndex + dnThis.
ChildCount
; nAt++)
1067
for (nAt = nStart; nAt <= nIndex + dnThis.
ChildCount
; nAt++)
1197
for (nAt = nStart; nAt <= nIndex + dnThis.
ChildCount
; nAt++)
1686
for (int childIndex = dnCell.Index + 1; childIndex <= dnCell.Index + dnCell.
ChildCount
; childIndex++)
1707
for (int tableChildIndex = dnTable.Index+1; tableChildIndex <= dnTable.Index+dnTable.
ChildCount
; tableChildIndex++)
1731
tableChildIndex += dnChild.
ChildCount
;
1829
dna.InsertChildAt(dnRow, dnNew, dnRow.Index + dnRow.
ChildCount
+ 1, 0);
1938
for (; nStart <= nIndex + dnThis.
ChildCount
; nStart++)
1990
i += dn.
ChildCount
+ 1;