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
2010-04-13 Sebastien Pouliot <sebastien@ximian.com>
[mono-project.git]
/
mcs
/
tests
/
test-624.cs
blob
47846f7c4c95b84901fd1656c30c645f9f41ee79
1
using
System
;
2
3
//
4
// The problem here is that `(Type)' is being recognized as a Property
5
// but inside a Cast expression this is invalid.
6
//
7
class
X
{
8
9
int
Type
{
10
get
{
11
return
1
;
12
}
13
}
14
15
static void
Main
()
16
{
17
Type t
= (
Type
)
null
;
18
}
19
20
}