projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* ecore.cs (Expression.Error_ValueCannotBeConverted): Add special
[mono.git]
/
mcs
/
errors
/
cs0030-4.cs
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