summaryrefslogtreecommitdiff
path: root/mcs/errors/cs1656-5.cs
blob: 763626bf55c09157b6b356cd5d74f5025dd08cbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS1656: Cannot assign to `Method_1' because it is a `method group'
// Line: 14

public class Test
{
	void Method_1 ()
	{
	}
	
        public static void Main ()
        {
		Test t = new Test ();
		
                t.Method_1 += delegate {  };
        }
}