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