public static IFormattedMessage MethodIsVoid(string method, string type) { return "Method '{method}' in type '{type}' does not return a value.".Localize(new { method, type }); }