static MvexConvFn ToMvexConvFn(string value) { if (!ToEnumConverter.TryMvexConvFn(value, out var mvexConvFn)) { throw new InvalidOperationException($"Invalid MvexConvFn value: '{value}'"); } return(mvexConvFn); }