Merge pull request #637 from LogosBible/enetdown
[mono.git] / mono / tests / verifier / valid_delegate_return_variant_iface.cs
1 using System;
2 using System.Collections.Generic;
3
4 interface IFoo {}
5 class Foo : IFoo {}
6
7 class Driver
8 {
9         static IEnumerable <Foo> Dele (bool b)
10         {
11                 return null;
12         }
13
14         static void Main ()
15         {
16                 Func<bool, IEnumerable<IFoo>> dele = Dele;
17                 dele (true);
18         }
19 }