-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Standardize on NET pre-proc symbol #74859
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
Conversation
A good chunk of our code uses `#if NETCOREAPP` instead of `#if NET` for historical reasons. Did a quick replace so we can standardize on the more idiomatic approach
|
@dotnet/roslyn-compiler PTAL |
|
Not sure how i feel about code becoming more consistent... |
|
|
||
| Shared Sub VerifyArgumentExceptionDiagnostic(diagnostic As Diagnostic, generatorName As String, message As String, parameterName As String, Optional initialization As Boolean = False) | ||
| #If NETCOREAPP Then | ||
| #if NET Then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ToddGrun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
![]()
A good chunk of our code uses
#if NETCOREAPPinstead of#if NETfor historical reasons. Did a quick replace so we can standardize on the more idiomatic approach