projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ChangeLog: Updated ChangeLog
[mono.git]
/
mcs
/
errors
/
cs0202.cs
1
// cs0202.cs: The call to GetEnumerator must return a class or a struct, not 'Foo.P*'
2
// Line: 18
3
// Compiler options: -unsafe
4
5
public unsafe class Foo
6
{
7
public class P
8
{
9
public P* GetEnumerator ()
10
{
11
return null;
12
}
13
}
14
15
public static void Main ()
16
{
17
P o = new P ();
18
foreach (P p in o)
19
{
20
}
21
}
22
}