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