25 references to Count
PresentationCore (25)
MS\Internal\Generic\Span.cs (22)
129while ( fs < Count 138if (fs >= Count) 150if ( Count > 0 151&& _spanList[Count - 1].Value.Equals(value)) 154Span<T> lastSpan = _spanList[Count - 1]; 155_spanList[Count - 1] = new Span<T>(lastSpan.Value, lastSpan.Length + length); 173while ( ls < Count 214if ( ls < Count 226if (ls >= Count) 234if (Count != fs + 2) 247if (Count != fs + 1) 352if (targetCount > Count) 354for (int c = 0; c < targetCount - Count; c++) 359else if (targetCount < Count) 361Delete(targetCount, Count - targetCount); 413return _current < _vector.Count; 467while (dcp < _dcp && i < _vector.Count) 474i <= _vector.Count // current value is within valid range 477&& ( i == _vector.Count 494while( _current < _vector.Count 501if (_current < _vector.Count) 548get { return _current >= _vector.Count ? _defaultSpan.Value : _vector[_current].Value; }
MS\Internal\TextFormatting\LexicalChunk.cs (3)
73if (_ichVector.Count > 0) 79for (int i = 0; i < _ichVector.Count; i++) 106if (_ichVector.Count > 0)