This commit is contained in:
KathleenDollard 2024-05-06 14:00:15 -04:00
Родитель 5df239e4be
Коммит 4581934ab6
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -11,8 +11,6 @@
### Discussion
https://github.com/dotnet/csharplang/issues/8034
This was a continuation of Monday's conversation on the conversion rules for collection expressions.
These rules were tightened at LDM-2024-01-10 to require target types that implement `IEnumerable`, and that do not have create method, to have an accessible `Add` instance or extension method that can be invoked with value of iteration type as the argument. That is a breaking change for collection types where the `Add` method has a parameter type that is implicitly convertible but not identical to the iteration type.