Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / gtest-exmethod-44.cs
1 // Compiler options: -warnaserror
2
3 using System;
4 using System.Linq;
5
6 namespace UnusedFieldWarningTest2
7 {
8         class Repro
9         {
10                 int[] a = new int[] { 1 };
11                 
12                 void Foo ()
13                 {
14                         Console.Write (a.FirstOrDefault ());
15                 }
16
17                 public static void Main ()
18                 {
19                 }
20         }
21 }