8 references to SelectAsArray
Microsoft.CodeAnalysis.Workspaces (8)
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
134OneOrMany.Create(_many.SelectAsArray(selector, arg));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
167parameters: method.Parameters.SelectAsArray(static (p, arg) =>
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (1)
60property.Parameters.SelectAsArray(static (p, arg) =>
Workspace\Solution\SolutionCompilationState.cs (3)
879var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.DocumentStates.GetRequiredState(s.Id), oldProjectState); 886var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AdditionalDocumentStates.GetRequiredState(s.Id), oldProjectState); 893var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AnalyzerConfigDocumentStates.GetRequiredState(s.Id), oldProjectState);
Workspace\TextExtensions.cs (2)
39return relatedIds.SelectAsArray((id, solution) => solution.GetRequiredDocument(id), solution); 115return relatedIds.SelectAsArray((id, solution) => solution.GetRequiredDocument(id), solution);