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;
21 public GenericMethodRef (IMethodRef meth, GenericMethodSig sig)
28 public PEAPI.Method PeapiMethod {
29 get { return meth.PeapiMethod; }
32 public PEAPI.CallConv CallConv {
33 get { return meth.CallConv; }
34 set { meth.CallConv = value; }
37 public ITypeRef Owner {
41 public void Resolve (CodeGen code_gen)
46 meth.Resolve (code_gen);
47 code_gen.PEFile.AddMethodSpec (meth.PeapiMethod, sig.Resolve (code_gen));