repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2005-06-29 Jonathan Chambers <jonathan.chambers@ansys.com>
[mcs.git]
/
errors
/
cs0136-4.cs
blob
a9897edc0f6bc2079ab6c133fadaf6cb79655c40
1
// cs0136-4.cs: A local variable named `y' cannot be declared in this scope because it would give a different meaning to `y', which is already used in a `parent or current' scope
2
// Line: 8
3
4
class
X
5
{
6
static int
y
;
7
static void
Main
() {
8
y
=
10
;
9
int
y
=
5
;
10
}
11
}