[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git] / mcs / tests / gtest-linq-26.cs
blobf4e18fea2781f9202f901910e3f5d38de01b4d7a
1 using System;
2 using System.Linq;
4 namespace Test
6 class S<T>
8 public S ()
12 public string Where (Func<C, string> cexpr)
14 return String.Empty;
18 class C
22 static class Extension
24 public static string Is (this C c)
26 return null;
30 class Program
32 public static void Main ()
34 var value = new S<int> ();
35 var e = from item in value
36 where item.Is ()
37 select item;
39 var foo = value.Where (p => p.Is ());