repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0252.cs
blob
364ae9fed094b933ff78bc50c079cb20521132f4
1
// CS0252: Possible unintended reference comparison. Consider casting the left side expression to type `string' to get value comparison
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
}