6 writes to ChildCount
PresentationFramework (6)
System\Windows\Documents\RtfToXamlReader.cs (6)
6554dnClose.ChildCount = nChildCount; 7102dnParent.ChildCount += 1; 7135dnPa.ChildCount = dnPa.ChildCount - nExcise; 7298dn.ChildCount = nChildrenOldTable; // Update old table child count 7299EntryAt(nAt + 1).ChildCount = nChildrenOldTable - 1; // Update old TableBody child count 7310dnPa.ChildCount = dnPa.ChildCount + 2;
49 references to ChildCount
PresentationFramework (49)
System\Windows\Documents\RtfToXamlReader.cs (34)
5451int parentLastChild = Index + ChildCount; 5470int nLast = dnCell.Index + dnCell.ChildCount; 5497int nLast = this.Index + this.ChildCount; 5521int nLast = this.Index + this.ChildCount; 5549int nLast = dnRow.Index + dnRow.ChildCount; 5814return ChildCount > 0 || Xaml != null; 5940return Index + ChildCount; 6325int nChild = dnCoalesce.ChildCount; 6420int nChild = dnCoalesce.ChildCount; 6433if (dn.ChildCount == 0) 6439Debug.Assert(nAt + dn.ChildCount <= nEnd); 6444int nChildrenHere = dn.ChildCount; 6449Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6481int nChild = dnCoalesce.ChildCount; 6494if (dn.ChildCount == 0 && nAt != nStart) 6498else if (dn.ChildCount > 0) 6500Debug.Assert(nAt + dn.ChildCount <= nEnd); 6508int nChildrenHere = dn.ChildCount; 6513Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6557int nEnd = index + dnClose.ChildCount; 6562nAt += dn.ChildCount + 1; 6613Debug.Assert(nAt + dn.ChildCount < Count); 6617Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.ChildCount)); 7010if (dnPrev.ChildCount == 0) 7135dnPa.ChildCount = dnPa.ChildCount - nExcise; 7195int nEndItem = nAt + dn.ChildCount; 7236int nEndItem = nAt + dn.ChildCount; 7297int nChildrenNewTable = dn.ChildCount - nChildrenOldTable; 7310dnPa.ChildCount = dnPa.ChildCount + 2; 8212Debug.Assert(dn.ChildCount == 0); 8240Debug.Assert(dn.ChildCount == 0); 8275nChildCount -= dn.ChildCount; 8806int nEnd = ndnListText + dnListText.ChildCount; 9817&& 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;