dotnet / dotnet/winforms

Consider providing IDispatch data with trimming/AOT

Open
#9,783 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.