fix Issue 10528 - Private constant (enum) properties not private
Merge pull request #4104 from 9rnsr/fix10528

Issue 10528 - Private constant (enum) properties not private