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