Skip to content

Conversation

@h3xds1nz
Copy link
Member

@h3xds1nz h3xds1nz commented Feb 3, 2025

Description

Removes bunch of conditionals that evaluate always either true or false. None of these files compile with PBT (which is the only library that multi-targets), there's no reason for those to hang around in the codebase. And BinaryCompatibility from System.Runtime was removed like 8 releases ago.

Customer Impact

Cleaner codebase, smaller file size.

Regression

No.

Testing

Local build.

Risk

None, those conditionals never be true (or false).

Microsoft Reviewers: Open in CodeFlow

@h3xds1nz h3xds1nz requested review from a team as code owners February 3, 2025 15:58
@dotnet-policy-service dotnet-policy-service bot added PR metadata: Label to tag PRs, to facilitate with triage Community Contribution A label for all community Contributions labels Feb 3, 2025
@h3xds1nz h3xds1nz changed the title Remove unused/incompatible NETFX preprocessor conditionals from base libraries Remove incompatible NETFX preprocessor conditionals from base libraries Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Community Contribution A label for all community Contributions PR metadata: Label to tag PRs, to facilitate with triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant