PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/IronPython_Main/Runtime/Tests/LinqDlrTests/corelinq/Source/APTCA/FunkyDelegate/User.cs

#
C# | 23 lines | 10 code | 2 blank | 11 comment | 0 complexity | 2a8ebdc72e2b0ed610cd0e7573019262 MD5 | raw file
 1using System;
 2using System.Linq.Expressions;
 3
 4public class C
 5{
 6    public static void M(int x1, int x2, int x3, int x4, int x5) { }
 7
 8    static int Main()
 9    {
10	return 0;
11//TODO: evaluate if we can get ms.scripting to trigger linq features here.
12/*        try
13        {
14            Expression<Action<int, int, int, int, int>> e = (x1, x2, x3, x4, x5) => M(x1, x2, x3, x4, x5);
15            e.Compile()(0, 0, 0, 0, 0);
16        }
17        catch (ArgumentException)
18        {
19            return 0;
20        }
21        return 1;*/
22    }
23}