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
monotouch uses the real HttpWebRequest
[mcs.git]
/
tests
/
test-663.cs
blob
141ae889798b5d80f8cdd0575f8597b634916261
1
class
A
2
{
3
public static implicit operator int
(
A a
)
4
{
5
return
1
;
6
}
7
8
public static implicit operator bool
(
A a
)
9
{
10
return false
;
11
}
12
}
13
14
class
C
15
{
16
public static void
Main
()
17
{
18
switch
(
new
A
())
19
{
20
default
:
break
;
21
}
22
}
23
}