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
Manifestation and description of this issue is here: #81702
Note: I opened two issues so that this is tracked by both areas
We should figure out what to do on the JSON side.
One of the options is to use Activator.CreateInstance somewhere but that seems a bit ugly and we should make sure we won't break trimmability with that.
The text was updated successfully, but these errors were encountered:
Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.
Issue Details
Manifestation and description of this issue is here: #81702
We should figure out what to do on the JSON side.
One of the options is to use Activator.CreateInstance somewhere but that seems a bit ugly and we should make sure we won't break trimmability with that.
and we should make sure we won't break trimmability with that.
The trimmer and AOT compiler can recognize certain Reflection patterns and make sure the types, and their constructors, are preserved correctly. Basically something like:
Manifestation and description of this issue is here: #81702
Note: I opened two issues so that this is tracked by both areas
We should figure out what to do on the JSON side.
One of the options is to use Activator.CreateInstance somewhere but that seems a bit ugly and we should make sure we won't break trimmability with that.
The text was updated successfully, but these errors were encountered: