Suspicious logic in TypeSymbolExtensions.IsValidEnumType
#72317
Labels
Area-Compilers
Concept-API
This issue involves adding, removing, clarification, or modification of an API.
untriaged
Issues and PRs which have not yet been triaged by a lead
The
underlyingType.SpecialType != SpecialType.None
logic looks questionable, in fact we have aSpecialType
extension calledIsValidEnumUnderlyingType
, which we probably should use instead.The text was updated successfully, but these errors were encountered: