Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2011-01-13 18:40:16 +0300
committerMarek Safar <marek.safar@gmail.com>2011-01-13 18:41:12 +0300
commit147580e6cc5f127a4204176f08f8ac128a8beeba (patch)
tree4861f2a36a97189fb835e986d3b5a3eb09d39b8e /mcs/errors/cs1705.cs
parent50834de0dd1c5ca71fe472288e098528b2ca45b8 (diff)
Implement assembly name unification for imported references
Diffstat (limited to 'mcs/errors/cs1705.cs')
-rw-r--r--mcs/errors/cs1705.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs1705.cs b/mcs/errors/cs1705.cs
new file mode 100644
index 00000000000..f9ce9bcd018
--- /dev/null
+++ b/mcs/errors/cs1705.cs
@@ -0,0 +1,11 @@
+// CS1705: Assembly `CS1705-lib, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' references `CS1705-lib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3' which has higher version number than imported assembly `CS1705-lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3'
+// Line: 9
+// Compiler options: -r:CS1705-lib.dll -r:dlls/second/CS1705-lib.dll
+
+class C
+{
+ public static void Main ()
+ {
+ A.Test (new B ());
+ }
+}