The effect of the Obsolete attribute on a class is ignored when there’s an interface involved