public static IFormattedMessage IncompatibleOperands(string @operator, string type1, string type2) { return "Operator '{operator}' incompatible with operand types '{type1}' and '{type2}'.".Localize(new { @operator, type1, type2 }); }