[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs1061-7.cs
1 // CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference?
2 // Line: 9
3
4
5 public class M
6 {
7         public static void Main ()
8         {
9                 1.Foo ("foo");
10         }
11 }