[Core] AsReadOnly<T>
conflicts with System.Collections.Generic.CollectionExtensions
#2225
Labels
kind/enhancement
New feature or request.
triage/untriaged
Indicates an issue requires triaging or verification.
What would you like to be added:
Note this extension does not come from Uno Extensions, but from Uno.Core package
When Uno Extensions are included in an app, the Uno.Core
AsReadOnly
extension will conflict with the .NET built-in one, as Uno Extensions adds global using forUno.Extensions
namespace, so both are included by default when the user uses Uno Extensions, soAsReadOnly
is essentially unusable as an extension method.I think it may be just better to keep this one internal only or remove it altogether.
Why is this needed:
Usability
For which Platform:
All
The text was updated successfully, but these errors were encountered: