Open
Description
The change in #88452 added internal/private member support for JsonIncludeAttribute
/JsonConstructorAttribute
in the reflection-based serializer. We should consider extending this to the source generator via the recent feature introduced in #81741. Note that this would only work for the latest TFMs (with some reflection-based fallback being necessary in older targets).
cc @jkotas