public static IFormattedMessage MethodsAreInaccessible(string type) { return "Methods on type '{type}' are not accessible.".Localize(new { type }); }