6 writes to ChildCount
PresentationFramework (6)
System\Windows\Documents\RtfToXamlReader.cs (6)
6557dnClose.ChildCount = nChildCount; 7106dnParent.ChildCount += 1; 7139dnPa.ChildCount -= nExcise; 7302dn.ChildCount = nChildrenOldTable; // Update old table child count 7303EntryAt(nAt + 1).ChildCount = nChildrenOldTable - 1; // Update old TableBody child count 7314dnPa.ChildCount += 2;
47 references to ChildCount
PresentationFramework (47)
System\Windows\Documents\RtfToXamlReader.cs (32)
5448int parentLastChild = Index + ChildCount; 5467int nLast = dnCell.Index + dnCell.ChildCount; 5494int nLast = this.Index + this.ChildCount; 5518int nLast = this.Index + this.ChildCount; 5546int nLast = dnRow.Index + dnRow.ChildCount; 5815return ChildCount > 0 || Xaml != null; 5941return Index + ChildCount; 6326int nChild = dnCoalesce.ChildCount; 6423int nChild = dnCoalesce.ChildCount; 6436if (dn.ChildCount == 0) 6442Debug.Assert(nAt + dn.ChildCount <= nEnd); 6447int nChildrenHere = dn.ChildCount; 6452Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6484int nChild = dnCoalesce.ChildCount; 6497if (dn.ChildCount == 0 && nAt != nStart) 6501else if (dn.ChildCount > 0) 6503Debug.Assert(nAt + dn.ChildCount <= nEnd); 6511int nChildrenHere = dn.ChildCount; 6516Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6560int nEnd = index + dnClose.ChildCount; 6565nAt += dn.ChildCount + 1; 6616Debug.Assert(nAt + dn.ChildCount < Count); 6620Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.ChildCount)); 7014if (dnPrev.ChildCount == 0) 7199int nEndItem = nAt + dn.ChildCount; 7240int nEndItem = nAt + dn.ChildCount; 7301int nChildrenNewTable = dn.ChildCount - nChildrenOldTable; 8218Debug.Assert(dn.ChildCount == 0); 8246Debug.Assert(dn.ChildCount == 0); 8281nChildCount -= dn.ChildCount; 8817int nEnd = ndnListText + dnListText.ChildCount; 9826&& 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;