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