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
We need to investigate what it means for trimming. Does the runtime provide an implementation of this? If so, linker needs to make this 100% work, or surface warnings somehow.
The text was updated successfully, but these errors were encountered:
Yes, the runtime provides an implementation of IDispatch and exposes any interfaces marked with [InterfaceTypeAttribute (ComInterfaceType.InterfaceIsIDispatch)]. It also exposes the class type if it is marked with [ClassInterfaceAttribute].
The runtime will also generate an IDispatch interface for any type which is [ComVisible(true)] or that is in an assembly which is [ComVisible(true)] and is not marked [ComVisible(false)]. Members of base classes of ComVisible types can be exposed via IDispatch as well.
IDispatch COM interface is basically reflection.
We need to investigate what it means for trimming. Does the runtime provide an implementation of this? If so, linker needs to make this 100% work, or surface warnings somehow.
The text was updated successfully, but these errors were encountered: