Generate closure type annotations from your .NET types