[mcs] Allow properties and indexers of by-ref values to be set without setter
[mono.git] / mcs / errors / cs0030.cs
1 // CS0030: Cannot convert type `Blah' to `float'
2 // Line: 12
3
4 public class Blah {
5
6         public static int Main ()
7         {
8                 Blah k;
9                 
10                 k = new Blah ();
11                 
12                 float f = (float) k;
13                 
14         }
15 }