[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs1650.cs
blob04d1897394370e151878c11de90b6aba19d50600
1 // CS1650: Fields of static readonly field `C.s' cannot be assigned to (except in a static constructor or a variable initializer)
2 // Line: 14
4 using System;
6 struct S {
7 public int x;
10 class C {
11 static readonly S s;
13 public static void Main(String[] args) {
14 s.x = 42;
15 Console.WriteLine(s.x);