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
[corlib] Add a special method for XI so the linker does not always have to generate it.
[mono-project.git]
/
mcs
/
errors
/
cs0019-22.cs
blob
38f13a3d9af6fc7e9de83b5120e149a78494da33
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
}