-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[release/8.0] [mono] Initialize module's image ALC for dynamic objects #90912
Conversation
Tagging subscribers to 'os-ios': @steveisok, @akoeplinger, @kotlarmilos Issue DetailsBackport of #90731 to release/8.0 /cc @kotlarmilos Customer ImpactTestingRiskIMPORTANT: If this backport is for a servicing release, please verify that:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved. we can merge when ready for RC2
The failures are: I don't have permissions to merge this PR. |
@kotlarmilos I can merge it for you. |
##Description
Backport of #90731 to release/8.0
This PR initializes module's image ALC for dynamic objects created during the runtime. Dynamic assemblies have two images - one for the assembly, and one for the image. The assembly image had an ALC set, but the module image didn't have the ALC set. If a custom attribute depends on a type defined outside of the dynamic assembly, the dynamic assembly should have an ALC to resolve the type.
Customer Impact
The issue was discovered by a customer.
Testing
A runtime test has been added. Manual testing and automated testing on the CI were performed, ensuring that the tests are passing. The issue has been reproduced locally, and has been fixed.
Risk
Low risk. This change initializes an image property and adds a runtime test.
The change doesn't affect code that ships in a NuGet package.