* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0445.cs
1 // cs0445.cs: Cannot modify the result of an unboxing conversion
2 // Line: 10
3
4 struct S
5 {
6     public int val;
7
8     public void Do (object o) 
9     {
10         ((S)o).val = 4;
11     }
12 }
13