Initial set of Ward sgen annotations (#5705)
[mono.git] / mcs / tests / gtest-lambda-34.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4
5 class Program
6 {
7         static void Main ()
8         {
9                 SomeMethod ();
10         }
11
12         private static bool SomeMethod ()
13         {
14                 int m;
15                 int n = 2;
16                 bool b_const = true;
17
18                 bool b = F (() => F1 (n, out m) && Ferror (m)) && b_const;
19                 return b;
20         }
21
22         protected static bool F (Func<bool> rule)
23         {
24                 return true;
25         }
26
27         private static bool F1 (int j, out int m)
28         {
29                 m = 2;
30
31                 return true;
32         }
33
34         private static bool Ferror (int i)
35         {
36                 return true;
37         }
38
39         private static bool Fouter ()
40         {
41                 return true;
42         }
43 }