fix Issue 12207 - IFTI fails for static method of immutable type
Merge pull request #3291 from 9rnsr/fix12207

Issue 12207 - IFTI fails for static method of immutable type