/**
 * @name Test for typeof expressions
 */
import csharp

from Method m, TypeofExpr e
where m.hasName("PrintTypes")
  and e.getEnclosingCallable() = m
  and e.getTypeAccess().getTarget().hasName("Y<,>")
select m, e.getType().toString()

