/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
Possible License(s): GPL-2.0, MPL-2.0-no-copyleft-exception, CPL-1.0, CC-BY-SA-3.0, BSD-3-Clause, ISC, AGPL-3.0, LGPL-2.1, Apache-2.0
- using System;
- using System.Linq.Expressions;
-
- public class C
- {
- public static void M(int x1, int x2, int x3, int x4, int x5) { }
-
- static int Main()
- {
- return 0;
- //TODO: evaluate if we can get ms.scripting to trigger linq features here.
- /* try
- {
- Expression<Action<int, int, int, int, int>> e = (x1, x2, x3, x4, x5) => M(x1, x2, x3, x4, x5);
- e.Compile()(0, 0, 0, 0, 0);
- }
- catch (ArgumentException)
- {
- return 0;
- }
- return 1;*/
- }
- }