5 references to SelectMany
Microsoft.CodeAnalysis (3)
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
99var finalProvider = compilationAndGroupedNodesProvider.SelectMany((tuple, cancellationToken) =>
SourceGeneration\Nodes\ValueSourceExtensions.cs (2)
119public static IncrementalValuesProvider<TSource> Where<TSource>(this IncrementalValuesProvider<TSource> source, Func<TSource, bool> predicate) => source.SelectMany((item, _) => predicate(item) ? ImmutableArray.Create(item) : ImmutableArray<TSource>.Empty); 121internal static IncrementalValuesProvider<TSource> Where<TSource>(this IncrementalValuesProvider<TSource> source, Func<TSource, CancellationToken, bool> predicate) => source.SelectMany((item, c) => predicate(item, c) ? ImmutableArray.Create(item) : ImmutableArray<TSource>.Empty);
Microsoft.Extensions.Logging.Generators (1)
src\libraries\Common\src\Roslyn\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
121var finalProvider = compilationAndGroupedNodesProvider.SelectMany((tuple, cancellationToken) =>
Microsoft.Interop.SourceGeneration (1)
DiagnosticOr.cs (1)
100var diagnostics = provider.Where(x => x.HasDiagnostic).SelectMany(static (x, ct) => x.Diagnostics);