25 references to Count
PresentationCore (25)
MS\Internal\Generic\Span.cs (22)
125while ( fs < Count 134if (fs >= Count) 146if ( Count > 0 147&& _spanList[Count - 1].Value.Equals(value)) 150Span<T> lastSpan = _spanList[Count - 1]; 151_spanList[Count - 1] = new Span<T>(lastSpan.Value, lastSpan.Length + length); 169while ( ls < Count 210if ( ls < Count 222if (ls >= Count) 230if (Count != fs + 2) 243if (Count != fs + 1) 348if (targetCount > Count) 350for (int c = 0; c < targetCount - Count; c++) 355else if (targetCount < Count) 357Delete(targetCount, Count - targetCount); 409return _current < _vector.Count; 463while (dcp < _dcp && i < _vector.Count) 470i <= _vector.Count // current value is within valid range 473&& ( i == _vector.Count 490while( _current < _vector.Count 497if (_current < _vector.Count) 544get { return _current >= _vector.Count ? _defaultSpan.Value : _vector[_current].Value; }
MS\Internal\TextFormatting\LexicalChunk.cs (3)
72if (_ichVector.Count > 0) 78for (int i = 0; i < _ichVector.Count; i++) 105if (_ichVector.Count > 0)