Implemented interface members:
17 references to Count
Microsoft.CodeAnalysis.Workspaces (17)
src\Dependencies\Collections\Segmented\ImmutableSegmentedList`1.cs (11)
132if (unchecked((uint)index) >= (uint)self.Count) 297if (index == 0 && count == self.Count) 314if (index == self.Count) 329if (index == self.Count) 345if (count < 0 || count > self.Count) 377var index = self.IndexOf(value, 0, Count, equalityComparer); 456if (count == 0 && index >= 0 && index <= self.Count) 499if (self.Count < 2) 529if (self.Count < 2) 543if (self.Count < 2) 562if (self.Count < 2)
src\Dependencies\Collections\Segmented\ImmutableSegmentedListExtensions.cs (4)
69return immutableList.Count > 0 70? immutableList[immutableList.Count - 1] 93for (var i = immutableList.Count - 1; i >= 0; i--) 123int high = array.Count - 1;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\VirtualChars\VirtualCharSequence.Chunks.cs (1)
40public override int Length => array.Count;
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
408var documentsToChange = ArrayBuilder<(DocumentId, TextLoader)>.GetInstance(filePaths.Count);