13 references to SelectAsArray
Microsoft.CodeAnalysis (13)
CommandLine\CommonCompiler.cs (3)
926sourceFileAnalyzerConfigOptions = Arguments.SourceFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path)); 1067additionalTextFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path)); 1643errors = diagnostics.ToReadOnlyAndFree().SelectAsArray(diag => new DiagnosticInfo(messageProvider, diag.IsWarningAsError, diag.Code, (object[])diag.Arguments));
Compilation\DeterministicKey.cs (1)
65syntaxTrees.SelectAsArray(static t => SyntaxTreeKey.Create(t)),
Emit\EditAndContinue\DeletedSourceDefinition.cs (1)
53return parameters.SelectAsArray(p => new DeletedSourceParameterDefinition(p, _typesUsedByDeletedMembers));
Emit\EditAndContinue\SymbolMatcher.cs (1)
143builder.Add(key, values.SelectAsArray(value => new AnonymousTypeValue(
MetadataReader\MetadataTypeName.cs (1)
350_namespaceSegments = NamespaceSegmentsMemory.SelectAsArray(static s => s.ToString());
MetadataReference\AssemblyMetadata.cs (2)
288newModules = newModules.SelectAsArray(module => module.Copy()); 342var assembly = new PEAssembly(this, modules.SelectAsArray(m => m.Module));
PEWriter\MetadataWriter.cs (2)
4178return locals.SelectAsArray(variable => variable.SlotInfo); 4188return locals.SelectAsArray(variable => variable.SlotInfo);
SourceGeneration\GeneratorDriver.cs (2)
283var reparsedInitSources = ParseAdditionalSources(sourceGenerator, generatorState.PostInitTrees.SelectAsArray(t => new GeneratedSourceText(t.HintName, t.Text)), cancellationToken); 448return generators.SelectAsArray(g => g switch