-
Notifications
You must be signed in to change notification settings - Fork 83
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
Clean up suppression of CS0109 and CS0114 #248
Comments
@Balkoth pretty sure these are here for Uno, they're only needed when compiling on certain Uno platforms but not for Windows. Don't remember the old issue/discussion we had on this somewhere here or in our tooling repo. Probably similar for #250 that you filed too? FYI @Arlodotexe who may remember more. |
I guessed that too after i filed the issues and created the pull requests. Imho the methods definitions should be ifdefd for the correct platforms, then there would be no need to suppress the warnings. If someone guides me on how to build for all the supported platforms (on my windows machine) i will gladly help out. |
Noting CS0114 is used in some places with the same message "Member does not hide an inherited member. The new keyword is not required": Relevant docs:
Git history suggests these were added to resolve a CI issue during the port from the old repo (see #83 @ 8960c7a). The logs for this CI run have since expired, but we can check if/why it may be needed by just removing it and seeing if any issues show in the CI. |
Here's the full error message, pulled from the latest CI run:
It looks like it's only an issue under ios and mac targets. I'd like to wait for #281 to close first, in case the situation has changed in the latest version of Uno. |
Looks like there's no change under the latest version of Uno 5. We'll keep things as-is for now. I've filed an issue with Uno to hopefully get it a fix that doesn't include warning suppression. |
Closing as no one seems to care about this. |
Describe the bug
There are four locations in the codebase where CS0109 is suppressed. I can not find a reason why the suppressions are not just simply cleaned up.
Steps to reproduce
Expected behavior
No suppression of CS0109.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
17.7.4
Device form factor
Desktop
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: