Respond to comments
This commit is contained in:
Родитель
5df239e4be
Коммит
4581934ab6
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче