22 references to Count
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ResultProvider (2)
CSharpFormatter.Values.cs (2)
157if (usedFields.Count == 0) 165for (int i = usedFields.Count - 1; i >= 0; i--) // Backwards to list smallest first.
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (18)
AggregateExpansion.cs (1)
19switch (expansions.Count)
ArrayBuilder.cs (1)
27Debug.Assert(builder.Count == 0);
CustomTypeInfoTypeArgumentMap.cs (1)
169var result = (builder.Count == 0) ? null : builder.ToImmutable();
DynamicFlagsCustomTypeInfo.cs (1)
19int numFlags = dynamicFlags.Count - startIndex;
EnumField.cs (1)
42int end = sortedFields.Count;
Formatter.cs (1)
333if (builder.Count == 0)
Formatter.TypeNames.cs (1)
217var lastContainingTypeIndex = stack.Count - 1;
MemberExpansion.cs (5)
117if (favoritesMembers.Count > 0) 174Debug.Assert(staticExpansions.Count > 0); 233if (publicMembers.Count > 0) 257if (publicMembers.Count > 0) 266nonPublicExpansion = (nonPublicMembers.Count > 0)
ResultProvider.cs (2)
133var numRows = rows.Count; 176var numRows = rows.Count;
TypeHelpers.cs (2)
626builder.Add(DkmCustomUIVisualizerInfo.Create((uint)builder.Count, 643var result = (builder.Count > 0) ? builder.ToArray() : null;
TypeWalker.cs (2)
49if (_stack.Count == 0) 70return _stack.Count > 0;
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider (2)
VisualBasicFormatter.Values.vb (2)
107If usedFields.Count = 0 Then 114For i = usedFields.Count - 1 To 0 Step -1 ' Backwards to list smallest first.