* TypeDef.cs: Fix silly null reference bug.