-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Rename constant NET_NATIVE to netcore50 #16075
Comments
I think I've also seen "NETNATIVE" (without the underscore) in some projects as well. Some of them might have snuck into corefx during porting in the past month |
@weshaggard @venkat-raman251 There are still some instances of |
We should use the guidance at https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/project-guidelines.md#define-naming-convention and clean-up the remaining projects to make them consistent. |
@weshaggard are you working on it? (it's assigned to you) |
I'm not working on this. It is a clean-up item I've not looked through the source recently to see how pervasive it is currently. It is probably worth dividing it into new issues and have the owners of the libraries look into it and decided to violate our guidelines or clean it up. |
I would love to see clear guidance "this is what has to happen". Then, we can justify "up for grabs". |
When we did a large code dump during the porting exercises there was a lot of code that used the define NET_NATIVE (https://github.com/dotnet/corefx/search?utf8=%E2%9C%93&q=NET_NATIVE) instead of fixing that as part of the code dump we filed this tracking issue to clean these defines up to make them match our guidelines https://github.com/dotnet/corefx/blob/master/Documentation/coding-guidelines/project-guidelines.md#define-naming-convention. So this issue is about updating the defines in those source files to match the guidelines. The defines should match the build configuration. Looks like most of the projects still using NET_NATIVE are confined to Serialization and XML so we could get those owners to clean-up the source. |
After offline chat with @weshaggard: If/when anyone wants to pick up the work, please ping us - @weshaggard can provide more details and guidance in such case. |
NET_NATIVE no longer shows up anywhere in corefx. |
This is a tracking issue to rename this constant to follow our naming conventions.
The text was updated successfully, but these errors were encountered: