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-04-01 15:48:57 +0400
committerRaja R Harinath <harinath@hurrynot.org>2006-04-01 15:48:57 +0400
commit595740ba6936a3f71b888ae6b4c2a4d02e628f51 (patch)
tree3f561d342fb8bca69d2d4e1d31dc902fde1a20d7 /mcs/tests/gtest-265-lib.cs
parentce307de17e79a19fc73b7f1c67407311f134c256 (diff)
Fix #77954.
* expression.cs (Invocation.IsApplicable): Ensure a generic method definition doesn't take part in overload resolution. (Invocation.IsParamsMethodApplicable): Likewise. (Invocation.OverloadResolve): When replacing a reflected override method with its base definition, ensure that type arguments are applied. svn path=/trunk/mcs/; revision=58887
Diffstat (limited to 'mcs/tests/gtest-265-lib.cs')
-rw-r--r--mcs/tests/gtest-265-lib.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/gtest-265-lib.cs b/mcs/tests/gtest-265-lib.cs
new file mode 100644
index 00000000000..43abd5e7dea
--- /dev/null
+++ b/mcs/tests/gtest-265-lib.cs
@@ -0,0 +1,14 @@
+// Compiler options: -t:library
+
+public class A : X
+{
+ public override void Whoa<T> (object arg)
+ {
+ }
+}
+
+public abstract class X
+{
+ // virtual is also buggy
+ public abstract void Whoa<T> (object arg);
+}