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
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0253.cs
blob
ec548af8ec628fe5e26264c1f20e3578baca5f3d
1
// CS0253: Possible unintended reference comparison. Consider casting the right side of the expression to `string' to compare the values
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
(
"11"
==
a
);
11
}
12
}