[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / gtest-linq-24.cs
blob8c3b5d4ac07355ebe6d698b33e892fe43b01c079
1 using System;
2 using System.Linq;
4 class A
6 public int Value;
9 class C
11 A[] Prop {
12 get {
13 return new A [1] { new A () };
17 void Test ()
19 int i = 9;
20 var c = new C ();
21 var r = Prop.Select (l => l.Value).ToArray ();
24 public static int Main ()
26 new C().Test ();
27 return 0;