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
[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git]
/
mcs
/
errors
/
cs0019-10.cs
blob
51d47a8903c52b1e6b01f79f8562d0ae121fdfb5
1
// CS0019: Operator `-' cannot be applied to operands of type `A' and `B'
2
// Line : 20
3
4
enum
A
5
{
6
A1
,
7
A2
8
}
9
10
enum
B
11
{
12
B1
,
13
B2
14
}
15
16
class
C
17
{
18
static void
Main
()
19
{
20
System
.
Console
.
WriteLine
(
A
.
A1
-
B
.
B1
);
21
}
22
}