25 references to Count
PresentationCore (25)
MS\Internal\Generic\Span.cs (22)
124while ( fs < Count 133if (fs >= Count) 145if ( Count > 0 146&& _spanList[Count - 1].Value.Equals(value)) 149Span<T> lastSpan = _spanList[Count - 1]; 150_spanList[Count - 1] = new Span<T>(lastSpan.Value, lastSpan.Length + length); 168while ( ls < Count 209if ( ls < Count 221if (ls >= Count) 229if (Count != fs + 2) 242if (Count != fs + 1) 347if (targetCount > Count) 349for (int c = 0; c < targetCount - Count; c++) 354else if (targetCount < Count) 356Delete(targetCount, Count - targetCount); 408return _current < _vector.Count; 462while (dcp < _dcp && i < _vector.Count) 469i <= _vector.Count // current value is within valid range 472&& ( i == _vector.Count 489while( _current < _vector.Count 496if (_current < _vector.Count) 543get { return _current >= _vector.Count ? _defaultSpan.Value : _vector[_current].Value; }
MS\Internal\TextFormatting\LexicalChunk.cs (3)
71if (_ichVector.Count > 0) 77for (int i = 0; i < _ichVector.Count; i++) 104if (_ichVector.Count > 0)