2010-05-10 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / ilasm / codegen / CustomAttr.cs
index 61eeed926685fe603b75314cf5c79c135dd1d592..964a2ff6b630a51f6e9d2a7ec0f04f7758d3377f 100644 (file)
@@ -19,10 +19,10 @@ namespace Mono.ILASM {
 
         public class CustomAttr {
 
-                private IMethodRef method_ref;
+                private BaseMethodRef method_ref;
                 private byte[] data;
 
-                public CustomAttr (IMethodRef method_ref, byte[] data)
+                public CustomAttr (BaseMethodRef method_ref, byte[] data)
                 {
                         this.method_ref = method_ref;
                         this.data = data;
@@ -38,7 +38,7 @@ namespace Mono.ILASM {
                 {
                        string asmname = "";
                        
-                       ITypeRef owner = method_ref.Owner;
+                       BaseTypeRef owner = method_ref.Owner;
                        if (owner == null)
                                return false;