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
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0612-5.cs
blob
909877631d465ea621d944f93114429bac45b880
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
}