[msvc] Update csproj files
[mono.git] / mono / tests / bug-30085.cs
index 80c985b0a1121e6b89f92d01c68a721b78251826..494c5ecc1acbcd82b000a50546e940c347e68e04 100644 (file)
@@ -17,8 +17,14 @@ class Program
 
        static void ProbeCorlib ()
        {
-               Type good = System.Type.GetType("System.Nullable`1[[System.Int32, mscorlib]]"); 
-               Type bad = System.Type.GetType("System.Nullable`1[[System.IO.Pipes.PipeOptions, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]");
+               Type good = System.Type.GetType("System.Nullable`1[[System.Int32, mscorlib]]");
+#if MOBILE
+               string pubKeyToken = "7cec85d7bea7798e";
+#else
+               string pubKeyToken = "b77a5c561934e089";
+#endif
+               string t = String.Format ("System.Nullable`1[[System.IO.MemoryMappedFiles.MemoryMappedFile, System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken={0}]]", pubKeyToken);
+               Type bad = System.Type.GetType(t);
 
                if (good.Assembly.FullName.Split (',') [0] != "mscorlib")
                        throw new Exception ("Wrong assembly name");