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)
901var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.DocumentStates.GetRequiredState(s.Id), oldProjectState); 908var oldDocumentStates = newDocumentStates.SelectAsArray(static (s, oldProjectState) => oldProjectState.AdditionalDocumentStates.GetRequiredState(s.Id), oldProjectState); 915var 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);