Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0571-5.cs
blob515863908008bdbc32d78f6f9a6b947e3855243e
1 // CS0571: `C2.this[int].set': cannot explicitly call operator or accessor
2 // Line: 8
3 // Compiler options: -r:CS0571-5-lib.dll
5 class MainClass {
6 public static void Main() {
7 C2 c = new C2 ();
8 c.set_Item(1, 2);