Initial import of the Generic MCS tree.
[mono.git] / mcs / gmcs / typemanager.cs
index 326e22f66ea1dab420dea22c394e2b5badbe8f94..bcc57cf04d14501f9179afaf03a93f807f3fd5b8 100755 (executable)
@@ -1308,6 +1308,16 @@ public class TypeManager {
                        return false;
        }
 
+       //
+       // Only a quick hack to get things moving, while real runtime support appears
+       //
+       public static bool IsGeneric (Type t)
+       {
+               DeclSpace ds = (DeclSpace) builder_to_declspace [t];
+
+               return ds.IsGeneric;
+       }
+       
        //
        // Whether a type is unmanaged.  This is used by the unsafe code (25.2)
        //