private static bool IsPublicEvent(IEntity tag) { return (EntityType.Event == tag.EntityType) && ((IMember)tag).IsPublic; }