diff options
author | Martin Baulig <martin@novell.com> | 2003-07-21 22:59:11 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2003-07-21 22:59:11 +0400 |
commit | 115d545a9f1b332a2b611e678565f62d1a0aefa8 (patch) | |
tree | c97f20a4af6f00ebc14544a0ab89a394a034d95a /mcs/errors/cs0055.cs | |
parent | af103a9e04d9d3e77a487dde5baf1a555775f2c6 (diff) |
2003-07-21 Martin Baulig <martin@ximian.com>
* syntax0068.cs, syntax0069.cs, syntax0071.cs, syntax0116.cs:
These are syntax errors which we'd need to catch in cs-parser.jay;
separate them from the other errors.
* cs0572.cs: New test.
svn path=/trunk/mcs/; revision=16497
Diffstat (limited to 'mcs/errors/cs0055.cs')
-rw-r--r-- | mcs/errors/cs0055.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/errors/cs0055.cs b/mcs/errors/cs0055.cs index 099887e49a8..a37d8e52936 100644 --- a/mcs/errors/cs0055.cs +++ b/mcs/errors/cs0055.cs @@ -8,8 +8,8 @@ class ErrorCS0055 { } public class Foo { - public ErrorCS0055 this[ErrorCS0055 e] { - get { return new ErrorCS0055 (); } + public int this[ErrorCS0055 e] { + get { return 5; } } public static void Main () { |