imported everything from my branch (which is slightly harmless).
[mono.git] / mcs / errors / cs1587-18.cs
1 // cs1587.cs: XML comment is placed on an invalid language element which can not accept it.
2 // Line: 13
3 // Compiler options: -doc:dummy.xml -warnaserror -warn:2
4
5 using System;
6
7 namespace TopNS
8 {
9         class Foo
10         {
11                 string this [string bar] {
12                         get { return ""; }
13                         /// incorrect
14                         set { }
15                 }
16         }
17 }