Skip to content

Fix CA2256 in COM generator when using 'ManagedObjectWrapper' #114642

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

Merged
merged 2 commits into from
Apr 15, 2025

Conversation

Sergio0694
Copy link
Contributor

Closes #90922

This PR updates the COM generator to not produce a warning when using ManagedObjectWrapper.

@Sergio0694 Sergio0694 requested review from Copilot and jkoritzinsky and removed request for Copilot April 14, 2025 17:54
@ghost ghost added the area-Interop-coreclr label Apr 14, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@Sergio0694 Sergio0694 added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature and removed area-Interop-coreclr labels Apr 14, 2025
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Apr 14, 2025
@jkoritzinsky jkoritzinsky merged commit 0bf77b2 into dotnet:main Apr 15, 2025
90 of 95 checks passed
@Sergio0694 Sergio0694 deleted the user/sergiopedri/fix-90922 branch April 15, 2025 22:55
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.InteropServices community-contribution Indicates that the PR has been added by a community member source-generator Indicates an issue with a source generator feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GeneratedComInterface] in CCW-only mode produces CA2256 warning
4 participants