projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* expression.cs (Invocation.IsApplicable): Reorganize slightly to
[mono.git]
/
mcs
/
tests
/
test-partial-12.cs
1
// Compiler options: -langversion:default
\r
2
\r
3
using System;
\r
4
\r
5
namespace Test1
\r
6
{
\r
7
public partial class Foo
\r
8
{
\r
9
internal static System.Collections.IEnumerable E ()
\r
10
{
\r
11
yield return "a";
\r
12
}
\r
13
}
\r
14
}
\r
15
\r
16
class X
\r
17
{
\r
18
static int Main ()
\r
19
{
\r
20
foreach (string s in Test1.Foo.E())
\r
21
{
\r
22
Console.WriteLine (s);
\r
23
if (s != "a")
\r
24
return 1;
\r
25
\r
26
return 0;
\r
27
}
\r
28
return 2;
\r
29
}
\r
30
}
\r