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:
Diffstat (limited to 'mcs/errors/cs1701.cs')
-rw-r--r--mcs/errors/cs1701.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs1701.cs b/mcs/errors/cs1701.cs
new file mode 100644
index 00000000000..04b29659c31
--- /dev/null
+++ b/mcs/errors/cs1701.cs
@@ -0,0 +1,11 @@
+// CS1701: Assuming assembly reference `CS1701-lib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3' matches assembly `CS1701-lib, Version=2.0.1.0, Culture=neutral, PublicKeyToken=36f3ae7e947792e3'. You may need to supply runtime policy
+// Line: 9
+// Compiler options: -warnaserror -r:CS1701-lib.dll -r:dlls/second/CS1701-lib.dll
+
+class C
+{
+ public static void Main ()
+ {
+ A.Test (new B ());
+ }
+}