linux-packaging-mono/mcs/tests/gtest-lambda-34.cs
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

44 lines
542 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main ()
{
SomeMethod ();
}
private static bool SomeMethod ()
{
int m;
int n = 2;
bool b_const = true;
bool b = F (() => F1 (n, out m) && Ferror (m)) && b_const;
return b;
}
protected static bool F (Func<bool> rule)
{
return true;
}
private static bool F1 (int j, out int m)
{
m = 2;
return true;
}
private static bool Ferror (int i)
{
return true;
}
private static bool Fouter ()
{
return true;
}
}