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.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.cs')
-rw-r--r--mcs/tests/gtest-265.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/tests/gtest-265.cs b/mcs/tests/gtest-265.cs
new file mode 100644
index 00000000000..f2d2e45f138
--- /dev/null
+++ b/mcs/tests/gtest-265.cs
@@ -0,0 +1,10 @@
+// Compiler options: -r:gtest-265-lib.dll
+
+class Test
+{
+ public static void Main ()
+ {
+ A x = new A ();
+ x.Whoa<int> (null);
+ }
+}