Xamarin.iOS and Xamarin.Mac uses this enum, and changing the values
causes us to break.
For Xamarin.Mac apps that do not bundle their mono, this would break
when the user updated their system mono.
#include <mono/metadata/mono-gc.h>
MONO_BEGIN_DECLS
-
+/* do not change the values of this enum */
typedef enum {
- MONO_HASH_KEY_GC,
- MONO_HASH_VALUE_GC,
- MONO_HASH_KEY_VALUE_GC
+ MONO_HASH_KEY_GC = 1,
+ MONO_HASH_VALUE_GC = 2,
+ MONO_HASH_KEY_VALUE_GC = MONO_HASH_KEY_GC | MONO_HASH_VALUE_GC,
} MonoGHashGCType;
typedef struct _MonoGHashTable MonoGHashTable;