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