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>2005-05-11 16:38:50 +0400
committerMarek Safar <marek.safar@gmail.com>2005-05-11 16:38:50 +0400
commitc44870dcbb172430e5f026ed7cfdc5612997bb71 (patch)
tree2be27f3fc8335553a38e167f3569599ef43dfe16 /mcs/errors/cs0618.cs
parentdd6fac1b53791796b0f883780bc09fb4522fc831 (diff)
new test
svn path=/trunk/mcs/; revision=44387
Diffstat (limited to 'mcs/errors/cs0618.cs')
-rw-r--r--mcs/errors/cs0618.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/mcs/errors/cs0618.cs b/mcs/errors/cs0618.cs
new file mode 100644
index 00000000000..6b2eb8f2188
--- /dev/null
+++ b/mcs/errors/cs0618.cs
@@ -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