[cs] fix getEnumConstructs

This fixes issue #3389.
But I'm not sure if it is useful after reading through #3338, with cs enums having other mayor problems.