Files
mono/mcs/errors/cs0445.cs
T
Marek Safar a2f7036e73 new tests + update
svn path=/trunk/mcs/; revision=50839
2005-09-27 10:28:59 +00:00

14 lines
180 B
C#

// cs0445.cs: Cannot modify the result of an unboxing conversion
// Line: 10
struct S
{
public int val;
public void Do (object o)
{
((S)o).val = 4;
}
}