-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use manual
foreach
instead of AddRange
method for certain collect…
…ion expression spreads (#74630) * Use manual `foreach` instead of `AddRange` method when collection type of spreading element doesn't implement `ICollection<T>`, but has a `struct` enumerator
- Loading branch information
1 parent
74270d4
commit e1496f4
Showing
2 changed files
with
578 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.