Your ActionType
type is either declared as internal
or has no accessibility modifier, in which case it's internal
by default.
The solution is to explicitly make it public
or to make any members of public types which expose ActionType
internal.
Further Reading