diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-04-14 17:32:28 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-04-14 17:32:28 +0400 |
commit | 6fea64ca79567eab050353a2cda065864121d4f4 (patch) | |
tree | a8dd469a10d7c33a91907c3db4e21fb6c97acd45 /mcs/errors/cs0612.cs | |
parent | 964dab6c01c4ab43111818bc466b37214eb622c5 (diff) |
2004-04-14 Marek Safar <marek.safar@seznam.cz>
* cs0612.cs,
* cs0672-2.cs: 2 new error tests.
svn path=/trunk/mcs/; revision=25470
Diffstat (limited to 'mcs/errors/cs0612.cs')
-rw-r--r-- | mcs/errors/cs0612.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/errors/cs0612.cs b/mcs/errors/cs0612.cs new file mode 100644 index 00000000000..2324903de7a --- /dev/null +++ b/mcs/errors/cs0612.cs @@ -0,0 +1,15 @@ +// cs0612.cs: 'A.Value' is obsolete +// Line: 13 +// Compiler options: -warnaserror + +class A { + [System.Obsolete] + int Value { + set { + } + } + + public A () { + Value = 4; + } +}
\ No newline at end of file |