public IGeneric Close(params ITypeInfo[] genericArgs) { if (UnderlyingSymbol.ContainingType is not null) { throw new NotSupportedException(); // TODO: implementalni ha hasznalni kell majd } return((IGeneric)CreateFrom ( UnderlyingSymbol.Construct ( genericArgs.Select(ga => ga.ToSymbol(Compilation)).ToArray() ), Compilation )); }
public IGenericTypeInfo Close(params ITypeInfo[] genericArgs) { if (UnderlyingSymbol.ContainingType is not null) { throw new NotSupportedException(); // TODO: implementalni ha hasznalni kell majd } ITypeSymbol[] gas = new ITypeSymbol[genericArgs.Length]; for (int i = 0; i < genericArgs.Length; i++) { gas[i] = genericArgs[i].ToSymbol(Compilation); } return((IGenericTypeInfo)CreateFrom ( UnderlyingSymbol.Construct(gas), Compilation )); }