public static IFormattedMessage ExpressionTypeMismatch(string type) { return "Expression of type '{type}' expected.".Localize(new { type }); }