6 writes to ChildCount
PresentationFramework (6)
System\Windows\Documents\RtfToXamlReader.cs (6)
6566dnClose.ChildCount = nChildCount; 7115dnParent.ChildCount += 1; 7148dnPa.ChildCount -= nExcise; 7311dn.ChildCount = nChildrenOldTable; // Update old table child count 7312EntryAt(nAt + 1).ChildCount = nChildrenOldTable - 1; // Update old TableBody child count 7323dnPa.ChildCount += 2;
47 references to ChildCount
PresentationFramework (47)
System\Windows\Documents\RtfToXamlReader.cs (32)
5457int parentLastChild = Index + ChildCount; 5476int nLast = dnCell.Index + dnCell.ChildCount; 5503int nLast = this.Index + this.ChildCount; 5527int nLast = this.Index + this.ChildCount; 5555int nLast = dnRow.Index + dnRow.ChildCount; 5824return ChildCount > 0 || Xaml != null; 5950return Index + ChildCount; 6335int nChild = dnCoalesce.ChildCount; 6432int nChild = dnCoalesce.ChildCount; 6445if (dn.ChildCount == 0) 6451Debug.Assert(nAt + dn.ChildCount <= nEnd); 6456int nChildrenHere = dn.ChildCount; 6461Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6493int nChild = dnCoalesce.ChildCount; 6506if (dn.ChildCount == 0 && nAt != nStart) 6510else if (dn.ChildCount > 0) 6512Debug.Assert(nAt + dn.ChildCount <= nEnd); 6520int nChildrenHere = dn.ChildCount; 6525Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6569int nEnd = index + dnClose.ChildCount; 6574nAt += dn.ChildCount + 1; 6625Debug.Assert(nAt + dn.ChildCount < Count); 6629Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.ChildCount)); 7023if (dnPrev.ChildCount == 0) 7208int nEndItem = nAt + dn.ChildCount; 7249int nEndItem = nAt + dn.ChildCount; 7310int nChildrenNewTable = dn.ChildCount - nChildrenOldTable; 8227Debug.Assert(dn.ChildCount == 0); 8255Debug.Assert(dn.ChildCount == 0); 8290nChildCount -= dn.ChildCount; 8826int nEnd = ndnListText + dnListText.ChildCount; 9841&& nInsertAt + dn.ChildCount == dna.Count)
System\Windows\Documents\XamlToRtfWriter.cs (15)
237nEndList = dn1.Index + dn1.ChildCount + 1; 267nEndList = dn.Index + dn.ChildCount + 1; 411nEndList = dn1.Index + dn1.ChildCount + 1; 432nEndList = dn.Index + dn.ChildCount + 1; 870for (; nStart <= nIndex + documentNode.ChildCount; nStart++) 904for (; nStart <= nIndex + documentNode.ChildCount; nStart++) 1007for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1064for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1193for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1682for (int childIndex = dnCell.Index + 1; childIndex <= dnCell.Index + dnCell.ChildCount; childIndex++) 1703for (int tableChildIndex = dnTable.Index+1; tableChildIndex <= dnTable.Index+dnTable.ChildCount; tableChildIndex++) 1727tableChildIndex += dnChild.ChildCount; 1825dna.InsertChildAt(dnRow, dnNew, dnRow.Index + dnRow.ChildCount + 1, 0); 1934for (; nStart <= nIndex + dnThis.ChildCount; nStart++) 1986i += dn.ChildCount + 1;