Invalid member '{0}' on provided type '{1}'. Provided type members must be public, and not be generic, virtual, or abstract. ...