[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs1650-2.cs
blob9aa902d435d587859ee07cbdccfde94f03bf8b33
1 // CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
2 // Line: 15
4 struct S
6 public int x { get; set; }
9 class C
11 static readonly S s;
13 public static void Main (string[] args)
15 s.x = 42;