projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Better check for automatically implemented property inside a type with an expli...
[mono.git]
/
mcs
/
tests
/
gtest-lambda-36.cs
1
using System;
2
3
class D<T>
4
{
5
public void S<U, V> (Func<U> ftu, Func<T, U, V> ftuv)
6
{
7
}
8
}
9
10
class Test
11
{
12
static D<V> Factory<V> (V v)
13
{
14
return new D<V> ();
15
}
16
17
static void Main ()
18
{
19
var danon = Factory (new { q = 5 });
20
21
danon.S (
22
() => "x",
23
(l, str) => new { str }
24
);
25
}
26
}