Author: marek
Date: 2005-05-11 08:38:50 -0400 (Wed, 11 May 2005)
New Revision: 44387

Added:
   trunk/mcs/errors/cs0618.cs
Modified:
   trunk/mcs/errors/known-issues-gmcs
Log:
new test

Added: trunk/mcs/errors/cs0618.cs
===================================================================
--- trunk/mcs/errors/cs0618.cs  2005-05-11 12:29:54 UTC (rev 44386)
+++ trunk/mcs/errors/cs0618.cs  2005-05-11 12:38:50 UTC (rev 44387)
@@ -0,0 +1,31 @@
+// cs0618.cs: 'Name.Feat.Feat(string, string, int, params object[])' is 
obsolete: 'AaA'
+// Line: 22
+// Compiler options: -warnaserror
+
+using System;
+
+namespace Name
+{
+       public class A
+       {
+       }
+       
+       public class Feat
+       {
+               #region Constructors
+
+               [Obsolete ("AaA")]
+               public Feat(string name, string description, int arg, params 
object[] featReqs)
+               {}
+
+               public Feat(string name, string description)
+                       : this(name, description, 4)
+               {}
+
+               public Feat(string name)
+                       : this(name, string.Empty)
+               {}
+
+               #endregion
+       }
+}
\ No newline at end of file

Modified: trunk/mcs/errors/known-issues-gmcs
===================================================================
--- trunk/mcs/errors/known-issues-gmcs  2005-05-11 12:29:54 UTC (rev 44386)
+++ trunk/mcs/errors/known-issues-gmcs  2005-05-11 12:38:50 UTC (rev 44387)
@@ -44,6 +44,7 @@
 cs0548.cs
 cs0560.cs
 cs0567.cs
+cs0618.cs
 cs0642-2.cs NO ERROR
 cs0642-3.cs
 cs0642-4.cs

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to