-
Notifications
You must be signed in to change notification settings - Fork 789
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
Nullness :: Bugfix :: Codegen missing metadata for C# consumers (records,DUs,exceptions) #18079
base: main
Are you sure you want to change the base?
Nullness :: Bugfix :: Codegen missing metadata for C# consumers (records,DUs,exceptions) #18079
Conversation
❗ Release notes requiredCaution No release notes found for the changed paths (see table below). Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format. The following format is recommended for this repository:
If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request. You can open this PR in browser to add release notes: open in github.dev
|
…the fix for attribute codegen for DUs
...s/EmittedIL/CCtorDUWithMember/CCtorDUWithMember01a.fs.RealInternalSignatureOff.il.net472.bsl
Show resolved
Hide resolved
…-record-members-are-not-visible-from-c
Fixes #18007
Fixes #18076
Fixes #18077
Fixes #18078
This address holes in metadata generation for C# consumers of nullness information.
Affected areas are:
I spotted a pre-existing nasty bug which caused method attributes overwrite each other, and compilergenerated and debuggersteptrough attributes were until now therefore missing for selected generated methods in subclasses of DUs.
IMPORTANT tip for reviewing:
The attribute codegen fix also meant changing a lot of baselines, even though the only materialchange is addition of the two attributes.
All the baselines which are not about nullness have been updated in a separate commit, so that you can focus on the rest.