Updated with review feedback.
[mono.git] / mcs / errors / cs0626-6.cs
1 // CS0626: `C.this[int]' is marked as an external but has no DllImport attribute. Consider adding a DllImport attribute to specify the external implementation
2 // Line: 7
3 // Compiler options: -warnaserror -warn:1
4
5 class C
6 {
7         public extern char this[int index]
8         {
9                 get;
10         }
11 }