2 // Mono.ILASM.GenericMethodRef
5 // Jackson Harper (jackson@ximian.com)
7 // (C) 2003 Ximian, Inc (http://www.ximian.com)
13 namespace Mono.ILASM {
15 public class GenericMethodRef : BaseMethodRef {
17 private BaseMethodRef meth;
18 private GenericMethodSig sig;
20 public GenericMethodRef (BaseMethodRef meth, GenericMethodSig sig)
21 : base (null, meth.CallConv, null, "", null, 0)
28 public override PEAPI.CallConv CallConv {
29 get { return meth.CallConv; }
30 set { meth.CallConv = value; }
33 public override void Resolve (CodeGen code_gen)
38 meth.Resolve (code_gen);
39 peapi_method = code_gen.PEFile.AddMethodSpec (meth.PeapiMethod, sig.Resolve (code_gen));