2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / corlib / System.Reflection.Emit / DynamicMethod.cs
index 6dea91eeac108f3b7c9f9f19221ea8f1fcc73812..ffa6ba93bb893c50fd3649c34030aa2eee300dd7 100644 (file)
@@ -247,7 +247,7 @@ namespace System.Reflection.Emit {
                        }
                }
 
-               public Module Module {
+               public override Module Module {
                        get {
                                return module;
                        }
@@ -285,6 +285,12 @@ namespace System.Reflection.Emit {
                        }
                }
 
+               public override int MetadataToken {
+                       get {
+                               return 0;
+                       }
+               }
+
                private void RejectIfCreated () {
                        if (mhandle.Value != IntPtr.Zero)
                                throw new InvalidOperationException ("Type definition of the method is complete.");