Uh oh!
There was an error while loading. Please reload this page.
Provide support for exposing .NET classes to COM through source generation - #83755
Conversation
ghost
commented
Mar 21, 2023
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsImplement the API defined in #83471 in Ancillary.Interop.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…rmation type instead of the user type. This allows the generator to be more incremental as the class-info type now doesn't need the class name (so a class rename will not result in regenerating the syntax for this step).
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| names.Add(iface.ToDisplayString()); | ||
| } | ||
| } | ||
| return new ComClassInfo( |
There was a problem hiding this comment.
Do we want to warn / bail if there are no interfaces with GeneratedComInterface?
There was a problem hiding this comment.
I think that's still a valid scenario, but I could see us adding a warning for it. I'll file a follow-up issue for that.
| { | ||
| } | ||
| public unsafe class GeneratedComClassTests |
There was a problem hiding this comment.
Is the plan to add some of the more complex cases (at least the ones in the ComObjectRedux repo) in a follow-up change?
There was a problem hiding this comment.
Yes, I'll add those in in a follow-up change.
jkoritzinsky
commented
Mar 28, 2023
Uncategorized failures were #84010 |
Implement the API defined in #83471 in Ancillary.Interop and add a source generator in ComInterfaceGenerator to provide the expected behavior.