[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0266-5.cs
blob93eeca1a986b75f8db45c58cacc354bd0a8f6b8b
1 // CS0266: Cannot implicitly convert type `S?' to `A'. An explicit conversion exists (are you missing a cast?)
2 // Line: 9
4 struct S
6 public static int Main ()
8 S? s = null;
9 A a = s;
10 return 0;
14 struct A
16 public static implicit operator A (S x)
18 return new A ();