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

[mono] Fix support for generic custom attributes. #78091

Merged
merged 2 commits into from
Nov 17, 2022

Conversation

vargaz
Copy link
Contributor

@vargaz vargaz commented Nov 9, 2022

Fixes #77047.

@MichalStrehovsky
Copy link
Member

Do we need a regression test? It would contribute to #73735.

@vargaz
Copy link
Contributor Author

vargaz commented Nov 10, 2022

The test seems to fail on nativeaot.

@MichalStrehovsky
Copy link
Member

The test seems to fail on nativeaot.

Not completely surprised. This used to be a compiler crash until very late in RC1 when System.Reflection.Metadata finally fixed a bug around this leaving no runway in 7.0 to look at this. I added an ActiveIssue.

@am11
Copy link
Member

am11 commented Nov 12, 2022

Can we delete

<ExcludeList Include = "$(XunitTestBinBase)/reflection/GenericAttribute/**">
as part of this PR?

@vargaz vargaz requested a review from marek-safar as a code owner November 13, 2022 19:07
@vargaz vargaz force-pushed the generic-cattr branch 2 times, most recently from 134b49a to ddfc910 Compare November 13, 2022 19:08
@vargaz
Copy link
Contributor Author

vargaz commented Nov 13, 2022

Removed the added test and reenabled the existing ones.

@vargaz
Copy link
Contributor Author

vargaz commented Nov 14, 2022

Failure is
#78290

@am11
Copy link
Member

am11 commented Nov 15, 2022

.targets change got lost after the rebase.

@vargaz vargaz force-pushed the generic-cattr branch 2 times, most recently from a0cd7e1 to 12eff9a Compare November 15, 2022 16:09
Copy link
Member

@am11 am11 left a comment

Choose a reason for hiding this comment

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

Thanks. It also fixes #56887. 👍

@lewing
Copy link
Member

lewing commented Nov 22, 2022

should we backport this?

@vargaz
Copy link
Contributor Author

vargaz commented Nov 22, 2022

Its low risk.

@marek-safar
Copy link
Contributor

If it's low risk then we should.

@vargaz
Copy link
Contributor Author

vargaz commented Nov 24, 2022

It did seems to cause a small number of perf regressions:
#78821

@ghost ghost locked as resolved and limited conversation to collaborators Dec 24, 2022
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.

Blazor: Generic attributes do not work in Mono
5 participants