[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs0131-6.cs
1 // CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
2 // Line: 8
3
4 class X
5 {
6         void Test ()
7         {
8                 Foo () = 1;
9         }
10
11         static int Foo ()
12         {
13                 return 1;
14         }
15 }