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-14 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0252.cs
blob
78721ee36482ee79f7ee3d8881aad7738142f662
1
// CS0252: Possible unintended reference comparison. Consider casting the left 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
(
a
==
"11"
);
11
}
12
}