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-12 17:08:52 +0300
committerRaja R Harinath <harinath@hurrynot.org>2006-01-12 17:08:52 +0300
commitb7bc8ee71332fb260971131d806f0118f02b80ea (patch)
tree2928b3062b0d5d1ad84cc0f180c0182db9da2034 /mcs/tests/test-486.cs
parentfb6c0937b472dd252adf964e4c8c818bcf1f37eb (diff)
Fix #77221.
* mcs/typemanager.cs (TryGetBaseDefinition): Rename from the mis-named GetOverride. * mcs/expression.cs (Invocation.OverloadResolve): Update. (Invocation.DoResolve): Avoid double resolution of invocation. * tests/test-486.cs: New test from #77221. svn path=/trunk/mcs/; revision=55427
Diffstat (limited to 'mcs/tests/test-486.cs')
-rw-r--r--mcs/tests/test-486.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/tests/test-486.cs b/mcs/tests/test-486.cs
new file mode 100644
index 00000000000..91dd76b4aa0
--- /dev/null
+++ b/mcs/tests/test-486.cs
@@ -0,0 +1,16 @@
+using System;
+
+public class Test
+{
+ public static void Main ()
+ {
+ string[] aPath = {"a","b"};
+ char c = '.';
+ if (c.ToString () != ".")
+ throw new Exception ("c.ToString () is not \".\"");
+ string erg = "";
+ erg += String.Join (c.ToString (), aPath);
+ if (erg != "a.b")
+ throw new Exception ("erg is " + erg);
+ }
+}