projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial set of Ward sgen annotations (#5705)
[mono.git]
/
mcs
/
errors
/
cs0612-5.cs
1
// CS0612: `O2' is obsolete
2
// Line: 23
3
// Compiler options: -warnaserror
4
5
using System;
6
7
[Obsolete]
8
interface O2
9
{
10
}
11
12
#pragma warning disable 612
13
class A
14
{
15
public virtual void Foo<T> () where T : O2
16
{
17
}
18
}
19
#pragma warning restore 612
20
21
class B : A
22
{
23
public override void Foo<U> ()
24
{
25
}
26
}