projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Moved ProviderCollectionTest.cs from System assembly to System.Configuration.
[mono.git]
/
mcs
/
errors
/
cs0459.cs
1
// CS0459: Cannot take the address of foreach iteration variable `c'
\r
2
// Line: 10
\r
3
// Compiler options: -unsafe
\r
4
\r
5
class C
\r
6
{
\r
7
public static unsafe void Main ()
\r
8
{
\r
9
foreach (char c in "test") {
\r
10
char* ch = &c;
\r
11
}
\r
12
}
\r
13
}
\r