Add a 'serial' attribute to MonoGenericParam to allow different versions of a generic...
[mono.git] / mono / metadata / class-internals.h
index 8b559e274cb9a39631b0e01e7b371f37ea016bd3..bc4469196a3fef66884bcf07940f342e80448662 100644 (file)
@@ -536,6 +536,8 @@ struct _MonoDynamicGenericClass {
 struct _MonoGenericParam {
        MonoGenericContainer *owner;    /* Type or method this parameter was defined in. */
        guint16 num;
+       /* For internal runtime use, used to make different versions of the same param */
+       guint16 serial;
        /* 
         * If owner is NULL, or owner is 'owned' by this gparam,
         * then this is the image whose mempool this struct was allocated from.