diff options
Diffstat (limited to 'mcs/errors/cs1587-16.cs')
-rwxr-xr-x | mcs/errors/cs1587-16.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs1587-16.cs b/mcs/errors/cs1587-16.cs new file mode 100755 index 00000000000..2d6ea936ae4 --- /dev/null +++ b/mcs/errors/cs1587-16.cs @@ -0,0 +1,14 @@ +// Compiler options: -doc:dummy.xml -warnaserror -warn:2 +using System; + +namespace TopNS +{ + class Foo + { + string this [string bar] { + /// incorrect + get { return ""; } + set { } + } + } +} |