diff --git a/MimeKit/Utils/ParseUtils.cs b/MimeKit/Utils/ParseUtils.cs index f5c7f98e83..f7f76b8412 100644 --- a/MimeKit/Utils/ParseUtils.cs +++ b/MimeKit/Utils/ParseUtils.cs @@ -390,7 +390,7 @@ public static bool TryParseDomain (byte[] text, ref int index, int endIndex, Rea return TryParseDotAtom (text, ref index, endIndex, sentinels, throwOnError, "domain", out domain); } - static ReadOnlySpan GreaterThanOrAt => new[] { (byte) '>', (byte) '@' }; + static ReadOnlySpan GreaterThanOrAt => ">@"u8; public static bool TryParseMsgId (byte[] text, ref int index, int endIndex, bool requireAngleAddr, bool throwOnError, out string msgid) {