Skip to content

Update ReferenceEqualityComparer.cs #24728

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

Merged
merged 1 commit into from
Aug 10, 2020
Merged

Conversation

davidfowl
Copy link
Member

We don't support running on mono 4.x anymore

We don't support running on mono 4.x anymore
@ghost ghost added the area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates label Aug 10, 2020
@@ -9,8 +9,6 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
internal class ReferenceEqualityComparer : IEqualityComparer<object>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you'd like to go the extra mile, there's a https://github.com/dotnet/runtime/blob/master/src/libraries/Common/src/System/Collections/Generic/ReferenceEqualityComparer.cs#L30 in the runtime now that should be drop-in replacement.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I made this change in the browser 🤣

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks worthwhile though

@pranavkm pranavkm added this to the 5.0.0-rc1 milestone Aug 10, 2020
@davidfowl davidfowl merged commit 24f35bc into master Aug 10, 2020
@davidfowl davidfowl deleted the davidfowl/remove-ismono branch August 10, 2020 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants