**** Merged from MCS ****
[mono-project.git] / mcs / errors / cs1673.cs
blob0d4fdec4fbbf64cfe234d3175fe0b89acfc2aab2
1 // cs1673.cs: Not possible to use `this' in anonymous methods inside structs
2 // Line:
3 using System;
5 struct S {
6 delegate void T ();
8 int f;
10 public int Test ()
12 T t = delegate {
13 f = 1;
15 return 0;
18 static void Main ()