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

Rename uif to UIF to resolve CS8981 #8157

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

AristurtleDev
Copy link
Contributor

Description

Microsoft.Xna.Framework.Graphics.PackedVector.HalfTypeHelper.uif produces warning CS8981

The type name 'uif' only contains lower-cased ascii characters. Such names may become reserved for the language.CS8981

This PR renames it from uif to UIF.

I only see references to it within the HalfTypeHelper class where it's nested so changing the name to resolve this shouldn't cause any breaking changes I'm aware of. If the name change is a problem #pramga's can be added to tell the warning to be ignored instead of changing the name.

Related Issues

Related to documentation repo issue MonoGame/docs.monogame.github.io#10

This renames the `uif` struct to `UIF` to resolve the CS8981 warning on build.
@mrhelmut mrhelmut merged commit 5215ccf into MonoGame:develop Feb 5, 2024
4 checks passed
@AristurtleDev AristurtleDev deleted the build-warning/cs8981-uif branch February 5, 2024 16:44
viniciusjarina pushed a commit to codefoco/MonoGame that referenced this pull request Feb 22, 2024
This renames the `uif` struct to `UIF` to resolve the CS8981 warning on build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants