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-03-07 19:00:00 +0300
committerMarek Safar <marek.safar@gmail.com>2005-03-07 19:00:00 +0300
commit6bb6bad9f39468702a8216d7bf57c79979065d82 (patch)
tree00cd103aa5795db5d130cba812421be1e8a21d52 /mcs/errors/cs0681.cs
parent8e9d504abd218140bdd566b322239007056e1faa (diff)
fixed warning level
update fixed svn path=/trunk/mcs/; revision=41531
Diffstat (limited to 'mcs/errors/cs0681.cs')
-rw-r--r--mcs/errors/cs0681.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/mcs/errors/cs0681.cs b/mcs/errors/cs0681.cs
index 70a80d0af79..4c801e4d1c4 100644
--- a/mcs/errors/cs0681.cs
+++ b/mcs/errors/cs0681.cs
@@ -1,7 +1,8 @@
-// cs0681: Fields can not be abstract
-// Line: 4
+// cs0681: The modifier 'abstract' is not valid on fields. Try using a property instead
+// Line: 5
+
class X {
- abstract int name;
+ abstract const int name = 3;
static void Main () {}
}