If you have 50/50 Xg alloy dissolving it is the same as dissolving 0.5Xg of one metal and 0.5Xg of the second.
And, yes, alloys dissolves as individual metals. As with every generalized statement in chemistry this one can be probably falsified too, but I can't remember any counter example right now, so chances that you will meet such a case are probably minimal.