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
* TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
[mono-project.git]
/
mcs
/
errors
/
cs0652-2.cs
blob
d804717ac27a9c0928e35f45e2bb3c8944028342
1
// cs0652-2.cs : Comparison to integral constant is useless; the constant is outside the range of type `byte'
2
// Line: 11
3
// Compiler options: /warn:2 /warnaserror
4
using
System
;
5
6
public class
CS0652
{
7
8
public static void
Main
()
9
{
10
byte
b
=
0
;
11
if
(
b
== -
1
)
12
Console
.
WriteLine
(
":("
);
13
else
14
Console
.
WriteLine
(
":)"
);
15
}
16
}
17