fix 'new' usage
[mcs.git] / errors / cs0111-9.cs
blobcfcb55c49616be3be1b7c744a1c177e6a670ad8a
1 // cs0111-9.cs: `C.this[int]' is already defined. Rename this member or use different parameter types
2 // Line: 6
4 class C
6 bool this [int i] { get { return false; } }
7 bool this [int i] { get { return true; } }