Skip to content

For .NET 5 Obsoletions - use partial ref source classes instead of ifdefs #39687

Closed
@jeffhandley

Description

@jeffhandley

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions