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
2009-05-29 Steven Munroe <munroesj@us.ibm.com>
[mcs.git]
/
errors
/
cs0030-5.cs
blob
34bbea658c67fae5e5a0390758e5e4b4e5e46735
1
// CS0030: Cannot convert type `System.Enum' to `Blah.S'
2
// Line: 12
3
4
using
System
;
5
6
public class
Blah
{
7
struct
S
{}
8
enum
E { Val }
9
10
public static void
Main
()
11
{
12
S s
= (
S
)(
Enum
)
E
.
Val
;
13
}
14
}