Skip to content

Using supported syntax for restoring warnings #9107

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

Merged
merged 1 commit into from
Mar 11, 2019

Conversation

powercode
Copy link
Collaborator

@powercode powercode commented Mar 10, 2019

For some reason, a syntax for enabling warnings that isn't documented was used. Build errors with vs2019.

Restore is the documented way.

https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-pragma-warning

PR Summary

PR Context

PR Checklist

…t enable.

Also removing the disabling
Restore is the documented way.
@iSazonov iSazonov added the CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log label Mar 11, 2019
@iSazonov iSazonov self-assigned this Mar 11, 2019
@iSazonov iSazonov merged commit 6c049d0 into PowerShell:master Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CL-CodeCleanup Indicates that a PR should be marked as a Code Cleanup change in the Change Log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants