Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace NETCOREAPP compiler directive with NET #101693

Merged
merged 4 commits into from
May 1, 2024
Merged

Conversation

ViktorHofer
Copy link
Member

@ViktorHofer ViktorHofer commented Apr 29, 2024

Follow-up on 2616119

Consistently use the NET preprocessor directive
instead of a mix of both NETCOREAPP and NET.

@jkotas this is a straight search&replace of NETCOREAPP->NET and !NETCOREAPP->!NET. Do we want to take this change? The benefit is just consistency without any kind of enforcement so I'm fine with taking or closing this change.

Consistently use the `NET` preprocessor directive
instead of a mix of both `NETCOREAPP` and `NET`.
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-meta
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM based on cursory review. I would be great if you can search for and fix outliers like the ones @sbomer pointed out.

@sbomer
Copy link
Member

sbomer commented Apr 30, 2024

You may need to update

and

@ViktorHofer ViktorHofer merged commit 6cb4820 into main May 1, 2024
158 of 163 checks passed
@ViktorHofer ViktorHofer deleted the NETCOREAPPDefine branch May 1, 2024 06:07
michaelgsharp pushed a commit to michaelgsharp/runtime that referenced this pull request May 9, 2024
* Replace NETCOREAPP compiler directive with NET

Consistently use the `NET` preprocessor directive
instead of a mix of both `NETCOREAPP` and `NET`.

* Remaining NETCOREAPP usages

* Update TestCaseCompilationMetadataProvider.cs

* Update TestCaseCompilationMetadataProvider.cs
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
* Replace NETCOREAPP compiler directive with NET

Consistently use the `NET` preprocessor directive
instead of a mix of both `NETCOREAPP` and `NET`.

* Remaining NETCOREAPP usages

* Update TestCaseCompilationMetadataProvider.cs

* Update TestCaseCompilationMetadataProvider.cs
@github-actions github-actions bot locked and limited conversation to collaborators May 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants