2008-07-28 Marek Habersack <mhabersack@novell.com>
[mono.git] / mono / metadata / class-internals.h
index 4607290a3d8ff07aa0496f8cbb48900aa7145915..54d5f3a0f424c6b114400747c3ecfe56810c61c2 100644 (file)
@@ -194,7 +194,8 @@ enum {
        MONO_EXCEPTION_METHOD_ACCESS = 9,
        MONO_EXCEPTION_FIELD_ACCESS = 10,
        MONO_EXCEPTION_GENERIC_SHARING_FAILED = 11,
-       MONO_EXCEPTION_BAD_IMAGE = 12
+       MONO_EXCEPTION_BAD_IMAGE = 12,
+       MONO_EXCEPTION_OBJECT_SUPPLIED = 13 /*The exception object is already created.*/
        /* add other exception type */
 };
 
@@ -646,6 +647,7 @@ typedef struct {
 
 enum {
        MONO_GENERIC_SHARING_NONE,
+       MONO_GENERIC_SHARING_COLLECTIONS,
        MONO_GENERIC_SHARING_CORLIB,
        MONO_GENERIC_SHARING_ALL
 };
@@ -795,6 +797,9 @@ mono_method_inflated_lookup (MonoMethodInflated* method, gboolean cache) MONO_IN
 MonoMethodSignature *
 mono_metadata_get_inflated_signature (MonoMethodSignature *sig, MonoGenericContext *context);
 
+MonoType*
+mono_class_inflate_generic_type_with_mempool (MonoMemPool *mempool, MonoType *type, MonoGenericContext *context) MONO_INTERNAL;
+
 void
 mono_metadata_free_inflated_signature (MonoMethodSignature *sig);
 
@@ -993,6 +998,9 @@ mono_generic_class_is_generic_type_definition (MonoGenericClass *gklass) MONO_IN
 MonoMethod*
 mono_method_get_declaring_generic_method (MonoMethod *method) MONO_INTERNAL;
 
+MonoMethod*
+mono_class_get_method_generic (MonoClass *klass, MonoMethod *method) MONO_INTERNAL;
+
 MonoType*
 mono_type_get_basic_type_from_generic (MonoType *type) MONO_INTERNAL;