6 writes to ChildCount
PresentationFramework (6)
System\Windows\Documents\RtfToXamlReader.cs (6)
6552dnClose.ChildCount = nChildCount; 7100dnParent.ChildCount += 1; 7133dnPa.ChildCount = dnPa.ChildCount - nExcise; 7296dn.ChildCount = nChildrenOldTable; // Update old table child count 7297EntryAt(nAt + 1).ChildCount = nChildrenOldTable - 1; // Update old TableBody child count 7308dnPa.ChildCount = dnPa.ChildCount + 2;
49 references to ChildCount
PresentationFramework (49)
System\Windows\Documents\RtfToXamlReader.cs (34)
5449int parentLastChild = Index + ChildCount; 5468int nLast = dnCell.Index + dnCell.ChildCount; 5495int nLast = this.Index + this.ChildCount; 5519int nLast = this.Index + this.ChildCount; 5547int nLast = dnRow.Index + dnRow.ChildCount; 5812return ChildCount > 0 || Xaml != null; 5938return Index + ChildCount; 6323int nChild = dnCoalesce.ChildCount; 6418int nChild = dnCoalesce.ChildCount; 6431if (dn.ChildCount == 0) 6437Debug.Assert(nAt + dn.ChildCount <= nEnd); 6442int nChildrenHere = dn.ChildCount; 6447Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6479int nChild = dnCoalesce.ChildCount; 6492if (dn.ChildCount == 0 && nAt != nStart) 6496else if (dn.ChildCount > 0) 6498Debug.Assert(nAt + dn.ChildCount <= nEnd); 6506int nChildrenHere = dn.ChildCount; 6511Debug.Assert(dnChild.ChildCount == 0 && dnChild.IsTerminated); 6555int nEnd = index + dnClose.ChildCount; 6560nAt += dn.ChildCount + 1; 6611Debug.Assert(nAt + dn.ChildCount < Count); 6615Debug.Assert(dnPa.IsPending || (nAt > dnPa.Index && nAt <= dnPa.Index + dnPa.ChildCount)); 7008if (dnPrev.ChildCount == 0) 7133dnPa.ChildCount = dnPa.ChildCount - nExcise; 7193int nEndItem = nAt + dn.ChildCount; 7234int nEndItem = nAt + dn.ChildCount; 7295int nChildrenNewTable = dn.ChildCount - nChildrenOldTable; 7308dnPa.ChildCount = dnPa.ChildCount + 2; 8210Debug.Assert(dn.ChildCount == 0); 8238Debug.Assert(dn.ChildCount == 0); 8273nChildCount -= dn.ChildCount; 8804int nEnd = ndnListText + dnListText.ChildCount; 9815&& nInsertAt + dn.ChildCount == dna.Count)
System\Windows\Documents\XamlToRtfWriter.cs (15)
238nEndList = dn1.Index + dn1.ChildCount + 1; 268nEndList = dn.Index + dn.ChildCount + 1; 412nEndList = dn1.Index + dn1.ChildCount + 1; 433nEndList = dn.Index + dn.ChildCount + 1; 871for (; nStart <= nIndex + documentNode.ChildCount; nStart++) 905for (; nStart <= nIndex + documentNode.ChildCount; nStart++) 1008for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1065for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1194for (nAt = nStart; nAt <= nIndex + dnThis.ChildCount; nAt++) 1683for (int childIndex = dnCell.Index + 1; childIndex <= dnCell.Index + dnCell.ChildCount; childIndex++) 1704for (int tableChildIndex = dnTable.Index+1; tableChildIndex <= dnTable.Index+dnTable.ChildCount; tableChildIndex++) 1728tableChildIndex += dnChild.ChildCount; 1826dna.InsertChildAt(dnRow, dnNew, dnRow.Index + dnRow.ChildCount + 1, 0); 1935for (; nStart <= nIndex + dnThis.ChildCount; nStart++) 1987i += dn.ChildCount + 1;