53
53
Namespace = outerType.DecoratedFullName;
54
54
Location = outerType.Location;
55
55
DeclaringType = outerType;
59
57
if (tp.Constraints.Count > 0)
60
58
ClassType = ClassType.Interface;
61
59
foreach (IReturnType rt in tp.Constraints) {
62
60
if (FindCyclicReference (new HashSet<ITypeParameter> () { tp }, outerType, ((DomReturnType)rt).DecoratedFullName))
62
IType bt = dom.SearchType (compilationUnit, outerType, outerType.Location, rt);
65
64
IReturnType resolvedType = rt;
67
66
resolvedType = new DomReturnType (bt);