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
Enum is backed by numeric types (byte, int, long, etc.). Conversion from one numeric type to another is always culture-agnostic because there's no localization that ever has to be performed.
Honestly the implementation should probably be passing null rather than CultureInfo.CurrentCulture as an optimization.
Much of Enum's implementation of IConvertible disregards the supplied IFormatProvider, and instead uses CurrentCulture. Is this intentional? Example:
The text was updated successfully, but these errors were encountered: