projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New test.
[mono.git]
/
mcs
/
ilasm
/
codegen
/
GenericMethodRef.cs
diff --git
a/mcs/ilasm/codegen/GenericMethodRef.cs
b/mcs/ilasm/codegen/GenericMethodRef.cs
index 831117c5f5b3c1aaa5d67a78ac359409afdfd972..81255f1433b2dc669f67a05d4db4cf1700357784 100644
(file)
--- a/
mcs/ilasm/codegen/GenericMethodRef.cs
+++ b/
mcs/ilasm/codegen/GenericMethodRef.cs
@@
-12,39
+12,31
@@
using System;
namespace Mono.ILASM {
namespace Mono.ILASM {
- public class GenericMethodRef :
I
MethodRef {
+ public class GenericMethodRef :
Base
MethodRef {
- private
I
MethodRef meth;
+ private
Base
MethodRef meth;
private GenericMethodSig sig;
private GenericMethodSig sig;
- private bool is_resolved;
- public GenericMethodRef (IMethodRef meth, GenericMethodSig sig)
+ public GenericMethodRef (BaseMethodRef meth, GenericMethodSig sig)
+ : base (null, meth.CallConv, null, "", null, 0)
{
this.meth = meth;
this.sig = sig;
is_resolved = false;
}
{
this.meth = meth;
this.sig = sig;
is_resolved = false;
}
- public PEAPI.Method PeapiMethod {
- get { return meth.PeapiMethod; }
- }
-
- public PEAPI.CallConv CallConv {
+ public override PEAPI.CallConv CallConv {
get { return meth.CallConv; }
set { meth.CallConv = value; }
}
get { return meth.CallConv; }
set { meth.CallConv = value; }
}
- public ITypeRef Owner {
- get { return null; }
- }
-
- public void Resolve (CodeGen code_gen)
+ public override void Resolve (CodeGen code_gen)
{
if (is_resolved)
return;
meth.Resolve (code_gen);
{
if (is_resolved)
return;
meth.Resolve (code_gen);
- code_gen.PEFile.AddMethodSpec (meth.PeapiMethod, sig.Resolve (code_gen));
+
peapi_method =
code_gen.PEFile.AddMethodSpec (meth.PeapiMethod, sig.Resolve (code_gen));
is_resolved = true;
}
is_resolved = true;
}