projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Bump mono-extensions to fix build break (#5677)
[mono.git]
/
mcs
/
tests
/
gtest-476.cs
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
}