public int EnumEventsCount(int mdTypeDef) { return EnumCount((int)MetadataTokenType.Event, mdTypeDef); }