// 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); }
// Aggregate public AggregateType CreateAggregateType( Name name, AggregateSymbol parent, TypeArray typeArgsThis, AggregateType outerType) { AggregateType type = new AggregateType(); type.outerType = outerType; type.SetOwningAggregate(parent); type.SetTypeArgsThis(typeArgsThis); type.SetName(name); type.SetTypeKind(TypeKind.TK_AggregateType); return type; }