repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #1861 from saper/home-override
[mono-project.git]
/
mcs
/
tests
/
gtest-iter-28.cs
blob
f58b2b11c28034e18ac974e942ead53658082aac
1
using
System
;
2
using
System
.
Collections
.
Generic
;
3
4
class
A
5
{
6
public
IEnumerable
<
string
>
Test
(
B b
)
7
{
8
string
s
=
"s"
;
9
10
yield return
"a"
;
11
{
12
string
stringValue
=
"two"
;
13
14
Console
.
WriteLine
(
b
.
ToString
());
15
{
16
Action a
= () => {
17
Console
.
WriteLine
(
s
+
c
.
GetType
() +
stringValue
);
18
};
19
20
a
();
21
}
22
}
23
}
24
25
C c
=
new
C
();
26
}
27
28
class
B
29
{
30
}
31
32
class
C
33
{
34
public static void
Main
()
35
{
36
}
37
}