Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Make mutable generic collection interfaces implement read-only collection interfaces (#95830)" #101644

Merged
merged 3 commits into from
Apr 27, 2024

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Apr 27, 2024

This change introduces ambiguous call error for calls of IList.Count in C++/CLI.

dotnet/wpf#9055 (comment)

@jkotas jkotas requested a review from stephentoub April 27, 2024 14:27
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-collections
See info in area-owners.md if you want to be subscribed.

@jkotas
Copy link
Member Author

jkotas commented Apr 27, 2024

/backport to release/9.0-preview4

Copy link
Contributor

Started backporting to release/9.0-preview4: https://github.com/dotnet/runtime/actions/runs/8860536300

@jkotas jkotas merged commit b8fe1d0 into dotnet:main Apr 27, 2024
144 of 149 checks passed
@jkotas jkotas deleted the revert-rocollections branch April 27, 2024 22:04
@TonyValenti
Copy link

I hope this gets merged back in. I was really excited to see this commit land.

@KennethHoff
Copy link

KennethHoff commented Apr 29, 2024

This is very sad to see. This was one of the most exciting change due in .Net 9 for me 😭

matouskozak pushed a commit to matouskozak/runtime that referenced this pull request Apr 30, 2024
…y collection interfaces (dotnet#95830)" (dotnet#101644)

* Revert "Update ICollection<T> usage to IReadOnlyCollection<T> where applicable (dotnet#101469)"

This reverts commit e92b7d0.

* Revert "Make mutable generic collection interfaces implement read-only collection interfaces (dotnet#95830)"

This reverts commit a2bd583.

* Update src/coreclr/System.Private.CoreLib/src/System/Array.CoreCLR.cs
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
…y collection interfaces (dotnet#95830)" (dotnet#101644)

* Revert "Update ICollection<T> usage to IReadOnlyCollection<T> where applicable (dotnet#101469)"

This reverts commit e92b7d0.

* Revert "Make mutable generic collection interfaces implement read-only collection interfaces (dotnet#95830)"

This reverts commit a2bd583.

* Update src/coreclr/System.Private.CoreLib/src/System/Array.CoreCLR.cs
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
…y collection interfaces (dotnet#95830)" (dotnet#101644)

* Revert "Update ICollection<T> usage to IReadOnlyCollection<T> where applicable (dotnet#101469)"

This reverts commit e92b7d0.

* Revert "Make mutable generic collection interfaces implement read-only collection interfaces (dotnet#95830)"

This reverts commit a2bd583.

* Update src/coreclr/System.Private.CoreLib/src/System/Array.CoreCLR.cs
@github-actions github-actions bot locked and limited conversation to collaborators May 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants