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
[runtime] Avoid holding the init lock while calling the cctor in mono_runtime_class_i...
[mono-project.git]
/
mcs
/
tests
/
gtest-476.cs
blob
d556a900f8d8486bac83d6bc3c04d6b1cbfd4ea6
1
using
System
;
2
3
// Obsolete attribute cased early inflation of B without IFoo being defined for it
4
5
interface
IFoo
6
{
7
}
8
9
class
Test
<
T
> :
IFoo
10
{
11
public
B
First
()
12
{
13
return new
B
();
14
}
15
16
public
IFoo
Second
()
17
{
18
return new
B
();
19
}
20
21
[
Obsolete
]
22
public struct
B
:
IFoo
23
{
24
}
25
}
26
27
class
C
28
{
29
public static void
Main
()
30
{
31
}
32
}