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-06-14 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0266.cs
blob
ce4cce70e8ae1e27e3a24e620a1267815fc3c30f
1
// cs0266.cs: Cannot implicitly convert type `Foo.MyEnumType' to `uint'. An explicit conversion exists (are you missing a cast?)
2
// Line: 11
3
4
public class
Foo
{
5
enum
MyEnumType { MyValue }
6
7
public void
Bar
()
8
{
9
uint
my_uint_var
=
0
;
10
switch
(
my_uint_var
) {
11
case
MyEnumType
.
MyValue
:
12
break
;
13
default
:
14
break
;
15
}
16
}
17
18
static void
Main
() {}
19
}
20
21
22
23
24
25