private object DoGetType(CsEvent type) { return type.Type; }
private bool DoHasEvent(CsEvent[] members, string name) { foreach (var member in members) { if (member.Name == name) return true; } return false; }