Files
linux-packaging-mono/mcs/errors/cs0445-2.cs

14 lines
169 B
C#
Raw Normal View History

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