I've noticed several times that weapons I have equipped, but not using at that moment, will level up when I get a kill or complete an objective. (My secondary will level up when I get a kill with my primary and vice versa).
So do all of my weapons level up at the same rate once I have them equipped for a mission?