10 references to Count
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker.cs (3)
33state => string.Join(",", state.AssemblyName, state.DocumentStates.Count); 955capacity: projectState.DocumentStates.Count + generatorInfo?.Documents.Count ?? 0
Workspace\Solution\SolutionCompilationState.RegularCompilationTracker_Generators.cs (5)
141if (infos.Length == oldGeneratedDocuments.Count && 155return oldGeneratedDocuments.Count == 0 287if (oldGeneratedDocuments.Count != generatedTreeCount) 357return oldGeneratedDocuments.Count == 0 418Contract.ThrowIfFalse(additionalTexts.Length == projectState.AdditionalDocumentStates.Count);
Workspace\Solution\SolutionState.cs (1)
808if (documentIds.Count != oldProject.DocumentStates.Count)
Workspace\Solution\TextDocumentStates.cs (1)
87=> Count == 0;