[mini] Use C++ linker iff building C++ that needs the C++ runtime (#12266)
[mono-project.git] / mcs / ilasm / codegen / BaseGenericTypeRef.cs
blob3e0be9a77037da1886d24dfbcacd0cdbd15d751d
1 //
2 // Mono.ILASM.BaseGenericTypeRef
3 //
4 // Author(s):
5 // Ankit Jain <jankit@novell.com>
6 //
7 // Copyright 2006 Novell, Inc (http://www.novell.com)
8 //
10 using System;
11 using System.Collections;
13 namespace Mono.ILASM {
15 public abstract class BaseGenericTypeRef : BaseClassRef {
16 public BaseGenericTypeRef (string full_name, bool is_valuetype, ArrayList conv_list, string sig_mod)
17 : base (full_name, is_valuetype, conv_list, sig_mod)
21 /* Used to resolve any gen params in arguments, constraints etc */
22 public abstract void Resolve (GenericParameters type_gen_params, GenericParameters method_gen_params);
24 /* Only resolves, does not add it to the TypeSpec
25 table */
26 public abstract void ResolveNoTypeSpec (CodeGen code_gen);
28 public override GenericTypeInst GetGenericTypeInst (GenericArguments gen_args)
30 Report.Error ("Invalid attempt to create '" + FullName + "''" + gen_args.ToString () + "'");
31 return null;
34 public override PEAPI.Type ResolveInstance (CodeGen code_gen, GenericArguments gen_args)
36 Report.Error ("Invalid attempt to create '" + FullName + "''" + gen_args.ToString () + "'");
37 return null;