Implemented interface member:
37 references to Count
Microsoft.CodeAnalysis.InteractiveHost (37)
ArrayBuilder.cs (25)
32
var result = new T[_builder.
Count
];
78
if (
Count
== 0)
82
else if (_builder.Capacity ==
Count
)
185
=> FindIndex(0, this.
Count
, match);
188
=> FindIndex(startIndex, this.
Count
- startIndex, match);
205
=> FindIndex(0,
Count
, match, arg);
208
=> FindIndex(startIndex,
Count
- startIndex, match, arg);
276
=>
Count
== 0 ? default : Last();
293
if (
Count
== 0)
307
if (
Count
== 0)
312
var tmp = ArrayBuilder<U>.GetInstance(
Count
);
329
if (
Count
== 0)
333
else if (_builder.Capacity ==
Count
)
373
if (this.
Count
!= 0)
394
Debug.Assert(builder.
Count
== 0);
450
if (this.
Count
== 1)
458
if (this.
Count
== 0)
465
var accumulator = new Dictionary<K, ArrayBuilder<T>>(
Count
, comparer);
466
for (var i = 0; i <
Count
; i++)
511
Debug.Assert(start + length <= items.
Count
);
570
Debug.Assert(limit <=
Count
);
593
for (var i = 0; i <
Count
; i++)
608
if (
Count
<= 1)
616
for (int i = 1; i <
Count
; i++)
630
var result = ArrayBuilder<S>.GetInstance(
Count
);
ArrayBuilder.Enumerator.cs (1)
34
return _index < _builder.
Count
;
ArrayBuilderExtensions.cs (10)
72
switch (items.
Count
)
90
var builder = ArrayBuilder<TResult>.GetInstance(items.
Count
);
112
switch (items.
Count
)
130
var builder = ArrayBuilder<TResult>.GetInstance(items.
Count
);
152
switch (items.
Count
)
170
var builder = ArrayBuilder<TResult>.GetInstance(items.
Count
);
173
builder.Add(map(item, builder.
Count
, arg));
200
builder.RemoveAt(builder.
Count
- 1);
206
if (builder.
Count
> 0)
218
return builder[builder.
Count
- 1];
PathUtilities.cs (1)
815
else if (resolvedParts.
Count
> 0)