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
In ilasm/tests:
[mcs.git]
/
errors
/
cs0652.cs
blob
8d42558e52b9255e987c343c479e50db952c814e
1
// cs0652.cs: Comparison to integral constant is useless; the constant is outside the range of 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
}