public override TypeSpec ResolveAsType (IMemberContext ec, bool allowUnboundTypeArguments = false)
{
eclass = ExprClass.Type;
var otype = ec.Module.PredefinedTypes.Nullable.Resolve ();
if (otype == null)
return null;
TypeArguments args = new TypeArguments (new TypeExpression (underlying, loc));
GenericTypeExpr ctype = new GenericTypeExpr (otype, args, loc);
type = ctype.ResolveAsType (ec);
return type;
}
}