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
[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[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