You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, TryParseEnum<T>(this string source) and TryParseEnumIgnoringCase<T>(this string source) use the constraint of struct and then test to see if an enum is supplied.
Update these to use the struct, Enum constraint instead to remove the need for a check.
The text was updated successfully, but these errors were encountered:
Currently,
TryParseEnum<T>(this string source)
andTryParseEnumIgnoringCase<T>(this string source)
use the constraint ofstruct
and then test to see if an enum is supplied.Update these to use the
struct, Enum
constraint instead to remove the need for a check.The text was updated successfully, but these errors were encountered: