"disable_omit_fp" can now be included in MONO_DEBUG
[mono-project.git] / mcs / tests / test-async-62.cs
blobc3ea2c906d3bc0e8da83e74ca78045d1dc0e0173
1 using System.Linq;
2 using System.Collections.Generic;
3 using System.Threading.Tasks;
5 public class Model
9 public class Tests<X>
12 Task DeleteClient (Model m)
14 return null;
17 public async Task Delete<T> (IEnumerable<T> models)
18 where T : Model
20 await Task.WhenAll (models.Select ((model) => DeleteClient (model)));
24 class O
26 public static void Main ()
28 new Tests<long> ().Delete (new Model[0]).Wait ();