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-7.cs
blob
ec08b5f7815feea5c48408f52d3ea5f6cedfe261
1
// CS0652: A comparison between a constant and a variable is useless. The constant is out of the range of the variable type `char'
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
char value
=
'a'
;
12
if
(
value
>
ulong
.
MaxValue
)
13
return
;
14
}
15
}
16