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-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0030-4.cs
blob
83eaa4ec6e7a9bbf9eb840802d00b8f401c1eaca
1
// cs0030-4.cs: Cannot convert type `Position' to `Board.Stone'
2
// Line: 20
3
4
using
System
;
5
using
System
.
Collections
;
6
7
public class
Position
{
8
}
9
10
public class
Board
{
11
public enum
Stone
:
int
{
12
None
=
0
,
13
Empty
=
1
,
14
Black
=
2
,
15
White
=
3
16
}
17
18
public
Stone
Get
(
Position p
)
19
{
20
return
(
Stone
)
p
;
21
}
22
23
public static void
Main
() {
24
}
25
26
}
27
28
29
30
31
32