-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
NativeAOT doesn't produce IL2109 - RUC on base type #81158
Labels
Comments
Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas Issue DetailsAlong with fixing this should come porting of the linker tests for this to NativeAOT
|
6 tasks
ghost
added
the
in-pr
There is an active PR which will close this issue when it is merged
label
Mar 14, 2023
vitek-karas
added a commit
that referenced
this issue
Mar 16, 2023
Implements most of the missing pieces to get Requires on class working correctly in NativeAOT. Major changes: * Detect Requires mismatch between derived and base class * Warn on field access if the owning class has Requires * Changes to reflection marking to warn on more cases (instance methods on Requires classes for example) Supportive changes: * The helpers to detect Requires attributes now return the found attribute view out parameter Fixes #81158 Still two missing pieces - tracked by #82447: * Requires on attributes - NativeAOT doesn't handle this at all yet, part of it is Requires on the attribute class * Avoid warning when DAM marking an override method which has Requires (or its class has) - this avoids lot of noise, NativeAOT currently generates these warnings in full
ghost
removed
in-pr
There is an active PR which will close this issue when it is merged
untriaged
New issue has not been triaged by the area owner
labels
Mar 16, 2023
ghost
locked as resolved and limited conversation to collaborators
Apr 15, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Along with fixing this should come porting of the linker tests for this to NativeAOT
The text was updated successfully, but these errors were encountered: