The compound CoSn has been studied by Mössbauer spectroscopy using the isotopes 57Fe and 119Sn. A considerable resemblance was found between the isomer shift and the electric quadrupole splittings for the transition metal atoms and the tin atmos, and those in the isostructural compounds FeSn and FeGe. A decrease in the 57Fe isomer shifts in the sequence FeSn, CoSn, FeGe can be related to an increase of the conduction electron density.