-
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
Check for generic structs in "needs marshalling" check #90836
Check for generic structs in "needs marshalling" check #90836
Conversation
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Can we add a negative test that throws InvalidProgramException with a generic class type?
I don't think we can, the analyzer will create an error for classes and structs with NonBlittable generic parameters. |
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Aaron Robinson <[email protected]>
…huster/runtime into CheckGenericStructBlittable
Co-authored-by: Jeremy Koritzinsky <[email protected]>
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
Fixes #90828.