Implemented interface members:
37 references to Count
Aspire.Dashboard.Tests (1)
ConsoleLogsTests\CreateResourceSelectModelsTests.cs (1)
165Assert.Equal(4, viewModels.Count);
Aspire.Hosting (1)
Dcp\DcpHost.cs (1)
152var hasNoTrustedCerts = _developerCertificateService.Certificates.Count == 0;
Microsoft.AspNetCore.App.Analyzers (3)
Infrastructure\VirtualChars\VirtualCharSequence.Chunks.cs (3)
45public override int Length => _array.Count; 54if (position < _array[0].Span.Start || position >= _array[_array.Count - 1].Span.End) 80int high = array.Count - 1;
Microsoft.Build (8)
BackEnd\BuildManager\BuildManager.cs (1)
2287if (targetList.Count == 0)
Graph\ProjectGraph.cs (6)
759while (i < targetList.Count) 803while (i < targets.Count) 879|| RequestedTargets.Count != other.RequestedTargets.Count) 885for (var i = 0; i < RequestedTargets.Count; i++) 907for (var i = 0; i < RequestedTargets.Count; i++)
Graph\ProjectInterpretation.cs (1)
361return Properties.Count == 0 && AdditionalProperties.Count == 0 && UndefineProperties.Count == 0;
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\roslyn\src\Analyzers\Core\CodeFixes\MakeFieldReadonly\AbstractMakeFieldReadonlyCodeFixProvider.cs (1)
65if (declarationDeclarators.Count == fieldDeclarators.Count())
Microsoft.CodeAnalysis.Features (1)
src\roslyn\src\Analyzers\Core\CodeFixes\MakeFieldReadonly\AbstractMakeFieldReadonlyCodeFixProvider.cs (1)
65if (declarationDeclarators.Count == fieldDeclarators.Count())
Microsoft.CodeAnalysis.Workspaces (5)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
187pendingTranslationActions.Count - 1, 370while (currentState.PendingTranslationActions.Count > 0) 478Contract.ThrowIfTrue(inProgressState.PendingTranslationActions.Count > 0);
Workspace\Solution\SolutionState.cs (1)
848if (documentIds.Count != oldProject.DocumentStates.Count)
Workspace\Solution\TextDocumentStates.cs (1)
157if (ids.Length == _ids.Count)
Microsoft.DotNet.HotReload.Watch (1)
HotReload\CompilationHandler.cs (1)
236if (_previousUpdates.Count > appliedUpdateCount)
System.Collections.Immutable (16)
System\Collections\Immutable\ImmutableList_1.cs (15)
62/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>. 84/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>. 91public int BinarySearch(T item, IComparer<T>? comparer) => this.BinarySearch(0, this.Count, item, comparer); 109/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>. 172/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is negative or not less than <see cref="Count"/>.</exception> 180/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is negative or not less than <see cref="Count"/>.</exception> 261Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 270Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 300Requires.Range(index >= 0 && index <= this.Count, nameof(index)); 301Requires.Range(count >= 0 && index <= this.Count - count, nameof(count)); 363Requires.Range(index >= 0 && index < this.Count, nameof(index)); 475Requires.Range(index + count <= this.Count, nameof(count)); 558Requires.Range(index + count <= this.Count, nameof(count)); 938/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is negative or not less than <see cref="Count"/> (getter).</exception> 1068/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> is negative or not less than <see cref="Count"/> (getter).</exception>
System\Collections\Immutable\ImmutableList_1.Node.cs (1)
638/// no larger element, the bitwise complement of <see cref="ImmutableList{T}.Count"/>.