[xbuild] Fix bug #674337.
[mono.git] / mcs / mcs / literal.cs
index 0fd978219bcb87a393c8dafe248be6ba812005e5..2ef541d1cbb880435fb995f574b1c150e0227cf5 100644 (file)
 // and are fully resolved when born.
 //
 
-using System;
-using System.Reflection;
+#if STATIC
+using IKVM.Reflection.Emit;
+#else
 using System.Reflection.Emit;
+#endif
 
 namespace Mono.CSharp {
 
@@ -58,6 +60,11 @@ namespace Mono.CSharp {
                        base.Error_ValueCannotBeConverted (ec, loc, t, expl);
                }
 
+               public override string GetValueAsLiteral ()
+               {
+                       return "null";
+               }
+
                public override bool IsLiteral {
                        get { return true; }
                }