fix Issue 11245 - [REG 2.063] Can't access length of static arrays from within classes