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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0253.cs
blob
88882c5c454df1ca97dcc6e52a9517d2a19fbb80
1
// CS0253: Possible unintended reference comparison. Consider casting the right 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
(
"11"
==
a
);
11
}
12
}