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-01-03 Zoltan Varga <vargaz@gmail.com>
[mcs.git]
/
errors
/
cs0019-22.cs
blob
2645ce7f1a24bfc0370d1131ee1f6cb3d60f8c73
1
// CS0019: Operator `-' cannot be applied to operands of type `AA' and `long'
2
// Line: 11
3
4
enum
AA
:
short
{ a, b = 200 }
5
6
public class
C
7
{
8
public static void
Main
()
9
{
10
const long
ul
=
1
;
11
AA b
=
AA
.
a
-
ul
;
12
}
13
}