Consider providing IDispatch data with trimming/AOT
Open
area-COM
area-ILLinker/AOT
area-Trimming
- Dominant language
- C#
- Stars
- 4.9k
- Forks
- 1.1k
- Avg merge
- 1d 13m
- Merged PRs (30d)
- 85
Description
For our `StandardDispatch` (which replaces `IReflect`) we're providing members via reflection (see `ClassPropertyDispatchAdapter`). If this becomes a problem with trimming/AOT, we could manually compose the known members and add any diffs in the user types. For example, `ExtenderProxy` provides its own properties and those of the `Control` it is proxying. We know the ones we define and could write manual adapters for them (or perhaps a source generator to do so).
Contributor guide
Assessment
This issue has not been assessed yet.