24 references to Count
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (24)
Debugger\Engine\DkmClrType.cs (2)
323if (argValueTypeBuilder.Count == 0) 334if (argValueTypeBuilder.Count > 1)
Debugger\Engine\DkmInspectionSession.cs (1)
82int n = _calls.Count;
ResultProviderTestBase.cs (3)
236Assert.True(builder.Count <= enumContext.Count); 238int offset = builder.Count; 247Assert.Equal(builder.Count, enumContext.Count);
src\Compilers\Core\Portable\InternalUtilities\EnumField.cs (1)
42int end = sortedFields.Count;
src\ExpressionEvaluator\Core\Source\ExpressionCompiler\DynamicFlagsCustomTypeInfo.cs (1)
19int numFlags = dynamicFlags.Count - startIndex;
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\AggregateExpansion.cs (1)
19switch (expansions.Count)
src\ExpressionEvaluator\Core\Source\ResultProvider\Expansion\MemberExpansion.cs (5)
118if (favoritesMembers.Count > 0) 175Debug.Assert(staticExpansions.Count > 0); 234if (publicMembers.Count > 0) 258if (publicMembers.Count > 0) 267nonPublicExpansion = (nonPublicMembers.Count > 0)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.cs (1)
333if (builder.Count == 0)
src\ExpressionEvaluator\Core\Source\ResultProvider\Formatter.TypeNames.cs (1)
218var lastContainingTypeIndex = stack.Count - 1;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\ArrayBuilder.cs (1)
27Debug.Assert(builder.Count == 0);
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\CustomTypeInfoTypeArgumentMap.cs (1)
168var result = (builder.Count == 0) ? null : builder.ToImmutable();
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeHelpers.cs (2)
641builder.Add(DkmCustomUIVisualizerInfo.Create((uint)builder.Count, 658var result = (builder.Count > 0) ? builder.ToArray() : null;
src\ExpressionEvaluator\Core\Source\ResultProvider\Helpers\TypeWalker.cs (2)
49if (_stack.Count == 0) 70return _stack.Count > 0;
src\ExpressionEvaluator\Core\Source\ResultProvider\ResultProvider.cs (2)
142var numRows = rows.Count; 185var numRows = rows.Count;