An association fallacy is a logical fallacy that occurs when someone says that a quality of one thing must apply to another just because they both share a similar quality or belief. It can be used in a positive or negative way.
It follows the general outline, A is a B, A is also a C, therefore, all Bs are Cs.
An example of an association fallacy being used in positive way (called pro hominem, or honour by association) is as follows:[1]
An example of an association fallacy being used in a negative way (called guilt by association) is as follows:[2]