repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git]
/
tests
/
test-291.cs
blob
63de7d027789848902311bfb02cd8383babecc51
1
// Compiler options: -warnaserror -warn:4
2
3
using
System
;
4
5
public class
Test
6
{
7
[
Obsolete
]
8
static void
Method
() {}
9
10
public static void
Main
()
11
{
12
#pragma warning disable 219, 612
13
int
i
=
0
;
14
Method
();
15
#pragma warning restore 612
16
#pragma warning disable
17
Method
();
18
#pragma warning restore
19
}
20
}