dotnet / dotnet/roslyn

[API Proposal]: `Concat` support for `IncrementalValuesProvider<T>`

Open
#74,585 2 comments 1 reaction 1 assignee Assigned to @chsienki View on GitHub
Area-Compilers Concept-API Feature Request
Dominant language
C#
Stars
20.7k
Forks
4.3k
PR merge metrics
PR metrics pending

Description

### Background and Motivation

When the values are collected from different sources, it's useful to be able to concat all of them so we can generate a single file for both.

### Proposed API

```cs
public static IncrementalValuesProvider Concat(this IncrementalValuesProvider, IncrementalValuesProvider)
```

### Usage Examples
```cs
typeSymbolsFromMetadata.Concat(typeSymbolsFromSource)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.