Fixed 'Bug 12244 - Generate constructor fails for generic property.'