[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs1648-2.cs
blobb470e10acecc1c18955931e25a50555307c6ccac
1 // CS1648: Members of readonly field `Test.p' cannot be modified (except in a constructor or a variable initializer)
2 // Line: 17
4 using System;
6 public class Test
8 struct Container
10 public int foo { get; set; }
13 readonly Container p;
15 void Foo ()
17 p.foo = 0;
20 public static void Main ()