27 references to Count
PresentationCore (27)
Core\CSharp\MS\Internal\Span.cs (15)
234if ( Count > 0 235&& equals(_spans[Count-1].element, element)) 238_spans[Count - 1].length += length; 241if (fs == Count) 257while ( ls < Count 297if ( ls < Count 309if (ls >= Count) 317if (Count != fs + 2) 328if (Count != fs + 1) 431if (targetCount > Count) 433for (int c = 0; c < targetCount - Count; c++) 438else if (targetCount < Count) 440DeleteInternal(targetCount, Count - targetCount); 485return _current < _spans.Count ? true : false; 611get { return _spanPosition.Index >= _spans.Count ? _spans.Default : _spans[_spanPosition.Index].element; }
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
2118for (int i = 0; i < _plsrunVector.Count && cchLeft > 0; i++)
Core\CSharp\MS\Internal\TextFormatting\FullTextState.cs (1)
411} while ( ++i < plsrunVector.Count
Core\CSharp\MS\Internal\TextFormatting\TextRunCacheImp.cs (3)
77for (int i = 0; i < _textRunVector.Count; i++) 334IList<TextSpan<TextRun>> textRunList = new List<TextSpan<TextRun>>(_textRunVector.Count); 336for (int i = 0; i < _textRunVector.Count; i++)
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (7)
920for(int i = 0; i < runInfoVector.Count; i++) 957if ((++i) >= runInfoVector.Count) 977Bidi.Flags flags = (i < runInfoVector.Count) ? 1085for (int i = 0, cp = 0, lscp = 0; i < _plsrunVector.Count; ++i) 1100_plsrunVector.Delete(i + 1, _plsrunVector.Count - (i + 1), ref _plsrunVectorLatestPosition); 1143for (int i = 0; i < runInfoVector.Count && ichRun < cchToAdd; ++i) 1971Debug.Assert(i < _plsrunVector.Count);