You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No warning for [LibraryImport] returning a [GeneratedComInterface] with CCW options #92222
It seems like there's no warning from the COM generator when declaring a P/Invoke returning a COM object through an interface that's using ComInterfaceOptions.ManagedObjectWrapper, despite the fact the marshalling will never possibly work.
Activity
dotnet-policy-service commentedon Apr 13, 2026
Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.
Diagnose LibraryImport/[GeneratedComInterface] with restricted CCW/RC…