private static string BasicConvert(string pattern, ConvertOptions options) { if (pattern == null) { throw new ArgumentNullException(nameof(pattern)); } using (var context = new ConvertContext()) { return(context.Convert(pattern, ImplicitOptions | options)); } }