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