CSharpFormatter: fixed Enum event type error