fix Issue 12543 - Class.sizeof requires the Class' definition
Merge pull request #3437 from 9rnsr/fix12543

Issue 12543 - Class.sizeof requires the Class' definition