[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0100-2.cs
1 // CS0100: The parameter name `a' is a duplicate
2 // Line: 10
3
4 using System;
5
6 class C
7 {
8         static void Main ()
9         {
10                 Func<int, int, int> l = (a, a) => 1;
11         }
12 }