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
Update the reference assemblies we ship in mono.
[mono-project.git]
/
mcs
/
errors
/
cs0019-3.cs
blob
9f38c13f90f77b17707f837a12cf9df41c7706db
1
// CS0019: Operator `+' cannot be applied to operands of type `Test.Zub' and `Test.Zub'
2
// Line : 11
3
using
System
;
4
5
class
Test
{
6
7
enum
Zub
:
byte
{
8
Foo
=
99
,
9
Bar
,
10
Baz
11
}
12
13
14
static void
Main
()
15
{
16
object
v
= (
Zub
.
Foo
+
Zub
.
Foo
);
17
}
18
}
19