diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-04-13 11:16:43 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-04-13 11:16:43 +0400 |
commit | 788ac9afd241090a34ff88a0892037982eec90ca (patch) | |
tree | a0876982a985e552ddc2e08cf7a836eb28feeca0 /mcs/errors/cs0619-36.cs | |
parent | f385bd3f3a032ceb2e5778b7f70fc2da4a819f4e (diff) |
2004-04-13 Marek Safar <marek.safar@seznam.cz>
* cs1618-2.cs,
* cs1619-{27-36}.cs,
* cs1667.cs, cs1667-2.cs: 13 new error tests.
svn path=/trunk/mcs/; revision=25386
Diffstat (limited to 'mcs/errors/cs0619-36.cs')
-rw-r--r-- | mcs/errors/cs0619-36.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs0619-36.cs b/mcs/errors/cs0619-36.cs new file mode 100644 index 00000000000..25b21cbc2a4 --- /dev/null +++ b/mcs/errors/cs0619-36.cs @@ -0,0 +1,10 @@ +// cs0619.cs: 'Error.member' is obsolete: 'Obsolete member' +// Line: 8 +// Compiler options: -reference:CS0619-36-lib.dll + +class A { + public A () { + Error e = new Error (); + ++e.member; + } +}
\ No newline at end of file |