I have a private field of type ArmorType. It's an enum. I then make a public property that returns that enum value as a string. But then Visual Studio 2022 tells me that there is a Possible Null Reference Return and I am completely confused as to how that could ever be possible, given that an enum value cannot be null so the returned string could also never be null.
Any explanation as to why? Is Visual Studio just being dumb? Am I missing something fundamental about how C# functions?

If multiple enumeration members have the same underlying value, the GetName method guarantees that it will return the name of one of those enumeration members. However, it does not guarantee that it will always return the name of the same enumeration member. As a result, when multiple enumeration members have the same value, your application code should never depend on the method returning a particular member's name.
in net core 8.