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
[System.Data] Try to fix random DataViewTest.DefaultColumnNameAddListChangedTest...
[mono-project.git]
/
mcs
/
errors
/
cs0030-5.cs
blob
c2487b0af69577e0c56457fb1a3e14b82630bb9a
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
}