/** * @name Test for events */ import csharp from Event e where e.getName() = "MouseUp" and e.getDeclaringType().hasQualifiedName("Events.Control") and not e.isFieldLike() select e, e.getType()