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 : IMethodRef {
17 private IMethodRef meth;
18 private GenericMethodSig sig;
19 private bool is_resolved;
20 private PEAPI.Method ms;
22 public GenericMethodRef (IMethodRef meth, GenericMethodSig sig)
30 public PEAPI.Method PeapiMethod {
34 public PEAPI.CallConv CallConv {
35 get { return meth.CallConv; }
36 set { meth.CallConv = value; }
39 public ITypeRef Owner {
43 public void Resolve (CodeGen code_gen)
48 meth.Resolve (code_gen);
49 ms = code_gen.PEFile.AddMethodSpec (meth.PeapiMethod, sig.Resolve (code_gen));