[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0246-36.cs
1 // CS0246: The type or namespace name `Foo' could not be found. Are you missing an assembly reference?
2 // Line: 8
3
4 class Crashy
5 {
6         void Call (System.Action<object> action) { }
7
8         public void DoCrash () => Call (f => f as Foo);
9 }