Hi,
Would you agree that the EMC performance of the two Bucks shown will be the same.
(A) and (B) are the same apart from the bits ringed in circle/oval.
However, (A) will have slightly better mains transient immunity than (B)...(due to the input filter inductor having a capacitor either side of it.)
Would you agree?
LTspice and jpeg attached.