Просмотр исходного кода

fix test on .net + Mono's System.Core

svn path=/trunk/mcs/; revision=96370
Jb Evain 18 лет назад
Родитель
Сommit
d41c902e24

+ 1 - 1
mcs/class/System.Core/Test/System.Linq.Expressions/ExpressionTest_Invoke.cs

@@ -117,7 +117,7 @@ namespace MonoTests.System.Linq.Expressions {
 
 		static bool OnMono ()
 		{
-			return Type.GetType ("Mono.Runtime") != null;
+			return typeof (Expression).Assembly.GetType ("Consts") != null;
 		}
 	}
 }