Fix Issue 11247 - Error: typeof(i).sizeof is used as a type
Merge pull request #2761 from yebblies/issue11247

Issue 11247 - Error: typeof(i).sizeof is used as a type