// TimeStamp does not have a TypeCode, so it is managed as a special
// case in GetTypeCode()
-
- // This environment variable is only for test and benchmarking pourposes.
+#if !MOONLIGHT
+ // This environment variable is only for test and benchmarking purposes.
// By default, mono will always use IL generated class serializers.
string s = Environment.GetEnvironmentVariable("MONO_REFLECTION_SERIALIZER");
if (s == null) s = "no";
UseReflectionSerialization = (s != "no");
+#endif
}
public static bool IsPrimitive (Type type)
MultiDimensional = 2
}
- internal enum MethodFlags : byte
+ internal enum MethodFlags
{
NoArguments = 1,
PrimitiveArguments = 2,
IncludesSignature = 128,
FormatMask = 15,
- NeedsInfoArrayMask = 4 + 8 + 64 + 128
+
+ GenericArguments = 0x8000,
+ NeedsInfoArrayMask = 4 + 8 + 64 + 128 + 0x8000,
}
internal enum ReturnTypeTag : byte