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:
authorRaja R Harinath <harinath@hurrynot.org>2006-01-09 18:21:07 +0300
committerRaja R Harinath <harinath@hurrynot.org>2006-01-09 18:21:07 +0300
commitcd9cc86504c2a5e29eff7c7db807502939f2ad57 (patch)
tree0e4300e857273e073e999d2e71fae7ef466405ae /mcs/tests/test-483.cs
parent29caf0024e5a60a756084ea0b9840d8d839b24b8 (diff)
Fix #75636.
* mcs/expression.cs (Invocation.OverloadResolve): Replace reflected override methods with their base virtual methods, rather than skipping over them. * gmcs/expression.cs: Likewise. * mcs/typemanager.cs (TypeManager.GetOverride): New. * gmcs/typemanager.cs: Likewise. * tests/Makefile (TEST_ILS): New list of CIL test libraries. * tests/test-483-lib.il, tests/test-483.cs: New test from #75636. svn path=/trunk/mcs/; revision=55226
Diffstat (limited to 'mcs/tests/test-483.cs')
-rw-r--r--mcs/tests/test-483.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/tests/test-483.cs b/mcs/tests/test-483.cs
new file mode 100644
index 00000000000..666ae5d83d3
--- /dev/null
+++ b/mcs/tests/test-483.cs
@@ -0,0 +1,11 @@
+// Compiler options: -r:test-483-lib.dll
+
+using System;
+
+public class Tests {
+
+ public static void Main () {
+ Bar bar = null;
+ try { bar.clone (); } catch (NullReferenceException) {}
+ }
+}