18 references to Count
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (18)
src\Compilers\Core\Portable\InternalUtilities\EnumField.cs (1)
42
int end = sortedFields.
Count
;
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
19
int numFlags = dynamicFlags.
Count
- startIndex;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\AggregateExpansion.cs (1)
19
switch (expansions.
Count
)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (5)
118
if (favoritesMembers.
Count
> 0)
175
Debug.Assert(staticExpansions.
Count
> 0);
234
if (publicMembers.
Count
> 0)
258
if (publicMembers.
Count
> 0)
267
nonPublicExpansion = (nonPublicMembers.
Count
> 0)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (1)
333
if (builder.
Count
== 0)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
218
var lastContainingTypeIndex = stack.
Count
- 1;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (1)
27
Debug.Assert(builder.
Count
== 0);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (1)
168
var result = (builder.
Count
== 0) ? null : builder.ToImmutable();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (2)
641
builder.Add(DkmCustomUIVisualizerInfo.Create((uint)builder.
Count
,
658
var result = (builder.
Count
> 0) ? builder.ToArray() : null;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (2)
49
if (_stack.
Count
== 0)
70
return _stack.
Count
> 0;
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (2)
142
var numRows = rows.
Count
;
185
var numRows = rows.
Count
;