Implemented interface members:
39 references to Count
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)
2022if (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\Analyzers\Core\CodeFixes\MakeFieldReadonly\AbstractMakeFieldReadonlyCodeFixProvider.cs (1)
67if (declarationDeclarators.Count == fieldDeclarators.Count())
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\MakeFieldReadonly\AbstractMakeFieldReadonlyCodeFixProvider.cs (1)
67if (declarationDeclarators.Count == fieldDeclarators.Count())
Microsoft.CodeAnalysis.Workspaces (4)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (2)
366while (currentState.PendingTranslationActions.Count > 0) 474Contract.ThrowIfTrue(inProgressState.PendingTranslationActions.Count > 0);
Workspace\Solution\SolutionState.cs (1)
808if (documentIds.Count != oldProject.DocumentStates.Count)
Workspace\Solution\TextDocumentStates.cs (1)
159if (ids.Length == _ids.Count)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (1)
VisualStudioMSBuildWorkspaceTests.cs (1)
1375Assert.InRange(workspace.Diagnostics.Count, 2, 3);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
MEF\UseExportProviderAttribute.cs (1)
167if (exceptions.Count > 0)
Microsoft.DotNet.Build.Tasks.Feed (2)
src\model\TargetChannelConfig.cs (2)
190public bool Equals(TargetFeedSpecification other) => ContentTypes.Count == other.ContentTypes.Count &&
Microsoft.VisualStudio.LanguageServices (1)
Workspace\VisualStudioActiveDocumentTracker.cs (1)
123var ids = ArrayBuilder<DocumentId>.GetInstance(visibleFramesSnapshot.Count);
Microsoft.VisualStudio.LanguageServices.Test.Utilities2 (1)
MockVsFileChangeEx.vb (1)
246Return _watchedFiles.Count
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"/>.