--- /dev/null
+.assembly extern mscorlib
+{
+}
+
+.assembly extern 'CS0012-lib-missing'
+{
+}
+
+.assembly 'CS0012-10-lib'
+{
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+
+.module 'CS0012-10-lib.dll'
+
+.class public auto ansi sealed D`1<(I) T>
+ extends [mscorlib]System.MulticastDelegate
+{
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor(object 'object',
+ native int 'method') runtime managed
+ {
+ }
+
+ .method public hidebysig newslot virtual
+ instance !T Invoke() runtime managed
+ {
+ }
+
+ .method public hidebysig newslot virtual
+ instance class [mscorlib]System.IAsyncResult
+ BeginInvoke(class [mscorlib]System.AsyncCallback callback,
+ object 'object') runtime managed
+ {
+ }
+
+ .method public hidebysig newslot virtual
+ instance !T EndInvoke(class [mscorlib]System.IAsyncResult result) runtime managed
+ {
+ }
+
+}
+
+.class interface public abstract auto ansi I
+ implements ['CS0012-lib-missing']I1
+{
+}
\ No newline at end of file
--- /dev/null
+.assembly extern mscorlib
+{
+}
+
+.assembly extern 'CS0012-lib-missing'
+{
+}
+
+.assembly 'CS0012-5-lib'
+{
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+
+.module 'CS0012-5-lib.dll'
+
+.class public auto ansi beforefieldinit B
+ extends [mscorlib]System.Object
+{
+ .class sequential ansi sealed nested public beforefieldinit N
+ extends [mscorlib]System.ValueType
+ implements ['CS0012-lib-missing']I1
+ {
+ .pack 0
+ .size 1
+ }
+
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ }
+
+}
--- /dev/null
+.assembly extern mscorlib
+{
+}
+
+.assembly extern 'CS0012-lib-missing'
+{
+}
+
+.assembly 'CS0012-6-lib'
+{
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+
+.module 'CS0012-6-lib.dll'
+
+.class public auto ansi beforefieldinit A
+ extends ['CS0012-lib-missing']A1
+{
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ IL_0000: ldarg.0
+ IL_0001: call instance void ['CS0012-lib-1']A1::.ctor()
+ IL_0006: ret
+ }
+
+}
\ No newline at end of file
--- /dev/null
+.assembly extern mscorlib
+{
+}
+
+.assembly extern 'CS0012-lib-missing'
+{
+}
+
+.assembly 'CS0012-9-lib'
+{
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+
+.module 'CS0012-9-lib.dll'
+
+.class public auto ansi beforefieldinit A
+ extends [mscorlib]System.Object
+{
+ .method public hidebysig static void M<(['CS0012-lib-missing']A1) T>() cil managed
+ {
+ IL_0000: ret
+ }
+
+ .method public hidebysig specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ }
+
+}
$(wildcard known-issues-*)
TEST_SUPPORT_FILES = \
- CS0012-lib.dll CS0012-2-lib.dll CS0012-3-lib.dll CS0012-4-lib.dll \
+ CS0012-lib.dll CS0012-2-lib.dll CS0012-3-lib.dll CS0012-4-lib.dll CS0012-5-lib.dll CS0012-6-lib.dll CS0012-9-lib.il CS0012-10-lib.il \
CS0103-2-lib.dll CS0118-2-lib.dll CS0122-10-lib.dll CS0122-14-lib.dll CS0122-15-lib.dll CS0122-19-lib.dll CS0143-lib.dll CS0144-3-lib.dll \
CS0205-3-lib.dll \
CS0229-3-lib.dll CS0229-4-lib.dll \
--- /dev/null
+// CS0012:
+// Line: 9
+// Compiler options: -r:CS0012-10-lib.dll
+
+class Test
+{
+ event D<Test> e;
+}
\ No newline at end of file
--- /dev/null
+// CS0012:
+// Line: 10
+// Compiler options: -r:CS0012-5-lib.dll
+
+class Test
+{
+ public static void Main ()
+ {
+ object o = typeof (B.N);
+ }
+}
\ No newline at end of file
--- /dev/null
+// CS0012:
+// Line: 10
+// Compiler options: -r:CS0012-6-lib.dll
+
+[A]
+class Test
+{
+ public static void Main ()
+ {
+ }
+}
\ No newline at end of file
--- /dev/null
+// CS0012:
+// Line: 10
+// Compiler options: -r:CS0012-6-lib.dll
+
+class Test : A
+{
+ public static void Main ()
+ {
+ }
+}
\ No newline at end of file
--- /dev/null
+// CS0012:
+// Line: 10
+// Compiler options: -r:CS0012-6-lib.dll
+
+class Test
+{
+ public static void Main ()
+ {
+ A.M.Foo ();
+ }
+}
\ No newline at end of file
--- /dev/null
+// CS0012:
+// Line: 9
+// Compiler options: -r:CS0012-9-lib.dll
+
+class Test
+{
+ public static void Main ()
+ {
+ A.M<string> ();
+ }
+}
\ No newline at end of file
--- /dev/null
+// CS0619: `A' is obsolete: `msg'
+// Line: 21
+
+using System;
+
+[Obsolete ("msg", true)]
+class A
+{
+ public class M
+ {
+ public static void Foo ()
+ {
+ }
+ }
+}
+
+class C
+{
+ public static void Main ()
+ {
+ A.M.Foo ();
+ }
+}