16 using System.Runtime.CompilerServices;
18 using Newtonsoft.Json;
19 using Newtonsoft.Json.Linq;
26 public static partial class Messages
33 [MethodImpl(MethodImplOptions.AggressiveInlining)]
34 public static string InvalidEmailAddress(
string email)
36 return $
"Invalid email address: {email}";
45 public static string WriteNotImplemented =
"Not implemented, should not be called";
47 [MethodImpl(MethodImplOptions.AggressiveInlining)]
48 public static string UnexpectedJsonObject(JObject jObject)
50 return $
"Unexpected json object: '{jObject.ToString(Formatting.None)}'";