Files
mono/mcs/errors/cs1648.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

16 lines
233 B
C#

// cs1648.cs: Members of readonly field `C.s' cannot be modified (except in a constructor or a variable initializer)
// Line: 13
struct S {
public int x;
}
class C {
readonly S s;
public void Test ()
{
s.x = 42;
}
}