[w32file] Move MonoIO.Find{First,Next,Close} to managed
[mono.git] / mcs / errors / cs0266-24.cs
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
3
4 using System;
5 using System.Collections.Generic;
6
7 public class Hoge<T>
8 {
9         public static implicit operator Hoge<T> (T value)
10         {
11                 return null;
12         }
13 }
14
15 public class Test
16 {
17         static void Main ()
18         {
19                 IList<int> x = new List<int> ();
20                 Hoge<IList<int>> hoge = x;
21         }
22 }