SUBDIRS =
include ../build/rules.make
-DISTFILES = README.tests
+DISTFILES = README.tests $(wildcard dlls/**/*.cs)
DISTFILES += $(wildcard *.cs) $(wildcard *.il) $(wildcard *.xml) $(wildcard *.inc) $(wildcard known-issues-*) $(wildcard *.snk)
with_mono_path = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
$(ILASM) /dll property-il.il
$(CSCOMPILE) /r:property-il.dll property-main.cs /out:property-main.exe
$(TEST_RUNTIME) property-main.exe
+
+ $(CSCOMPILE) -t:library dlls/test-679-2/test-679-lib-2.cs
+ $(CSCOMPILE) -t:library dlls/test-679-1/test-679-lib.cs -r:dlls/test-679-2/test-679-lib-2.dll
endif
endif
--- /dev/null
+using System;
+
+[assembly: LibA ("b")]
+
+public class LibBAttribute : Attribute {
+ public LibBAttribute (string s)
+ {
+ }
+}
+
+public class LibB : LibA {
+ public static new void A ()
+ {
+ LibA.A ();
+ }
+
+ public static void B ()
+ {
+ Console.WriteLine ("B");
+ }
+}
--- /dev/null
+using System;
+
+public class LibAAttribute : Attribute {
+ public LibAAttribute (string s)
+ {
+ }
+}
+
+public class LibA {
+ public static void A ()
+ {
+ Console.WriteLine ("A");
+ }
+}