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
2007-03-28 Chris Toshok <toshok@ximian.com>
[mono-project.git]
/
mcs
/
errors
/
cs0652-6.cs
blob
e927176091501d90c774ba73b07e4a02729255d4
1
// CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `short'
2
// Line: 12
3
// Compiler options: /warn:2 /warnaserror
4
5
using
System
;
6
7
public class
CS0652
{
8
9
public static void
Main
()
10
{
11
short value
=
5
;
12
if
(
value
>
char
.
MaxValue
)
13
return
;
14
}
15
}
16