**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs0111-9.cs
blob4c97b42fe8256ff83e44563e50b6f26945224947
1 // cs0111.cs: Class 'C' already defines a member called 'this' with the same parameter types
2 // Line: 6
4 class C
6 bool this [int i] { get { return false; } }
7 bool this [int i] { get { return true; } }