[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / gtest-anontype-13.cs
blob0aa1ecbdfca9d7d541a953476e77605d2a12188c
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
5 static class Test
7 public static IEnumerable<T> Select<T> (this Array This, Func<object, T> transform)
9 foreach (var item in This) {
10 yield return transform (item);
14 public static void Main ()
16 Type type = typeof (int);
17 IEnumerable<string> properties = new[] { "x" };
19 var checkIncludeExists = from n in properties
20 let p = type.GetProperty (n)
21 where p == null
22 select n;
24 foreach (var item in checkIncludeExists) {