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:
authorMarek Safar <marek.safar@gmail.com>2010-12-13 21:00:20 +0300
committerMarek Safar <marek.safar@gmail.com>2010-12-13 21:00:56 +0300
commitc019be7d88c7200d00a058bc2f751c3760ac325e (patch)
tree9a83e22dd18db7d656683d8eda6d77e954c5bb20 /mcs/tests/gtest-354.cs
parent082873782a2b0acccc32774b52686a1ba3cc9977 (diff)
New test.
Diffstat (limited to 'mcs/tests/gtest-354.cs')
-rw-r--r--mcs/tests/gtest-354.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/mcs/tests/gtest-354.cs b/mcs/tests/gtest-354.cs
new file mode 100644
index 00000000000..82a3e6ad3ad
--- /dev/null
+++ b/mcs/tests/gtest-354.cs
@@ -0,0 +1,38 @@
+interface IA<T>
+{
+ T Method (int index);
+}
+
+interface IB
+{
+ void Method (int index);
+}
+
+interface IC : IA<string>, IB
+{
+ void Method (params int[] index);
+}
+
+class M : IC
+{
+
+ void IC.Method (params int[] index)
+ {
+ }
+
+ string IA<string>.Method (int index)
+ {
+ throw new System.NotImplementedException ();
+ }
+
+ void IB.Method (int index)
+ {
+ throw new System.NotImplementedException ();
+ }
+
+ public static void Main ()
+ {
+ IC ic = new M ();
+ ic.Method (1);
+ }
+} \ No newline at end of file