// Aggregate
public AggregateType CreateAggregateType(
AggregateSymbol parent,
TypeArray typeArgsThis,
AggregateType outerType)
{
AggregateType type = new AggregateType();
type.outerType = outerType;
type.SetOwningAggregate(parent);
type.SetTypeArgsThis(typeArgsThis);
type.SetTypeKind(TypeKind.TK_AggregateType);
return(type);
}