I find it doubtful that dark matter is not fully mixed with the core, and only surrounds it. But anyway, that's that's irrelevant; mass is mass. If you have a mass of dark matter mixed in with normal matter, you cannot distinguish the two. The mass of the core ##M## would not distinguish...