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
2007-03-09 Chris Toshok <toshok@ximian.com>
[mcs.git]
/
errors
/
cs0252.cs
blob
4e296420b0f125447c3d3e9cd3241c06c26077e0
1
// cs0252.cs: Possible unintended reference comparison; to get a value comparison, cast the left hand side to type `string'
2
// Line: 10
3
// Compiler options: -warn:2 -warnaserror
4
5
using
System
;
6
7
class
X
{
8
static void
Main
() {
9
object
a
=
"11"
;
10
Console
.
WriteLine
(
a
==
"11"
);
11
}
12
}