public override FullNamedExpression LookupNamespaceOrType(string name, int arity, Location loc, bool ignore_cs0104) { if (arity == 0) { TypeParameter[] tp = CurrentTypeParameters; if (tp != null) { TypeParameter t = TypeParameter.FindTypeParameter (tp, name); if (t != null) return new TypeParameterExpr (t, loc); } } return base.LookupNamespaceOrType (name, arity, loc, ignore_cs0104); }