Use separate flags for partial methods and type definitions.
Add IsPartial property to ITypeDefinition.