projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use only one class hierarchy for task continuations
[mono.git]
/
mcs
/
tests
/
gtest-467.cs
1
using System;
2
3
struct S
4
{
5
public static int Main ()
6
{
7
S? s = null;
8
A a = s;
9
B b = (B) s;
10
return 0;
11
}
12
}
13
14
class A
15
{
16
public static implicit operator A (S x)
17
{
18
return new B ();
19
}
20
}
21
22
class B : A
23
{
24
}