Null constant cannot be used for ref/out variables
[mono.git] / mcs / tools / csharp / repl.cs
index 7e3b8fd023191311131591aac91bb3e69cfd2a81..5137fcb4c4ad768a9b2ea9c3c8b468a0eb432df0 100644 (file)
@@ -55,7 +55,7 @@ namespace Mono {
                        try {
                                startup_files = Evaluator.InitAndGetStartupFiles (args);
                                Evaluator.DescribeTypeExpressions = true;
-                               Evaluator.InteractiveBaseClass = Import.ImportType (typeof (InteractiveBaseShell));
+                               Evaluator.SetInteractiveBaseClass (typeof (InteractiveBaseShell));
                        } catch {
                                return 1;
                        }