projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #5313 from lambdageek/corefx-sre-fixup
[mono.git]
/
mcs
/
tests
/
test-865.cs
1
class C
2
{
3
public static void Main ()
4
{
5
Create (false);
6
}
7
8
static IA Create (bool arg)
9
{
10
// Verifier issue
11
IA runner = arg ? new B2 () : (IA) new B1 ();
12
return runner;
13
}
14
}
15
16
interface IA
17
{
18
19
}
20
21
class B2 : IA
22
{
23
}
24
25
class B1 : B
26
{
27
}
28
29
class B : IA
30
{
31
}