Closed
Description
In #39269, we had heavy use of #ifdef
statements in the ref
source files. This will make the ref source generator harder to re-run for those assemblies.
Instead, we should use sidecar source files and utilize the partial classes to maintain all of the conditional obsoletions. That file can then be conditionally compiled based on the target framework.