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:
authorMartin Baulig <martin@novell.com>2004-12-07 00:15:37 +0300
committerMartin Baulig <martin@novell.com>2004-12-07 00:15:37 +0300
commit434a5bb7c27b24243de050aee60f484abc40a332 (patch)
treef701b4957f3c0c6ce3713e1490454bdd95a2c1ea /mcs/errors/gcs0408.cs
parent134de2b1f90358621fd0bc428cec5aeaca9cf121 (diff)
Updated.
svn path=/trunk/mcs/; revision=37237
Diffstat (limited to 'mcs/errors/gcs0408.cs')
-rw-r--r--mcs/errors/gcs0408.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/mcs/errors/gcs0408.cs b/mcs/errors/gcs0408.cs
index 98d9869b592..54c77c160e3 100644
--- a/mcs/errors/gcs0408.cs
+++ b/mcs/errors/gcs0408.cs
@@ -1,8 +1,16 @@
+// CS0408: `X<T>' cannot define overload members that may unify for some type parameter substitutions
+// Line: 9
class X<T>
{
- void Foo (T t)
+ public void Foo (T t)
{ }
- void Foo (int i)
+ public void Foo (int i)
+ { }
+}
+
+class X
+{
+ static void Main ()
{ }
}