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
/
cs0652.cs
blob
b555d45a01d8fa304f4b50ad596a6a958eff2279
1
// CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `byte'
2
// Line: 9
3
// Compiler options: -warnaserror -warn:2
4
5
class
X
6
{
7
void
b
()
8
{
9
byte
b
=
0
;
10
if
(
b
==
500
)
11
return
;
12
}
13
14
static void
Main
() {}
15
}