2010-04-01 Jb Evain <jbevain@novell.com>
[mcs.git] / errors / cs0445-2.cs
blob48a6b018d3f43ecf3e9ec263c87b0d683f844b2b
1 // cs0445.cs: Cannot modify the result of an unboxing conversion
2 // Line: 10
4 struct S
6 public int val { set {} }
8 public void Do (object o)
10 ((S)o).val = 4;