public static bool IsGeneratedCode(this IReference r) { return(r.HasGeneratedCodeAttributes() || r.HasWeirdName()); }