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