projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5675 from mono/glib-debug-symbols
[mono.git]
/
mcs
/
tests
/
gtest-lambda-30.cs
1
using System.Linq;
2
using System;
3
4
class C
5
{
6
static object Method <T>(object[] objects)
7
{
8
return objects.Select(obj => new Func<T, object>(x => obj));
9
}
10
11
public static void Main ()
12
{
13
Method<string> (new[] { "a", "b", "c" });
14
}
15
}