[Microsoft.CSharp] Replaced with CoreFX implementation
[mono.git] / mcs / tests / gtest-exmethod-07.cs
1
2
3 using System.Collections.Generic;
4
5 interface IA
6 {
7 }
8
9 interface IB : IA
10 {
11 }
12
13 static class E
14 {
15         internal static void ToReadOnly<T>(this IEnumerable<T> source)
16         {
17         }
18         
19         internal static void To (this IA i)
20         {
21         }
22 }
23
24 class C
25 {
26         public static void Main ()
27         {
28         }
29         
30         public static void Test (IEnumerable<bool> bindings)
31         {
32                 bindings.ToReadOnly();
33                 
34                 IB ib = null;
35                 ib.To ();
36         }
37 }