[interp] Fall back to old implementation when calling on proxy
[mono-project.git] / mcs / errors / cs0151-3.cs
blob76443735451fb4edd599fb08ab24f10f95ba06ad
1 // CS0151: A switch expression of type `X?' cannot be converted to an integral type, bool, char, string, enum or nullable type
2 // Line: 15
4 struct X
6 public static implicit operator int (X x)
8 return 1;
11 static void Main ()
13 X? x = null;
14 switch (x) {
15 default:
16 break;