5 references to SelectAsArray
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SymbolFinder_FindReferences_Current.cs (1)
51
var documentIds = documents?.
SelectAsArray
(d => d.Id) ?? default;
src\Compilers\Core\Portable\InternalUtilities\OneOrMany.cs (1)
127
OneOrMany.Create(_many.
SelectAsArray
(selector));
Workspace\ProjectSystem\FileWatchedPortableExecutableReferenceFactory.cs (1)
112
return referenceDirectories.
SelectAsArray
(static d => new WatchedDirectory(d, ".dll"));
Workspace\Solution\SolutionCompilationState.cs (1)
1646
missingDocumentStates.
SelectAsArray
(kvp => (kvp.Key, kvp.Value.ToImmutableAndFree())),
Workspace\Workspace.cs (1)
387
var relatedDocumentIdsAndStatesArray = relatedDocumentIdsAndStates.
SelectAsArray
(static kvp => (kvp.Key, kvp.Value));