Fixed issue with mask enums in C# wrapper

2 jobs for master
in 0 seconds and was queued for 0 seconds