Kill the MOONLIGHT define in corlib.
[mono.git] / mcs / class / corlib / System.Runtime.Serialization.Formatters.Binary / BinaryCommon.cs
index ffe5b4320df8081c106ae61ecf9458606173de92..f6df7a26574c39585ea91c5532a553ca2d452fdb 100644 (file)
@@ -81,13 +81,11 @@ namespace System.Runtime.Serialization.Formatters.Binary
 
                        // TimeStamp does not have a TypeCode, so it is managed as a special
                        // case in GetTypeCode()
-#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)