projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make primitive types smaller than int compare result compatible
[mono.git]
/
mcs
/
errors
/
cs0844-3.cs
1
// CS0844: A local variable `top' cannot be used before it is declared. Consider renaming the local variable when it hides the member `X.top'
2
// Line: 17
3
4
class Symbol
5
{
6
}
7
8
class X
9
{
10
Symbol top;
11
12
internal int Enter (Symbol key, object value)
13
{
14
if (key != null) {
15
top = key;
16
}
17
object top = null;
18
return top.Count;
19
}
20
}