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

Add analyzer support to validate the stateless marshaller shapes #72643

Merged
merged 9 commits into from
Jul 26, 2022

Conversation

jkoritzinsky
Copy link
Member

Support for validating the stateful shapes and for providing the code-fix to add the missing members is left for a future PR to try to keep the size on this one down at least a little bit.

Fixes #72622 (comment) (verified by turning on AD0001 diagnostic locally and making sure that none of the libraries build emits it)

Support for validating the stateful shapes and for providing the code-fix to add the missing members is left for a future PR to try to keep the size on this one down at least a little bit.
@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Jul 21, 2022
@jkoritzinsky jkoritzinsky added this to the 7.0.0 milestone Jul 21, 2022
@ghost ghost assigned jkoritzinsky Jul 21, 2022
@ghost
Copy link

ghost commented Jul 21, 2022

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Support for validating the stateful shapes and for providing the code-fix to add the missing members is left for a future PR to try to keep the size on this one down at least a little bit.

Fixes #72622 (comment) (verified by turning on AD0001 diagnostic locally and making sure that none of the libraries build emits it)

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 7.0.0

@jkoritzinsky jkoritzinsky force-pushed the shape-method-analyzer branch from f53fd48 to a031bd4 Compare July 21, 2022 22:41
@jkoritzinsky jkoritzinsky merged commit f4cb6ac into dotnet:main Jul 26, 2022
@jkoritzinsky jkoritzinsky deleted the shape-method-analyzer branch July 26, 2022 17:16
@ghost ghost locked as resolved and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MarshallingAttributeAnalyzers throws InvalidOperationException
3 participants