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/cs0618-2.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/cs0618-2.cs')
-rw-r--r-- | mcs/errors/cs0618-2.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mcs/errors/cs0618-2.cs b/mcs/errors/cs0618-2.cs new file mode 100644 index 00000000000..ea6bf34dac3 --- /dev/null +++ b/mcs/errors/cs0618-2.cs @@ -0,0 +1,12 @@ +// cs0618.cs: 'ObsoleteDispose' is obsolete: 'Class is obsolete' +// Line: 9 +// Compiler options: -reference:CS0618-2-lib.dll -warnaserror + +class AA +{ + public AA () + { + using (ObsoleteDispose od = ObsoleteDispose.Factory) { + } + } +}
\ No newline at end of file |