/// <summary> /// ArgumentException with message like "Invalid type of argument {0}; expecting {1}." /// </summary> internal static Exception InvalidArgumentType(object p0, object p1) { return(new ArgumentException(Strings.InvalidArgumentType(p0, p1))); }