Doing this causes an IndexOutOfRangeException in OptionsMainPanel.AddUserMods. I literally just have an empty class like in the OP, and enabling it in the mod menu causes an error popup.
I even tried removing that class, so I just have an empty dll build, and it still gives me the same error!
Edit: Nevermind, it was a linking error.