[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0266-24.cs
blobefa355d582ba715b86a9df2675c1110ac228d974
1 // CS0266: Cannot implicitly convert type `System.Collections.Generic.IList<int>' to `Hoge<System.Collections.Generic.IList<int>>'. An explicit conversion exists (are you missing a cast?)
2 // Line: 20
4 using System;
5 using System.Collections.Generic;
7 public class Hoge<T>
9 public static implicit operator Hoge<T> (T value)
11 return null;
15 public class Test
17 static void Main ()
19 IList<int> x = new List<int> ();
20 Hoge<IList<int>> hoge = x;