projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] Make Marshal.BufferToBSTR(Array, int) non-public again (#5670)
[mono.git]
/
mcs
/
tests
/
test-663.cs
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
}