13 references to SelectAsArray
Microsoft.CodeAnalysis (13)
CommandLine\CommonCompiler.cs (3)
931sourceFileAnalyzerConfigOptions = Arguments.SourceFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path)); 1072additionalTextFiles.SelectAsArray(f => analyzerConfigSet.GetOptionsForSourcePath(f.Path)); 1648errors = 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)
4182return locals.SelectAsArray(variable => variable.SlotInfo); 4192return 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