Merge pull request #2679 from 9rnsr/fix11245

[REG2.063] Issue 11245 - Can't access length of static arrays from within classes