6 writes to ChildCount
PresentationFramework (6)
System\Windows\Documents\RtfToXamlReader.cs (6)
6553dnClose.ChildCount = nChildCount; 7101dnParent.ChildCount += 1; 7134dnPa.ChildCount = dnPa.ChildCount - nExcise; 7297dn.ChildCount = nChildrenOldTable; // Update old table child count 7298EntryAt(nAt + 1).ChildCount = nChildrenOldTable - 1; // Update old TableBody child count 7309dnPa.ChildCount = dnPa.ChildCount + 2;
49 references to ChildCount
PresentationFramework (49)
System\Windows\Documents\RtfToXamlReader.cs (34)
5450int parentLastChild = Index + ChildCount; 5469int nLast = dnCell.Index + dnCell.ChildCount; 5496int nLast = this.Index + this.ChildCount; 5520int nLast = this.Index + this.ChildCount; 5548int nLast = dnRow.Index + dnRow.ChildCount; 5813return ChildCount > 0 || Xaml != null; 5939return Index + ChildCount; 6324int nChild = dnCoalesce.ChildCount; 6419int nChild = dnCoalesce.ChildCount; 6432if (dn.ChildCount == 0) 6438Debug.Assert(nAt + dn.ChildCount <= nEnd); 6443int nChildrenHere = dn.ChildCount; 6448Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6480int nChild = dnCoalesce.ChildCount; 6493if (dn.ChildCount == 0 && nAt != nStart) 6497else if (dn.ChildCount > 0) 6499Debug.Assert(nAt + dn.ChildCount <= nEnd); 6507int nChildrenHere = dn.ChildCount; 6512Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6556int nEnd = index + dnClose.ChildCount; 6561nAt += dn.ChildCount + 1; 6612Debug.Assert(nAt + dn.ChildCount < Count); 6616Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.ChildCount)); 7009if (dnPrev.ChildCount == 0) 7134dnPa.ChildCount = dnPa.ChildCount - nExcise; 7194int nEndItem = nAt + dn.ChildCount; 7235int nEndItem = nAt + dn.ChildCount; 7296int nChildrenNewTable = dn.ChildCount - nChildrenOldTable; 7309dnPa.ChildCount = dnPa.ChildCount + 2; 8211Debug.Assert(dn.ChildCount == 0); 8239Debug.Assert(dn.ChildCount == 0); 8274nChildCount -= dn.ChildCount; 8805int nEnd = ndnListText + dnListText.ChildCount; 9816&& nInsertAt + dn.ChildCount == dna.Count)
System\Windows\Documents\XamlToRtfWriter.cs (15)
239nEndList = dn1.Index + dn1.ChildCount + 1; 269nEndList = dn.Index + dn.ChildCount + 1; 413nEndList = dn1.Index + dn1.ChildCount + 1; 434nEndList = dn.Index + dn.ChildCount + 1; 872for (; nStart <= nIndex + documentNode.ChildCount; nStart++) 906for (; nStart <= nIndex + documentNode.ChildCount; nStart++) 1009for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1066for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1195for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1684for (int childIndex = dnCell.Index + 1; childIndex <= dnCell.Index + dnCell.ChildCount; childIndex++) 1705for (int tableChildIndex = dnTable.Index+1; tableChildIndex <= dnTable.Index+dnTable.ChildCount; tableChildIndex++) 1729tableChildIndex += dnChild.ChildCount; 1827dna.InsertChildAt(dnRow, dnNew, dnRow.Index + dnRow.ChildCount + 1, 0); 1936for (; nStart <= nIndex + dnThis.ChildCount; nStart++) 1988i += dn.ChildCount + 1;