Merge pull request #3769 from evincarofautumn/fix-verify-before-allocs
[mono.git] / mcs / errors / cs0445.cs
1 // CS0445: 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