Switch to compiler-tester
[mono.git] / mcs / class / corlib / System / Type.cs
index 235ad54a047972e3e02f8373339d2743ba6898be..286b6b4b7929c23ba8d4de72ba0cdac2e12c0359 100644 (file)
@@ -760,6 +760,22 @@ namespace System {
                        return GetMethodImpl (name, bindingAttr, binder, callConvention, types, modifiers);
                }
 
+               internal virtual MethodInfo GetMethod (MethodInfo fromNoninstanciated)
+                {
+                       throw new System.InvalidOperationException ("can only be called in generic type");
+                }
+
+               internal virtual ConstructorInfo GetConstructor (ConstructorInfo fromNoninstanciated)
+                {
+                       throw new System.InvalidOperationException ("can only be called in generic type");
+                }
+
+               internal virtual FieldInfo GetField (FieldInfo fromNoninstanciated)
+                {
+                       throw new System.InvalidOperationException ("can only be called in generic type");
+                }
+
+               
                public MethodInfo[] GetMethods ()
                {
                        return GetMethods (DefaultBindingFlags);
@@ -1110,6 +1126,11 @@ namespace System {
                        return res;
                }
 
+                public Type MakeGenericType (Type[] types)
+                {
+                       return BindGenericParameters (types);
+                }
+
                public abstract bool IsGenericParameter {
                        get;
                }