diff options
author | Marek Safar <marek.safar@gmail.com> | 2005-04-08 14:35:51 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2005-04-08 14:35:51 +0400 |
commit | 9bbfdd1a0e9bebb8fc8437529bc051a7568db4e4 (patch) | |
tree | d04f79acbbf8282a3f850486f577aafbeb9fb638 /mcs/errors/cs0442.cs | |
parent | 254bfe32ceb8bce04b77036059a3ca9c716f5835 (diff) | |
parent | 5c8e67bec237322c75e2ff6f747692963b9198cf (diff) |
new error tests
svn path=/trunk/mcs/; revision=42683
Diffstat (limited to 'mcs/errors/cs0442.cs')
-rw-r--r-- | mcs/errors/cs0442.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs0442.cs b/mcs/errors/cs0442.cs new file mode 100644 index 00000000000..e6b10fd23c9 --- /dev/null +++ b/mcs/errors/cs0442.cs @@ -0,0 +1,11 @@ +// cs0442.cs: 'C.Prop.get': abstract properties cannot have private accessors +// Line: 7 + +abstract class C { + protected abstract int Prop + { + private get; + set; + } +} + |