diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-03-29 20:46:08 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-03-29 20:46:08 +0400 |
commit | ce6dfca587f29e770f3b3a13903f6de81fc26529 (patch) | |
tree | bb66b8de28dba6ec5d13ceddf781af2be030d21a /mcs/errors/cs0619-6.cs | |
parent | 4c611013876fb718d58df7bf64f230953eec3646 (diff) |
2004-03-29 Marek Safar <marek.safar@seznam.cz>
* cs0029-3.cs,
cs0173-2.cs,
cs0619-{2-26}.cs,
cs0672.cs: 29 new error tests.
svn path=/trunk/mcs/; revision=24715
Diffstat (limited to 'mcs/errors/cs0619-6.cs')
-rw-r--r-- | mcs/errors/cs0619-6.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs0619-6.cs b/mcs/errors/cs0619-6.cs new file mode 100644 index 00000000000..821670b4824 --- /dev/null +++ b/mcs/errors/cs0619-6.cs @@ -0,0 +1,11 @@ +// cs0619.cs: 'A._value' is obsolete: 'Do not use it' +// Line: 9 + +class A { + [System.Obsolete("Do not use it", true)] + int _value; + + public A () { + _value = 4; + } +}
\ No newline at end of file |