protected virtual bool DefineNestedTypes () { if (Types != null) { foreach (TypeContainer tc in Types) tc.DefineType (); } return true; }